Enum FederationRegistrationResponse.Action

    • 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 code 200 OK with the content type application/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 code 400 Bad Request with the content type application/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 code 404 Bad Request with the content type application/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 code 500 Internal Server Error and the content type application/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 name
        NullPointerException - if the argument is null