Package com.authlete.common.dto
Enum BackchannelLogoutTokenResponse.Action
- java.lang.Object
-
- java.lang.Enum<BackchannelLogoutTokenResponse.Action>
-
- com.authlete.common.dto.BackchannelLogoutTokenResponse.Action
-
- All Implemented Interfaces:
Serializable,Comparable<BackchannelLogoutTokenResponse.Action>
- Enclosing class:
- BackchannelLogoutTokenResponse
public static enum BackchannelLogoutTokenResponse.Action extends Enum<BackchannelLogoutTokenResponse.Action>
The next action that the API caller should take.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CALLER_ERRORThe API call is invalid.OKA Logout Token has been generated successfully.SERVER_ERRORThere is an error on Authlete's side, such as a database access error.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BackchannelLogoutTokenResponse.ActionvalueOf(String name)Returns the enum constant of this type with the specified name.static BackchannelLogoutTokenResponse.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 BackchannelLogoutTokenResponse.Action OK
A Logout Token has been generated successfully. The API caller is expected to send a Back-Channel Logout Request to the client.
-
SERVER_ERROR
public static final BackchannelLogoutTokenResponse.Action SERVER_ERROR
There is an error on Authlete's side, such as a database access error.
-
CALLER_ERROR
public static final BackchannelLogoutTokenResponse.Action CALLER_ERROR
The API call is invalid. For example, the mandatory request parameterclientIdentifieris missing.
-
-
Method Detail
-
values
public static BackchannelLogoutTokenResponse.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 (BackchannelLogoutTokenResponse.Action c : BackchannelLogoutTokenResponse.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 BackchannelLogoutTokenResponse.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
-
-