Enum Class OAuthServerException.Reason
- All Implemented Interfaces:
Serializable, Comparable<OAuthServerException.Reason>, Constable
- Enclosing class:
OAuthServerException
Fixed classifications; a later release may add values. Callers must include a default branch rather than
switching exhaustively. Different reasons may deliberately share the same safe wire error.
- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe OAuth server authorization was denied.The OAuth server client metadata is unavailable.The OAuth server transition committed but its result was not admitted.The OAuth server commit outcome is unknown.The OAuth server configuration is invalid.The OAuth server interaction has expired.The OAuth server interaction is no longer pending.The OAuth server client authentication failed.The OAuth server grant is invalid.The OAuth server resource is not permitted.The OAuth server scope is not permitted.The OAuth server request is malformed.The OAuth server request method is not supported.The OAuth server PKCE check failed.The OAuth server request requires PKCE.The OAuth server redirect is not trusted.The OAuth server refresh credential was reused.The OAuth server is unavailable.The OAuth server response could not be signed.The OAuth server store state is invalid.The OAuth server store is unavailable.The OAuth server token is not active.The OAuth server client is not authorized.The OAuth server client is not recognized.The OAuth server grant type is not supported.The OAuth server response type is not supported. -
Method Summary
Modifier and TypeMethodDescriptionstatic OAuthServerException.ReasonReturns the enum constant of this class with the specified name.static OAuthServerException.Reason[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
MALFORMED_REQUEST
The OAuth server request is malformed. -
METHOD_NOT_ALLOWED
The OAuth server request method is not supported. -
UNSUPPORTED_GRANT_TYPE
The OAuth server grant type is not supported. -
UNSUPPORTED_RESPONSE_TYPE
The OAuth server response type is not supported. -
UNKNOWN_CLIENT
The OAuth server client is not recognized. -
INVALID_CLIENT
The OAuth server client authentication failed. -
UNAUTHORIZED_CLIENT
The OAuth server client is not authorized. -
REDIRECT_NOT_TRUSTED
The OAuth server redirect is not trusted. -
PKCE_REQUIRED
The OAuth server request requires PKCE. -
PKCE_MISMATCH
The OAuth server PKCE check failed. -
INVALID_RESOURCE
The OAuth server resource is not permitted. -
INVALID_SCOPE
The OAuth server scope is not permitted. -
INTERACTION_EXPIRED
The OAuth server interaction has expired. -
INTERACTION_REUSED
The OAuth server interaction is no longer pending. -
INVALID_GRANT
The OAuth server grant is invalid. -
REFRESH_REUSE
The OAuth server refresh credential was reused. -
TOKEN_REVOKED
The OAuth server token is not active. -
ACCESS_DENIED
The OAuth server authorization was denied. -
STORE_UNAVAILABLE
The OAuth server store is unavailable. -
STORE_CORRUPT
The OAuth server store state is invalid. -
COMMIT_OUTCOME_UNKNOWN
The OAuth server commit outcome is unknown. -
COMMIT_CONFIRMED_NOT_ADMITTED
The OAuth server transition committed but its result was not admitted. -
CLIENT_METADATA_UNAVAILABLE
The OAuth server client metadata is unavailable. -
CONFIGURATION_INVALID
The OAuth server configuration is invalid. -
SIGNING_FAILED
The OAuth server response could not be signed. -
SERVICE_UNAVAILABLE
The OAuth server is unavailable. Generic dependency/budget failure does not establish transience.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-