public static enum IntrospectionResponse.Action extends Enum<IntrospectionResponse.Action>
| Enum Constant and Description |
|---|
BAD_REQUEST
The request does not contain an access token.
|
FORBIDDEN
The access token does not cover the required scopes.
|
INTERNAL_SERVER_ERROR
The request from the service implementation was wrong or
an error occurred in Authlete.
|
OK
The access token is valid.
|
UNAUTHORIZED
The access token does not exist or has expired.
|
| Modifier and Type | Method and Description |
|---|---|
static IntrospectionResponse.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IntrospectionResponse.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IntrospectionResponse.Action INTERNAL_SERVER_ERROR
"500 Internal Server Error" to the
client application.public static final IntrospectionResponse.Action BAD_REQUEST
"400 Bad Request" to
the client application.public static final IntrospectionResponse.Action UNAUTHORIZED
"401 Unauthorized" to
the client application.public static final IntrospectionResponse.Action FORBIDDEN
"403 Forbidden"
to the client application.public static final IntrospectionResponse.Action OK
public static IntrospectionResponse.Action[] values()
for (IntrospectionResponse.Action c : IntrospectionResponse.Action.values()) System.out.println(c);
public static IntrospectionResponse.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.