public static enum TokenCreateResponse.Action extends Enum<TokenCreateResponse.Action>
| Enum Constant and Description |
|---|
BAD_REQUEST
The request from the caller was wrong.
|
FORBIDDEN
The request from the caller was not allowed.
|
INTERNAL_SERVER_ERROR
An error occurred on Authlete side.
|
OK
An access token and optionally a refresh token were issued
successfully.
|
| Modifier and Type | Method and Description |
|---|---|
static TokenCreateResponse.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenCreateResponse.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenCreateResponse.Action INTERNAL_SERVER_ERROR
public static final TokenCreateResponse.Action BAD_REQUEST
grantType request parameter was
missing.public static final TokenCreateResponse.Action FORBIDDEN
clientId request parameter does not belong to the
service identified by the API key used for the API call.public static final TokenCreateResponse.Action OK
public static TokenCreateResponse.Action[] values()
for (TokenCreateResponse.Action c : TokenCreateResponse.Action.values()) System.out.println(c);
public static TokenCreateResponse.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.