public static enum BackchannelAuthenticationCompleteResponse.Action extends Enum<BackchannelAuthenticationCompleteResponse.Action>
| Enum Constant and Description |
|---|
NO_ACTION
The OpenID provider implementation does not have to take any
immediate action for this API response.
|
NOTIFICATION
The OpenID provider implementation must send a notification to the
client's notification endpoint.
|
SERVER_ERROR
An error occurred either because the ticket included in the API call
was invalid or because an error occurred on Authlete side.
|
| Modifier and Type | Method and Description |
|---|---|
static BackchannelAuthenticationCompleteResponse.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackchannelAuthenticationCompleteResponse.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackchannelAuthenticationCompleteResponse.Action NOTIFICATION
"ping" or
"push".public static final BackchannelAuthenticationCompleteResponse.Action NO_ACTION
"poll".public static final BackchannelAuthenticationCompleteResponse.Action SERVER_ERROR
If an error occurred after Authlete succeeded in retrieving data
associated with the ticket from the database and if the backchannel
token delivery mode is "ping" or "push", NOTIFICATION is
used as the value of action instead of SERVER_ERROR.
In the case, responseContent contains
"error":"server_error".
public static BackchannelAuthenticationCompleteResponse.Action[] values()
for (BackchannelAuthenticationCompleteResponse.Action c : BackchannelAuthenticationCompleteResponse.Action.values()) System.out.println(c);
public static BackchannelAuthenticationCompleteResponse.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.