Class InvalidPushedAuthorizationRequestException

    • Constructor Detail

      • InvalidPushedAuthorizationRequestException

        public InvalidPushedAuthorizationRequestException​(String message)
        Creates a new invalid Pushed Authorisation Request (PAR) exception. The HTTP status is set to 400 and error code in the JSON object is set to invalid_request.
        Parameters:
        message - The exception message, will be logged. Should not be null.
      • InvalidPushedAuthorizationRequestException

        public InvalidPushedAuthorizationRequestException​(String message,
                                                          com.nimbusds.oauth2.sdk.ErrorObject errorObject)
        Creates a new invalid OAuth 2.0 authorisation / OpenID authentication request exception.
        Parameters:
        message - The exception message, will be logged. Should not be null.
        errorObject - The error object, with HTTP status, error code and optional error description and error URI. Must not be null.
    • Method Detail

      • getErrorObject

        public com.nimbusds.oauth2.sdk.ErrorObject getErrorObject()
        Returns the error object.
        Returns:
        The error object with HTTP status, error code and optional error description and error URI.