Package | Description |
---|---|
org.forgerock.oauth2.core.exceptions | |
org.forgerock.oauth2.restlet | |
org.forgerock.openam.uma | |
org.forgerock.openidconnect | |
org.forgerock.openidconnect.exceptions |
Modifier and Type | Class and Description |
---|---|
class |
AccessDeniedException
Thrown when the resource owner authentication fails.
|
class |
AuthorizationDeclinedException
An exception representing a declined authorization request from the user in a device code flow.
|
class |
AuthorizationPendingException
An exception representing a pending authorization request in a device code flow.
|
class |
BadRequestException
Thrown when the request is malformed.
|
class |
CsrfException
Thrown when a CSRF attack is detected.
|
class |
DuplicateRequestParameterException
Thrown when the duplicate request parameter is found.
|
class |
ExpiredTokenException
Thrown when an expired access token or refresh token is used.
|
class |
InsufficientScopeException
An exception for when the resource requested requires a higher scope than the token supplied provides.
|
class |
InteractionRequiredException
Thrown when the OpenID connect prompt parameter enforces that the resource owner is not asked to authenticate, but
the resource owner does not have a current authenticated session.
|
class |
InvalidClientAuthZHeaderException
Thrown when client authentication fails.
|
class |
InvalidClientException
Thrown when either the request does not contain the client's id or the client fails to be authenticated.
|
class |
InvalidCodeException
Thrown when an expired authorization code is used to request an access token.
|
class |
InvalidGrantException
Thrown when the requested grant type is not supported/
|
class |
InvalidRequestException
Thrown when the request is missing any required parameters or is otherwise malformed.
|
class |
InvalidScopeException
Thrown when the requested scope is invalid, unknown, or malformed.
|
class |
InvalidTokenException
Thrown when a access token is used which does not exist on the OAuth2 provider.
|
class |
LoginRequiredException
Thrown when the authentication of the resource owner fails.
|
class |
NotFoundException
Thrown when a user cannot be found.
|
class |
OAuth2ProviderNotFoundException
Thrown when the oauth2 provider is not found.
|
class |
RedirectUriMismatchException
Thrown when the redirect uri on the request does not match the redirect uri registered for the client.
|
class |
RelativeRedirectUriException
Thrown when the redirect uri on the request is not an absolute uri.
|
class |
ResourceOwnerAuthenticationRequired
Thrown when the resource owner needs to be authenticated before the authorization can be granted to a OAuth2 client.
|
class |
ResourceOwnerConsentRequiredException
Thrown when the OpenID Connect prompt parameter enforces that the resource owner is not asked for consent, but the
resource owner's consent has not been previously stored.
|
class |
ServerException
Thrown when any internal server error occurs.
|
class |
UnauthorizedClientException
Thrown when client authorization fails.
|
class |
UnsupportedGrantTypeException
Thrown when the requested grant type is not supported by the OAuth2 provider.
|
class |
UnsupportedResponseTypeException
Thrown when the requested response type is not supported by either the client or the OAuth2 provider.
|
Constructor and Description |
---|
ErrorResource(ExceptionHandler exceptionHandler,
OAuth2Exception e)
Constructs a new ErrorResource.
|
Modifier and Type | Class and Description |
---|---|
class |
NeedInfoException
An UMA exception for when Clients need to provide more information to gain
authorization to a resource.
|
class |
UmaException
Base exception for all UMA exceptions.
|
Modifier and Type | Method and Description |
---|---|
org.forgerock.json.JsonValue |
OpenIDConnectProviderConfiguration.getConfiguration(OAuth2Request request)
Gets the OpenId configuration for the OpenId Connect provider.
|
org.forgerock.json.JsonValue |
UserInfoService.getUserInfo(OAuth2Request request)
Gets the user's information for the specified access token.
|
Modifier and Type | Class and Description |
---|---|
class |
InvalidClientMetadata
Thrown when a client's registration details are invalid.
|
class |
InvalidPostLogoutRedirectUri
Thrown when a client's post logout redirect uri is invalid.
|
class |
InvalidRedirectUri
Thrown when a client's redirect uri are invalid.
|
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.