Enum Class AuthorizationErrorCode
java.lang.Object
java.lang.Enum<AuthorizationErrorCode>
io.micronaut.security.oauth2.endpoint.authorization.response.AuthorizationErrorCode
- All Implemented Interfaces:
ErrorCode
,Serializable
,Comparable<AuthorizationErrorCode>
,Constable
Error codes for an Authentication Error Response message returned from the OP's Authorization Endpoint in response to the Authorization Request message sent by the RP.
- Since:
- 2.0.0.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static AuthorizationErrorCode
Returns the enum constant of this class with the specified name.static AuthorizationErrorCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INTERACTION_REQUIRED
-
LOGIN_REQUIRED
-
ACCOUNT_SELECTION_REQUIRED
-
CONSENT_REQUIRED
-
INVALID_REQUEST_URI
-
INVALID_REQUEST_OBJECT
-
REQUEST_NOT_SUPPORTED
-
REQUEST_URI_NOT_SUPPORTED
-
REGISTRATION_NOT_SUPPORTED
-
INVALID_REQUEST
-
UNAUTHORIZED_CLIENT
-
ACCESS_DENIED
-
UNSUPPORTED_RESPONSE_TYPE
-
INVALID_SCOPE
-
SERVER_ERROR
-
TEMPORARILY_UNAVAILABLE
-
UNAUTHORIZED_SCOPE_ERROR
-
USER_CANCELLED_AUTHORIZE
-
-
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
-
getErrorCode
- Specified by:
getErrorCode
in interfaceErrorCode
- Returns:
- A Single ASCII error code
-
getErrorCodeDescription
- Specified by:
getErrorCodeDescription
in interfaceErrorCode
- Returns:
- Error code description
-
toString
- Overrides:
toString
in classEnum<AuthorizationErrorCode>
- Returns:
- An errorCode code.
-