Package com.authlete.common.dto
Enum CredentialDeferredParseResponse.Action
- java.lang.Object
-
- java.lang.Enum<CredentialDeferredParseResponse.Action>
-
- com.authlete.common.dto.CredentialDeferredParseResponse.Action
-
- All Implemented Interfaces:
Serializable
,Comparable<CredentialDeferredParseResponse.Action>
- Enclosing class:
- CredentialDeferredParseResponse
public static enum CredentialDeferredParseResponse.Action extends Enum<CredentialDeferredParseResponse.Action>
The next action that the deferred credential endpoint should take.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_REQUEST
The deferred 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 deferred credential request is valid.UNAUTHORIZED
The deferred 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 CredentialDeferredParseResponse.Action
valueOf(String name)
Returns the enum constant of this type with the specified name.static CredentialDeferredParseResponse.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 CredentialDeferredParseResponse.Action OK
The deferred credential request is valid.
-
BAD_REQUEST
public static final CredentialDeferredParseResponse.Action BAD_REQUEST
The deferred credential request is invalid.
-
UNAUTHORIZED
public static final CredentialDeferredParseResponse.Action UNAUTHORIZED
The deferred credential request does not contain the access token or the access token is invalid.
-
FORBIDDEN
public static final CredentialDeferredParseResponse.Action FORBIDDEN
The feature of Verifiable Credentials is not enabled in the service configuration.
-
INTERNAL_SERVER_ERROR
public static final CredentialDeferredParseResponse.Action INTERNAL_SERVER_ERROR
An error occurred on Authlete side.
-
-
Method Detail
-
values
public static CredentialDeferredParseResponse.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 (CredentialDeferredParseResponse.Action c : CredentialDeferredParseResponse.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 CredentialDeferredParseResponse.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
-
-