Package org.wildfly.security.http.oidc
Enum AuthenticationError.Reason
- java.lang.Object
-
- java.lang.Enum<AuthenticationError.Reason>
-
- org.wildfly.security.http.oidc.AuthenticationError.Reason
-
- All Implemented Interfaces:
Serializable
,Comparable<AuthenticationError.Reason>
- Enclosing class:
- AuthenticationError
public static enum AuthenticationError.Reason extends Enum<AuthenticationError.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
-
Constructor Summary
Constructors Modifier Constructor Description private
Reason()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthenticationError.Reason
valueOf(String name)
Returns the enum constant of this type with the specified name.static AuthenticationError.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 AuthenticationError.Reason NO_BEARER_TOKEN
-
NO_REDIRECT_URI
public static final AuthenticationError.Reason NO_REDIRECT_URI
-
INVALID_STATE_COOKIE
public static final AuthenticationError.Reason INVALID_STATE_COOKIE
-
OAUTH_ERROR
public static final AuthenticationError.Reason OAUTH_ERROR
-
SSL_REQUIRED
public static final AuthenticationError.Reason SSL_REQUIRED
-
CODE_TO_TOKEN_FAILURE
public static final AuthenticationError.Reason CODE_TO_TOKEN_FAILURE
-
INVALID_TOKEN
public static final AuthenticationError.Reason INVALID_TOKEN
-
STALE_TOKEN
public static final AuthenticationError.Reason STALE_TOKEN
-
NO_AUTHORIZATION_HEADER
public static final AuthenticationError.Reason NO_AUTHORIZATION_HEADER
-
NO_QUERY_PARAMETER_ACCESS_TOKEN
public static final AuthenticationError.Reason NO_QUERY_PARAMETER_ACCESS_TOKEN
-
-
Method Detail
-
values
public static AuthenticationError.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 (AuthenticationError.Reason c : AuthenticationError.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 AuthenticationError.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
-
-