Uses of Class
org.forgerock.http.oauth2.OAuth2Error
-
Packages that use OAuth2Error Package Description org.forgerock.http.oauth2 This package provides APIs for OAuth 2.0 services implementations.org.forgerock.openig.filter.oauth2.client OAuth 2.0 Client filter implementation. -
-
Uses of OAuth2Error in org.forgerock.http.oauth2
Methods in org.forgerock.http.oauth2 that return OAuth2Error Modifier and Type Method Description static 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
OAuth2Error. valueOf(String s)
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.Methods in org.forgerock.http.oauth2 with parameters of type OAuth2Error Modifier and Type Method Description static 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
Methods in org.forgerock.openig.filter.oauth2.client that return OAuth2Error Modifier and Type Method Description OAuth2Error
OAuth2BearerWWWAuthenticateHeader. getOAuth2Error()
Returns the OAuth 2.0 error represented by this header.OAuth2Error
OAuth2ErrorException. getOAuth2Error()
Returns the OAuth 2.0 error represented by this exception.Constructors in org.forgerock.openig.filter.oauth2.client with parameters of type OAuth2Error Constructor Description OAuth2BearerWWWAuthenticateHeader(OAuth2Error error)
Constructs 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.
-