Package | Description |
---|---|
org.forgerock.http.oauth2 |
This package provides APIs for OAuth 2.0 services implementations.
|
org.forgerock.http.protocol |
Models and manages elements of the Hypertext Transfer Protocol.
|
org.forgerock.http.util |
Miscellaneous utility classes.
|
org.forgerock.oauth.clients.oauth2 |
OAuth 2.0 ForgeRock Client Implementation.
|
org.forgerock.oauth.clients.oidc |
OpenID Connect ForgeRock Client Implementation.
|
Modifier and Type | Method and Description |
---|---|
Form |
OAuth2Error.toForm()
Returns the form representation of this error suitable for inclusion in
an authorization call-back query.
|
Modifier and Type | Method and Description |
---|---|
static OAuth2Error |
OAuth2Error.valueOfForm(Form form)
Parses the Form representation of an authorization call-back error as an
OAuth 2.0 error.
|
Modifier and Type | Method and Description |
---|---|
Form |
Form.fromFormString(String s)
Parses a form URL-encoded string containing form parameters and stores them in
this object.
|
Form |
Form.fromQueryString(String s)
Parses a URL-encoded query string containing form parameters and stores them in
this object.
|
Form |
Form.fromRequestEntity(Request request)
Parses the URL-encoded form entity of a request and stores them in this
object.
|
Form |
Form.fromRequestQuery(Request request)
Parses the query parameters of a request and stores them in this object.
|
Form |
Form.fromString(String s)
Deprecated.
use
Form.fromFormString(String) instead. |
Form |
Request.getForm()
Returns a copy of the query parameters and
application/x-www-form-urlencoded entity decoded as a form. |
Modifier and Type | Method and Description |
---|---|
static URI |
Uris.appendQuery(URI uri,
Form query)
Returns a new URI with the given query parameters appended to the original
ones, if any.
|
static URI |
Uris.withQuery(URI uri,
Form query)
Returns a new URI having the provided query parameters.
|
Modifier and Type | Method and Description |
---|---|
protected void |
OAuth2Client.addClientIdAndSecret(Request request,
Form form)
Adds the client id and client secret to a request
based on the determined type of authentication scheme.
|
Modifier and Type | Method and Description |
---|---|
protected Form |
OpenIDConnectClient.buildQuery(String nonce)
Creates the query that will be passed to the request.
|
Copyright © 2010-2018, ForgeRock All Rights Reserved.