public static enum TokenFailResponse.Action extends Enum<TokenFailResponse.Action>
| Enum Constant and Description |
|---|
BAD_REQUEST
Authlete's
/auth/token/fail API successfully generated
an error response for the client application. |
INTERNAL_SERVER_ERROR
The request from the service implementation was wrong or
an error occurred in Authlete.
|
| Modifier and Type | Method and Description |
|---|---|
static TokenFailResponse.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenFailResponse.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenFailResponse.Action INTERNAL_SERVER_ERROR
"500 Internal Server Error" to the
client application.public static final TokenFailResponse.Action BAD_REQUEST
/auth/token/fail API successfully generated
an error response for the client application. The service
implementation should return "400 Bad Request" to the
client application.public static TokenFailResponse.Action[] values()
for (TokenFailResponse.Action c : TokenFailResponse.Action.values()) System.out.println(c);
public static TokenFailResponse.Action valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017. All rights reserved.