Enum AuthorizationError
- java.lang.Object
-
- java.lang.Enum<AuthorizationError>
-
- io.micronaut.security.oauth2.endpoint.authorization.response.AuthorizationError
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AuthorizationError>
public enum AuthorizationError extends java.lang.Enum<AuthorizationError>
OAuth 2.0 and Open ID authentication error response codes.- See Also:
- ErrorCode Response, Authentication Error Response
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
static AuthorizationError
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AuthorizationError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID_REQUEST
public static final AuthorizationError INVALID_REQUEST
-
UNAUTHORIZED_CLIENT
public static final AuthorizationError UNAUTHORIZED_CLIENT
-
ACCESS_DENIED
public static final AuthorizationError ACCESS_DENIED
-
UNSUPPORTED_RESPONSE_TYPE
public static final AuthorizationError UNSUPPORTED_RESPONSE_TYPE
-
INVALID_SCOPE
public static final AuthorizationError INVALID_SCOPE
-
SERVER_ERROR
public static final AuthorizationError SERVER_ERROR
-
TEMPORARILY_UNAVAILABLE
public static final AuthorizationError TEMPORARILY_UNAVAILABLE
-
INTERACTION_REQUIRED
public static final AuthorizationError INTERACTION_REQUIRED
-
LOGIN_REQUIRED
public static final AuthorizationError LOGIN_REQUIRED
-
ACCOUNT_SELECTION_REQUIRED
public static final AuthorizationError ACCOUNT_SELECTION_REQUIRED
-
CONSENT_REQUIRED
public static final AuthorizationError CONSENT_REQUIRED
-
INVALID_REQUEST_URI
public static final AuthorizationError INVALID_REQUEST_URI
-
REQUEST_NOT_SUPPORTED
public static final AuthorizationError REQUEST_NOT_SUPPORTED
-
REQUEST_URI_NOT_SUPPORTED
public static final AuthorizationError REQUEST_URI_NOT_SUPPORTED
-
REDIRECT_URI_MISMATCH
public static final AuthorizationError REDIRECT_URI_MISMATCH
-
REGISTRATION_NOT_SUPPORTED
public static final AuthorizationError REGISTRATION_NOT_SUPPORTED
-
-
Method Detail
-
values
public static AuthorizationError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AuthorizationError c : AuthorizationError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthorizationError valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<AuthorizationError>
- Returns:
- An errorCode code.
-
-