public static enum AuthorizationResponse.Action extends Enum<AuthorizationResponse.Action>
| Enum Constant and Description |
|---|
BAD_REQUEST
The authorization request was wrong and the service implementation
should notify the client application of the error by
"400 Bad Request". |
FORM
The authorization request was wrong and the service implementation
should notify the client application of the error by
"200 OK" with an HTML which triggers redirection by
JavaScript. |
INTERACTION
The authorization request was valid and the service implementation
should display UI to ask for authorization from the end-user.
|
INTERNAL_SERVER_ERROR
The request from the service implementation was wrong or
an error occurred in Authlete.
|
LOCATION
The authorization request was wrong and the service implementation
should notify the client application of the error by
"302 Found". |
NO_INTERACTION
The authorization request was valid and the service implementation
should issue an authorization code, an ID token and/or an access
token without interaction with the end-user.
|
| Modifier and Type | Method and Description |
|---|---|
static AuthorizationResponse.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizationResponse.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizationResponse.Action INTERNAL_SERVER_ERROR
"500 Internal Server Error" to the
client application.public static final AuthorizationResponse.Action BAD_REQUEST
"400 Bad Request".public static final AuthorizationResponse.Action LOCATION
"302 Found".public static final AuthorizationResponse.Action FORM
"200 OK" with an HTML which triggers redirection by
JavaScript.public static final AuthorizationResponse.Action NO_INTERACTION
public static final AuthorizationResponse.Action INTERACTION
public static AuthorizationResponse.Action[] values()
for (AuthorizationResponse.Action c : AuthorizationResponse.Action.values()) System.out.println(c);
public static AuthorizationResponse.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.