Uses of Class
org.forgerock.http.oauth2.OAuth2Error
Packages that use OAuth2Error
Package
Description
This package provides APIs for OAuth 2.0 services implementations.
-
Uses of OAuth2Error in org.forgerock.http.oauth2
Methods in org.forgerock.http.oauth2 that return OAuth2ErrorModifier and TypeMethodDescriptionstatic OAuth2ErrorOAuth2Error.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 OAuth2ErrorOAuth2Error.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 OAuth2ErrorOAuth2Error.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 OAuth2ErrorOAuth2Error.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 OAuth2ErrorParses the providedtoString()representation as an OAuth 2.0 error.static OAuth2ErrorOAuth2Error.valueOfForm(Form form) Parses the Form representation of an authorization call-back error as an OAuth 2.0 error.static OAuth2ErrorOAuth2Error.valueOfJsonContent(Map<String, Object> json) Parses the JSON representation of an access token error response as an OAuth 2.0 error.static OAuth2ErrorOAuth2Error.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 OAuth2ErrorModifier and TypeMethodDescriptionstatic OAuth2ErrorOAuth2Error.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.