Enum FederationConfigurationResponse.Action

    • Enum Constant Detail

      • OK

        public static final FederationConfigurationResponse.Action OK
        An entity configuration has been prepared successfully. The implementation of the entity configuration endpoint should return an HTTP response to the client application with the HTTP status code "200 OK" and the content type "application/entity-statement+jwt".
      • NOT_FOUND

        public static final FederationConfigurationResponse.Action NOT_FOUND
        The feature of OpenID Federation 1.0 is not enabled in this service. The implementation of the entity configuration endpoint should return an HTTP response to the client application with the HTTP status code "404 Not Found" and the content type "application/json" to indicate that the client application should have not accessed the endpoint.
      • INTERNAL_SERVER_ERROR

        public static final FederationConfigurationResponse.Action INTERNAL_SERVER_ERROR
        An unexpected error occurred on Authlete side or the service has not been set up properly yet. A simple implementation of the entity configuration endpoint would return an HTTP response to the client application with the HTTP status code "500 Internal Server Error" and the content type "application/json".
    • Method Detail

      • values

        public static FederationConfigurationResponse.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 (FederationConfigurationResponse.Action c : FederationConfigurationResponse.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 FederationConfigurationResponse.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