Package com.authlete.common.dto
Enum NativeSsoLogoutResponse.Action
- java.lang.Object
-
- java.lang.Enum<NativeSsoLogoutResponse.Action>
-
- com.authlete.common.dto.NativeSsoLogoutResponse.Action
-
- All Implemented Interfaces:
Serializable
,Comparable<NativeSsoLogoutResponse.Action>
- Enclosing class:
- NativeSsoLogoutResponse
public static enum NativeSsoLogoutResponse.Action extends Enum<NativeSsoLogoutResponse.Action>
The next action that the API caller should take.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CALLER_ERROR
The/nativesso/logout
API call contained a problem.OK
The/nativesso/logout
API call completed successfully.SERVER_ERROR
An error occurred on the Authlete side.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NativeSsoLogoutResponse.Action
valueOf(String name)
Returns the enum constant of this type with the specified name.static NativeSsoLogoutResponse.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 NativeSsoLogoutResponse.Action OK
The/nativesso/logout
API call completed successfully. Zero or more access/refresh token have been deleted.
-
SERVER_ERROR
public static final NativeSsoLogoutResponse.Action SERVER_ERROR
An error occurred on the Authlete side. For example, an error might have occurred while executing a delete operation on the database.
-
CALLER_ERROR
public static final NativeSsoLogoutResponse.Action CALLER_ERROR
The/nativesso/logout
API call contained a problem. For example, the call may have been missing the required request parametersessionId
.
-
-
Method Detail
-
values
public static NativeSsoLogoutResponse.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 (NativeSsoLogoutResponse.Action c : NativeSsoLogoutResponse.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 NativeSsoLogoutResponse.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
-
-