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>
- Enclosing class:
- CredentialSingleParseResponse
public static enum CredentialSingleParseResponse.Action extends Enum<CredentialSingleParseResponse.Action>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_REQUEST
The credential request is invalid.FORBIDDEN
The feature of Verifiable Credentials is not enabled in the service configuration.INTERNAL_SERVER_ERROR
An error occurred on Authlete side.OK
The credential request is valid.UNAUTHORIZED
The credential request does not contain the access token or the access token is invalid.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CredentialSingleParseResponse.Action
valueOf(String name)
Returns 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 Detail
-
OK
public static final CredentialSingleParseResponse.Action OK
The credential request is valid.
-
BAD_REQUEST
public static final CredentialSingleParseResponse.Action BAD_REQUEST
The credential request is invalid.
-
UNAUTHORIZED
public static final CredentialSingleParseResponse.Action UNAUTHORIZED
The credential request does not contain the access token or the access token is invalid.
-
FORBIDDEN
public static final CredentialSingleParseResponse.Action FORBIDDEN
The feature of Verifiable Credentials is not enabled in the service configuration.
-
INTERNAL_SERVER_ERROR
public static final CredentialSingleParseResponse.Action INTERNAL_SERVER_ERROR
An error occurred on Authlete side.
-
-
Method Detail
-
values
public static CredentialSingleParseResponse.Action[] 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 (CredentialSingleParseResponse.Action c : CredentialSingleParseResponse.Action.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CredentialSingleParseResponse.Action 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
-
-