Class InvalidPushedAuthorizationRequestException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.nimbusds.openid.connect.provider.spi.par.InvalidPushedAuthorizationRequestException
All Implemented Interfaces:
Serializable

Invalid Pushed Authorisation Request (PAR) exception.
See Also:
  • Constructor Details

    • InvalidPushedAuthorizationRequestException

      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(@Nullable 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 Details

    • 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.