public static enum BackchannelAuthenticationCompleteRequest.Result extends Enum<BackchannelAuthenticationCompleteRequest.Result>
| Enum Constant and Description |
|---|
ACCESS_DENIED
The end-user denied the backchannel authentication request.
|
AUTHORIZED
The end-user was authenticated and has granted authorization to
the client application.
|
TRANSACTION_FAILED
The authorization server could not get the result of end-user
authentication and authorization from the authentication device
for some reasons.
|
| Modifier and Type | Method and Description |
|---|---|
static BackchannelAuthenticationCompleteRequest.Result |
getByValue(short value)
Find an instance of this enum by a value.
|
short |
getValue()
Get the integer representation of this enum instance.
|
static BackchannelAuthenticationCompleteRequest.Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackchannelAuthenticationCompleteRequest.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackchannelAuthenticationCompleteRequest.Result AUTHORIZED
public static final BackchannelAuthenticationCompleteRequest.Result ACCESS_DENIED
public static final BackchannelAuthenticationCompleteRequest.Result TRANSACTION_FAILED
For example, the authorization server failed to communicate with the authentication device due to a network error, the device did not return a response within a reasonable time, etc.
This result can be used as a generic error.
public static BackchannelAuthenticationCompleteRequest.Result[] values()
for (BackchannelAuthenticationCompleteRequest.Result c : BackchannelAuthenticationCompleteRequest.Result.values()) System.out.println(c);
public static BackchannelAuthenticationCompleteRequest.Result 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 nullpublic short getValue()
public static BackchannelAuthenticationCompleteRequest.Result getByValue(short value)
value - The integer representation of the instance to find.null if not found.Copyright © 2019. All rights reserved.