Package | Description |
---|---|
org.forgerock.openig.filter.oauth2.client |
OAuth 2.0 Client filter implementation.
|
Modifier and Type | Method and Description |
---|---|
static OAuth2Error |
OAuth2Error.bestEffortResourceServerError(int status,
OAuth2Error incomplete)
Returns an OAuth 2.0 resource server error whose values are determined on
a best-effort basis from the provided incomplete error and HTTP status
code.
|
OAuth2Error |
OAuth2ErrorException.getOAuth2Error()
Returns the OAuth 2.0 error represented by this exception.
|
OAuth2Error |
OAuth2BearerWWWAuthenticateHeader.getOAuth2Error()
Returns the OAuth 2.0 error represented by this header.
|
static OAuth2Error |
OAuth2Error.newAuthorizationServerError(String error,
String errorDescription)
Returns an OAuth 2.0 error suitable for inclusion in authorization
call-back responses and access token and refresh token responses.
|
static OAuth2Error |
OAuth2Error.newAuthorizationServerError(String error,
String errorDescription,
String errorUri)
Returns an OAuth 2.0 error suitable for inclusion in authorization
call-back responses and access token and refresh token responses.
|
static OAuth2Error |
OAuth2Error.newResourceServerError(String realm,
List<String> scope,
String error,
String errorDescription,
String errorUri)
Returns an OAuth 2.0 error suitable for inclusion in resource server
WWW-Authenticate response headers.
|
static OAuth2Error |
OAuth2Error.valueOf(String s)
Parses the provided
toString() representation as an OAuth 2.0
error. |
static OAuth2Error |
OAuth2Error.valueOfForm(Form form)
Parses the Form representation of an authorization call-back error as an
OAuth 2.0 error.
|
static OAuth2Error |
OAuth2Error.valueOfJsonContent(Map<String,Object> json)
Parses the JSON representation of an access token error response as an
OAuth 2.0 error.
|
static OAuth2Error |
OAuth2Error.valueOfWWWAuthenticateHeader(String s)
Parses the provided WWW-Authenticate header content as an OAuth 2.0
error.
|
Modifier and Type | Method and Description |
---|---|
static OAuth2Error |
OAuth2Error.bestEffortResourceServerError(int status,
OAuth2Error incomplete)
Returns an OAuth 2.0 resource server error whose values are determined on
a best-effort basis from the provided incomplete error and HTTP status
code.
|
Constructor and Description |
---|
OAuth2ErrorException(OAuth2Error error)
Creates a new exception with the provided OAuth 2.0 error.
|
OAuth2ErrorException(OAuth2Error error,
String message)
Creates a new exception with the provided OAuth 2.0 error.
|
OAuth2ErrorException(OAuth2Error error,
String message,
Throwable cause)
Creates a new exception with the provided OAuth 2.0 error.
|
OAuth2ErrorException(OAuth2Error error,
Throwable cause)
Creates a new exception with the provided OAuth 2.0 error.
|
Copyright © 2014 ForgeRock AS. All rights reserved.