public static enum TokenUpdateResponse.Action extends Enum<TokenUpdateResponse.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.
|
NOT_FOUND
The specified access token does not exist.
|
OK
The access token was updated successfully.
|
| Modifier and Type | Method and Description |
|---|---|
static TokenUpdateResponse.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenUpdateResponse.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenUpdateResponse.Action INTERNAL_SERVER_ERROR
public static final TokenUpdateResponse.Action BAD_REQUEST
accessToken request parameter was
missing.public static final TokenUpdateResponse.Action FORBIDDEN
accessToken request parameter does not belong to the
service identified by the API key used for the API call.public static final TokenUpdateResponse.Action NOT_FOUND
public static final TokenUpdateResponse.Action OK
public static TokenUpdateResponse.Action[] values()
for (TokenUpdateResponse.Action c : TokenUpdateResponse.Action.values()) System.out.println(c);
public static TokenUpdateResponse.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 © 2019. All rights reserved.