Class ClientAuthorizationException

    • Constructor Summary

      Constructors 
      Constructor Description
      ClientAuthorizationException​(OAuth2Error error, java.lang.String clientRegistrationId)
      Constructs a ClientAuthorizationException using the provided parameters.
      ClientAuthorizationException​(OAuth2Error error, java.lang.String clientRegistrationId, java.lang.String message)
      Constructs a ClientAuthorizationException using the provided parameters.
      ClientAuthorizationException​(OAuth2Error error, java.lang.String clientRegistrationId, java.lang.String message, java.lang.Throwable cause)
      Constructs a ClientAuthorizationException using the provided parameters.
      ClientAuthorizationException​(OAuth2Error error, java.lang.String clientRegistrationId, java.lang.Throwable cause)
      Constructs a ClientAuthorizationException using the provided parameters.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getClientRegistrationId()
      Returns the identifier for the client's registration.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ClientAuthorizationException

        public ClientAuthorizationException​(OAuth2Error error,
                                            java.lang.String clientRegistrationId)
        Constructs a ClientAuthorizationException using the provided parameters.
        Parameters:
        error - the OAuth 2.0 Error
        clientRegistrationId - the identifier for the client's registration
      • ClientAuthorizationException

        public ClientAuthorizationException​(OAuth2Error error,
                                            java.lang.String clientRegistrationId,
                                            java.lang.String message)
        Constructs a ClientAuthorizationException using the provided parameters.
        Parameters:
        error - the OAuth 2.0 Error
        clientRegistrationId - the identifier for the client's registration
        message - the exception message
      • ClientAuthorizationException

        public ClientAuthorizationException​(OAuth2Error error,
                                            java.lang.String clientRegistrationId,
                                            java.lang.Throwable cause)
        Constructs a ClientAuthorizationException using the provided parameters.
        Parameters:
        error - the OAuth 2.0 Error
        clientRegistrationId - the identifier for the client's registration
        cause - the root cause
      • ClientAuthorizationException

        public ClientAuthorizationException​(OAuth2Error error,
                                            java.lang.String clientRegistrationId,
                                            java.lang.String message,
                                            java.lang.Throwable cause)
        Constructs a ClientAuthorizationException using the provided parameters.
        Parameters:
        error - the OAuth 2.0 Error
        clientRegistrationId - the identifier for the client's registration
        message - the exception message
        cause - the root cause
    • Method Detail

      • getClientRegistrationId

        public java.lang.String getClientRegistrationId()
        Returns the identifier for the client's registration.
        Returns:
        the identifier for the client's registration