public static class OAuth2Constants.Error extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ACCESS_DENIED
The resource owner or authorization server denied the request.
|
static String |
BAD_REQUEST |
static String |
CONSENT_REQUIRED
OpenID Connect Consent error
|
static String |
ERROR
A single error code
|
static String |
ERROR_DESCRIPTION
OPTIONAL.
|
static String |
ERROR_URI
OPTIONAL.
|
static String |
EXPIRED_TOKEN
The access token provided has expired.
|
static String |
INSUFFICIENT_SCOPE
The request requires higher privileges than provided by the access
token.
|
static String |
INTERACTION_REQUIRED
OpenID Connect interaction required error
|
static String |
INVALID_CLIENT
The client identifier provided is invalid, the client failed to
authenticate, the client did not include its credentials, provided
multiple client credentials, or used unsupported credentials type.
|
static String |
INVALID_CLIENT_METADATA
The request contains invalid client metadata.
|
static String |
INVALID_CODE
The code provided is invalid.
|
static String |
INVALID_GRANT
The provided access grant is invalid, expired, or revoked (e.g.
|
static String |
INVALID_REQUEST
The request is missing a required parameter, includes an invalid
parameter value, or is otherwise malformed.
|
static String |
INVALID_SCOPE
The requested scope is invalid, unknown, or malformed.
|
static String |
INVALID_TOKEN
The access token provided is expired, revoked, malformed, or invalid
for other reasons.
|
static String |
LOGIN_REQUIRED
OpenID Connect login required error
|
static String |
METHOD_NOT_ALLOWED
The request is using the incorrect method.
|
static String |
NOT_FOUND
The request is for data which does not exist.
|
static String |
REDIRECT_TEMPORARY
OAuth 2
|
static String |
REDIRECT_URI_MISMATCH
The redirection URI provided does not match a pre-registered value.
|
static String |
SERVER_ERROR
The authorization server encountered an unexpected condition which
prevented it from fulfilling the request.
|
static String |
TEMPORARILY_UNAVAILABLE
The authorization server is currently unable to handle the request
due to a temporary overloading or maintenance of the server.
|
static String |
UNAUTHORIZED_CLIENT
The client is not authorized to request an access token using this
method.
|
static String |
UNKNOWN_ERROR
Handles all errors that don't stem from invalid requests -- e.g.,
perhaps errors resulting from databases that are down or logic errors
in code.
|
static String |
UNSUPPORTED_AUTH_TYPE
The requested authentication type is not supported by the
authorization server.
|
static String |
UNSUPPORTED_GRANT_TYPE
The provided access grant is invalid, expired, or revoked (e.g.
|
static String |
UNSUPPORTED_RESPONSE_TYPE
The authorization server does not support obtaining an access token
using this method.
|
Constructor and Description |
---|
Error() |
public static final String ERROR
public static final String ERROR_DESCRIPTION
public static final String ERROR_URI
public static final String INVALID_REQUEST
public static final String METHOD_NOT_ALLOWED
public static final String UNAUTHORIZED_CLIENT
public static final String ACCESS_DENIED
public static final String UNSUPPORTED_RESPONSE_TYPE
public static final String INVALID_SCOPE
public static final String SERVER_ERROR
public static final String TEMPORARILY_UNAVAILABLE
public static final String INVALID_TOKEN
public static final String INSUFFICIENT_SCOPE
public static final String EXPIRED_TOKEN
public static final String INVALID_CLIENT
public static final String UNKNOWN_ERROR
public static final String INVALID_GRANT
public static final String UNSUPPORTED_GRANT_TYPE
public static final String INVALID_CODE
public static final String REDIRECT_URI_MISMATCH
public static final String UNSUPPORTED_AUTH_TYPE
public static final String NOT_FOUND
public static final String INVALID_CLIENT_METADATA
public static final String BAD_REQUEST
public static final String CONSENT_REQUIRED
public static final String LOGIN_REQUIRED
public static final String INTERACTION_REQUIRED
public static final String REDIRECT_TEMPORARY
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.