Enum StandardIntrospectionResponse.Action

    • Enum Constant Detail

      • INTERNAL_SERVER_ERROR

        public static final StandardIntrospectionResponse.Action INTERNAL_SERVER_ERROR
        The request from your system to Authlete (StandardIntrospectionRequest) was wrong or an error occurred in Authlete. The introspection endpoint of your authorization server should return "500 Internal Server Error" to the resource server.
      • BAD_REQUEST

        public static final StandardIntrospectionResponse.Action BAD_REQUEST
        The request from the resource server was wrong. The introspection endpoint of your authorization server should return "400 Bad Request" to the resource server.
      • OK

        public static final StandardIntrospectionResponse.Action OK
        The request from the resource server was valid. The introspection endpoint of your authorization server should return "200 OK" to the resource server.
      • JWT

        public static final StandardIntrospectionResponse.Action JWT
        The request from the resource server was valid and a JWT is returned to the resource server as the introspection response. The introspection endpoint of your authorization server should return "200 OK" to the resource server.
        Since:
        3.76, Authlete 3.0
    • Method Detail

      • values

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