public static enum DeviceAuthorizationResponse.Action extends Enum<DeviceAuthorizationResponse.Action>
| Enum Constant and Description |
|---|
BAD_REQUEST
The device authorization request is invalid.
|
INTERNAL_SERVER_ERROR
The API call from the authorization server implementation was wrong
or an error occurred on Authlete side.
|
OK
The device authorization request is valid.
|
UNAUTHORIZED
Client authentication of the device authorization request failed.
|
| Modifier and Type | Method and Description |
|---|---|
static DeviceAuthorizationResponse.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceAuthorizationResponse.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceAuthorizationResponse.Action OK
200 OK
and application/json to the client application.public static final DeviceAuthorizationResponse.Action BAD_REQUEST
400 Bad
Request and application/json to the client application.public static final DeviceAuthorizationResponse.Action UNAUTHORIZED
401 Unauthorized and application/json to the
client application.public static final DeviceAuthorizationResponse.Action INTERNAL_SERVER_ERROR
500 Internal Server Error and application/json to
the client application.public static DeviceAuthorizationResponse.Action[] values()
for (DeviceAuthorizationResponse.Action c : DeviceAuthorizationResponse.Action.values()) System.out.println(c);
public static DeviceAuthorizationResponse.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.