Package com.authlete.common.dto
Enum AuthorizationAuthenticateResponse.Action
- java.lang.Object
-
- java.lang.Enum<AuthorizationAuthenticateResponse.Action>
-
- com.authlete.common.dto.AuthorizationAuthenticateResponse.Action
-
- All Implemented Interfaces:
Serializable
,Comparable<AuthorizationAuthenticateResponse.Action>
- Enclosing class:
- AuthorizationAuthenticateResponse
public static enum AuthorizationAuthenticateResponse.Action extends Enum<AuthorizationAuthenticateResponse.Action>
The next action that the service implementation should take.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_REQUEST
The ticket was no longer valid.INTERNAL_SERVER_ERROR
The request from the service implementation was wrong or an error occurred in Authlete, so the service implementation should return"500 Internal Server Error"
.OK
The result of authentication was obtained.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthorizationAuthenticateResponse.Action
valueOf(String name)
Returns the enum constant of this type with the specified name.static AuthorizationAuthenticateResponse.Action[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTERNAL_SERVER_ERROR
public static final AuthorizationAuthenticateResponse.Action INTERNAL_SERVER_ERROR
The request from the service implementation was wrong or an error occurred in Authlete, so the service implementation should return"500 Internal Server Error"
.
-
BAD_REQUEST
public static final AuthorizationAuthenticateResponse.Action BAD_REQUEST
The ticket was no longer valid. The service implementation should return"400 Bad Request
".
-
OK
public static final AuthorizationAuthenticateResponse.Action OK
The result of authentication was obtained. The service implementation should return"200 OK"
.
-
-
Method Detail
-
values
public static AuthorizationAuthenticateResponse.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 (AuthorizationAuthenticateResponse.Action c : AuthorizationAuthenticateResponse.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 AuthorizationAuthenticateResponse.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
-
-