Package com.authlete.common.dto
Enum BackchannelAuthenticationIssueResponse.Action
- java.lang.Object
-
- java.lang.Enum<BackchannelAuthenticationIssueResponse.Action>
-
- com.authlete.common.dto.BackchannelAuthenticationIssueResponse.Action
-
- All Implemented Interfaces:
Serializable
,Comparable<BackchannelAuthenticationIssueResponse.Action>
- Enclosing class:
- BackchannelAuthenticationIssueResponse
public static enum BackchannelAuthenticationIssueResponse.Action extends Enum<BackchannelAuthenticationIssueResponse.Action>
The next action that the OpenID provider implementation should take.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INTERNAL_SERVER_ERROR
The implementation of the backchannel authentication endpoint should return a500 Internal Server Error
response to the client application.INVALID_TICKET
The ticket included in the API call is invalid.OK
The implementation of the backchannel authentication endpoint should return a200 OK
response to the client application.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BackchannelAuthenticationIssueResponse.Action
valueOf(String name)
Returns the enum constant of this type with the specified name.static BackchannelAuthenticationIssueResponse.Action[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final BackchannelAuthenticationIssueResponse.Action OK
The implementation of the backchannel authentication endpoint should return a200 OK
response to the client application.
-
INTERNAL_SERVER_ERROR
public static final BackchannelAuthenticationIssueResponse.Action INTERNAL_SERVER_ERROR
The implementation of the backchannel authentication endpoint should return a500 Internal Server Error
response to the client application. However, in most cases, commercial implementations prefer to use other HTTP status code than 5xx.
-
INVALID_TICKET
public static final BackchannelAuthenticationIssueResponse.Action INVALID_TICKET
The ticket included in the API call is invalid. It does not exist or has expired.
-
-
Method Detail
-
values
public static BackchannelAuthenticationIssueResponse.Action[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BackchannelAuthenticationIssueResponse.Action c : BackchannelAuthenticationIssueResponse.Action.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BackchannelAuthenticationIssueResponse.Action valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-