Enum PushedAuthReqResponse.Action

    • Enum Constant Detail

      • CREATED

        public static final PushedAuthReqResponse.Action CREATED
        The pushed authorization request has been registered successfully. The endpoint should return 201 Created to the client application.
      • BAD_REQUEST

        public static final PushedAuthReqResponse.Action BAD_REQUEST
        The request is invalid. The pushed authorization request endpoint should return 400 Bad Request to the client application.
      • UNAUTHORIZED

        public static final PushedAuthReqResponse.Action UNAUTHORIZED
        The client authentication at the pushed authorization request endpoint failed. The endpoint should return 401 Unauthorized to the client application.
      • FORBIDDEN

        public static final PushedAuthReqResponse.Action FORBIDDEN
        The client application is not allowed to use the pushed authorization request endpoint. The endpoint should return 403 Forbidden to the client application.
      • PAYLOAD_TOO_LARGE

        public static final PushedAuthReqResponse.Action PAYLOAD_TOO_LARGE
        The size of the pushed authorization request is too large. The endpoint should return 413 Payload Too Large to the client application.
      • INTERNAL_SERVER_ERROR

        public static final PushedAuthReqResponse.Action INTERNAL_SERVER_ERROR
        The API call was wrong or an error occurred on Authlete side. The pushed authorization request endpoint should return 500 Internal Server Error to the client application. However, it is up to the authorization server's policy whether to return 500 actually.
    • Method Detail

      • values

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