Package com.authlete.common.dto
Enum FederationRegistrationResponse.Action
- java.lang.Object
-
- java.lang.Enum<FederationRegistrationResponse.Action>
-
- com.authlete.common.dto.FederationRegistrationResponse.Action
-
- All Implemented Interfaces:
Serializable
,Comparable<FederationRegistrationResponse.Action>
- Enclosing class:
- FederationRegistrationResponse
public static enum FederationRegistrationResponse.Action extends Enum<FederationRegistrationResponse.Action>
The next action that the implementation of the federation registration endpoint should take.- Since:
- 3.45, Authlete 2.3
- See Also:
- OpenID Federation 1.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_REQUEST
The client registration request was invalid.INTERNAL_SERVER_ERROR
Something wrong happened.NOT_FOUND
The feature of "OpenID Federation 1.0" is not enabled on the Authlete server or by the service, so the federation registration endpoint does not work.OK
The client registration request was processed successfully.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FederationRegistrationResponse.Action
valueOf(String name)
Returns the enum constant of this type with the specified name.static FederationRegistrationResponse.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 FederationRegistrationResponse.Action OK
The client registration request was processed successfully. The implementation of the federation registration endpoint should return the status code200 OK
with the content typeapplication/entity-statement+jwt
.
-
BAD_REQUEST
public static final FederationRegistrationResponse.Action BAD_REQUEST
The client registration request was invalid. The implementation of the federation registration endpoint should return the status code400 Bad Request
with the content typeapplication/json
.
-
NOT_FOUND
public static final FederationRegistrationResponse.Action NOT_FOUND
The feature of "OpenID Federation 1.0" is not enabled on the Authlete server or by the service, so the federation registration endpoint does not work. The endpoint should return the status code404 Bad Request
with the content typeapplication/json
.
-
INTERNAL_SERVER_ERROR
public static final FederationRegistrationResponse.Action INTERNAL_SERVER_ERROR
Something wrong happened. The implementation of the federation registration endpoint should return an error response. For example, an error response with the status code500 Internal Server Error
and the content typeapplication/json
.
-
-
Method Detail
-
values
public static FederationRegistrationResponse.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 (FederationRegistrationResponse.Action c : FederationRegistrationResponse.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 FederationRegistrationResponse.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
-
-