Package org.keycloak.adapters
Enum OIDCAuthenticationError.Reason
- java.lang.Object
-
- java.lang.Enum<OIDCAuthenticationError.Reason>
-
- org.keycloak.adapters.OIDCAuthenticationError.Reason
-
- All Implemented Interfaces:
Serializable
,Comparable<OIDCAuthenticationError.Reason>
- Enclosing class:
- OIDCAuthenticationError
public static enum OIDCAuthenticationError.Reason extends Enum<OIDCAuthenticationError.Reason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CODE_TO_TOKEN_FAILURE
INVALID_STATE_COOKIE
INVALID_TOKEN
NO_AUTHORIZATION_HEADER
NO_BEARER_TOKEN
NO_QUERY_PARAMETER_ACCESS_TOKEN
NO_REDIRECT_URI
OAUTH_ERROR
SSL_REQUIRED
STALE_TOKEN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OIDCAuthenticationError.Reason
valueOf(String name)
Returns the enum constant of this type with the specified name.static OIDCAuthenticationError.Reason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_BEARER_TOKEN
public static final OIDCAuthenticationError.Reason NO_BEARER_TOKEN
-
NO_REDIRECT_URI
public static final OIDCAuthenticationError.Reason NO_REDIRECT_URI
-
INVALID_STATE_COOKIE
public static final OIDCAuthenticationError.Reason INVALID_STATE_COOKIE
-
OAUTH_ERROR
public static final OIDCAuthenticationError.Reason OAUTH_ERROR
-
SSL_REQUIRED
public static final OIDCAuthenticationError.Reason SSL_REQUIRED
-
CODE_TO_TOKEN_FAILURE
public static final OIDCAuthenticationError.Reason CODE_TO_TOKEN_FAILURE
-
INVALID_TOKEN
public static final OIDCAuthenticationError.Reason INVALID_TOKEN
-
STALE_TOKEN
public static final OIDCAuthenticationError.Reason STALE_TOKEN
-
NO_AUTHORIZATION_HEADER
public static final OIDCAuthenticationError.Reason NO_AUTHORIZATION_HEADER
-
NO_QUERY_PARAMETER_ACCESS_TOKEN
public static final OIDCAuthenticationError.Reason NO_QUERY_PARAMETER_ACCESS_TOKEN
-
-
Method Detail
-
values
public static OIDCAuthenticationError.Reason[] 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 (OIDCAuthenticationError.Reason c : OIDCAuthenticationError.Reason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OIDCAuthenticationError.Reason valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-