Uses of Class
org.forgerock.http.oauth2.OAuth2Error
Package
Description
This package provides APIs for OAuth 2.0 services implementations.
OAuth 2.0 Client filter implementation.
-
Uses of OAuth2Error in org.forgerock.http.oauth2
Modifier and TypeMethodDescriptionstatic OAuth2Error
OAuth2Error.bestEffortResourceServerError
(Status 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.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
Parses the providedtoString()
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 TypeMethodDescriptionstatic OAuth2Error
OAuth2Error.bestEffortResourceServerError
(Status 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. -
Uses of OAuth2Error in org.forgerock.openig.filter.oauth2.client
Modifier and TypeMethodDescriptionOAuth2BearerWWWAuthenticateHeader.getOAuth2Error()
Returns the OAuth 2.0 error represented by this header.OAuth2ErrorException.getOAuth2Error()
Returns the OAuth 2.0 error represented by this exception.ModifierConstructorDescriptionConstructs a new header with the provided error.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.