public static enum UserInfoIssueResponse.Action extends Enum<UserInfoIssueResponse.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.
|
JSON
The access token was valid and a userinfo response was
generated successfully in JSON format.
|
JWT
The access token was valid and a userinfo response token was
generated successfully in JWT format.
|
UNAUTHORIZED
The access token does not exist or has expired.
|
| Modifier and Type | Method and Description |
|---|---|
static UserInfoIssueResponse.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserInfoIssueResponse.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserInfoIssueResponse.Action INTERNAL_SERVER_ERROR
"500 Internal Server Error" to the
client application.public static final UserInfoIssueResponse.Action BAD_REQUEST
"400 Bad Request" to
the client application.public static final UserInfoIssueResponse.Action UNAUTHORIZED
"401 Unauthorized" to
the client application.public static final UserInfoIssueResponse.Action FORBIDDEN
"openid" scope. The service implementation should return
"403 Forbidden" to the client application.public static final UserInfoIssueResponse.Action JSON
"200 OK" to the client application
with the content type "application/json;charset=UTF-8".public static final UserInfoIssueResponse.Action JWT
"200 OK" to the client application
with the content type "application/jwt".public static UserInfoIssueResponse.Action[] values()
for (UserInfoIssueResponse.Action c : UserInfoIssueResponse.Action.values()) System.out.println(c);
public static UserInfoIssueResponse.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.