Package com.adobe.granite.auth.oauth
Enum ExtendedTokenValidator.ValidationResult
- java.lang.Object
-
- java.lang.Enum<ExtendedTokenValidator.ValidationResult>
-
- com.adobe.granite.auth.oauth.ExtendedTokenValidator.ValidationResult
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExtendedTokenValidator.ValidationResult>
- Enclosing interface:
- ExtendedTokenValidator
public static enum ExtendedTokenValidator.ValidationResult extends java.lang.Enum<ExtendedTokenValidator.ValidationResult>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXPIRED
FUTURE
NOT_EXPECTED_ENVIRONMENT
NOT_EXPECTED_FORMAT
NOT_EXPECTED_TYPE
NOT_RECOGNIZED
PUBLIC_KEY_NOT_AVAILABLE
SIGNATURE_FAIL
VALID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExtendedTokenValidator.ValidationResult
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExtendedTokenValidator.ValidationResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_EXPECTED_FORMAT
public static final ExtendedTokenValidator.ValidationResult NOT_EXPECTED_FORMAT
-
NOT_RECOGNIZED
public static final ExtendedTokenValidator.ValidationResult NOT_RECOGNIZED
-
PUBLIC_KEY_NOT_AVAILABLE
public static final ExtendedTokenValidator.ValidationResult PUBLIC_KEY_NOT_AVAILABLE
-
SIGNATURE_FAIL
public static final ExtendedTokenValidator.ValidationResult SIGNATURE_FAIL
-
NOT_EXPECTED_TYPE
public static final ExtendedTokenValidator.ValidationResult NOT_EXPECTED_TYPE
-
EXPIRED
public static final ExtendedTokenValidator.ValidationResult EXPIRED
-
FUTURE
public static final ExtendedTokenValidator.ValidationResult FUTURE
-
NOT_EXPECTED_ENVIRONMENT
public static final ExtendedTokenValidator.ValidationResult NOT_EXPECTED_ENVIRONMENT
-
VALID
public static final ExtendedTokenValidator.ValidationResult VALID
-
-
Method Detail
-
values
public static ExtendedTokenValidator.ValidationResult[] 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 (ExtendedTokenValidator.ValidationResult c : ExtendedTokenValidator.ValidationResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExtendedTokenValidator.ValidationResult 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
-
-