public static enum UserInfoResponse.Action extends Enum<UserInfoResponse.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 UserInfoResponse.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserInfoResponse.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserInfoResponse.Action INTERNAL_SERVER_ERROR
"500 Internal Server Error" to the
client application.public static final UserInfoResponse.Action BAD_REQUEST
"400 Bad Request" to
the client application.public static final UserInfoResponse.Action UNAUTHORIZED
"401 Unauthorized" to
the client application.public static final UserInfoResponse.Action FORBIDDEN
"openid" scope. The service implementation should return
"403 Forbidden" to the client application.public static final UserInfoResponse.Action OK
/auth/userinfo/issue
endpoint in order to make Authlete generate an ID token.public static UserInfoResponse.Action[] values()
for (UserInfoResponse.Action c : UserInfoResponse.Action.values()) System.out.println(c);
public static UserInfoResponse.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.