public static enum BackchannelAuthenticationFailResponse.Action extends Enum<BackchannelAuthenticationFailResponse.Action>
| Enum Constant and Description |
|---|
BAD_REQUEST
The implementation of the backchannel authentication endpoint should
return a
400 Bad Request response to the client application. |
FORBIDDEN
The implementation of the backchannel authentication endpoint should
return a
403 Forbidden response to the client application. |
INTERNAL_SERVER_ERROR
The implementation of the backchannel authentication endpoint should
return a
500 Internal Server Error response to the client
application. |
| Modifier and Type | Method and Description |
|---|---|
static BackchannelAuthenticationFailResponse.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackchannelAuthenticationFailResponse.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackchannelAuthenticationFailResponse.Action BAD_REQUEST
400 Bad Request response to the client application.public static final BackchannelAuthenticationFailResponse.Action FORBIDDEN
403 Forbidden response to the client application.
BackchannelAuthenticationFailResponse.getAction() returns this value only when the reason
request parameter of the API call was
ACCESS_DENIED.
public static final BackchannelAuthenticationFailResponse.Action INTERNAL_SERVER_ERROR
500 Internal Server Error response to the client
application. However, in most cases, commercial implementations
prefer to use other HTTP status code than 5xx.
BackchannelAuthenticationFailResponse.getAction() returns this value when (1) the reason
request parameter of the API call was
SERVER_ERROR, (2) an error occurred on Authlete side, or (3) the
request parameters of the API call were wrong.
public static BackchannelAuthenticationFailResponse.Action[] values()
for (BackchannelAuthenticationFailResponse.Action c : BackchannelAuthenticationFailResponse.Action.values()) System.out.println(c);
public static BackchannelAuthenticationFailResponse.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.