Package com.authlete.common.dto
Enum CredentialSingleParseResponse.Action
java.lang.Object
java.lang.Enum<CredentialSingleParseResponse.Action>
com.authlete.common.dto.CredentialSingleParseResponse.Action
- All Implemented Interfaces:
Serializable,Comparable<CredentialSingleParseResponse.Action>,java.lang.constant.Constable
- Enclosing class:
CredentialSingleParseResponse
public static enum CredentialSingleParseResponse.Action
extends Enum<CredentialSingleParseResponse.Action>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe credential request is invalid.The feature of Verifiable Credentials is not enabled in the service configuration.An error occurred on Authlete side.The credential request is valid.The credential request does not contain the access token or the access token is invalid. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static CredentialSingleParseResponse.Action[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OK
The credential request is valid. -
BAD_REQUEST
The credential request is invalid. -
UNAUTHORIZED
The credential request does not contain the access token or the access token is invalid. -
FORBIDDEN
The feature of Verifiable Credentials is not enabled in the service configuration. -
INTERNAL_SERVER_ERROR
An error occurred on Authlete side.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-