Class InvalidBearerTokenException

All Implemented Interfaces:
Serializable

public class InvalidBearerTokenException extends OAuth2AuthenticationException
An OAuth2AuthenticationException that indicates an invalid bearer token.
Since:
5.3
See Also:
  • Constructor Details

    • InvalidBearerTokenException

      public InvalidBearerTokenException(String description)
      Construct an instance of InvalidBearerTokenException given the provided description. The description will be wrapped into an OAuth2Error instance as the error_description.
      Parameters:
      description - the description
    • InvalidBearerTokenException

      public InvalidBearerTokenException(String description, Throwable cause)
      Construct an instance of InvalidBearerTokenException given the provided description and cause The description will be wrapped into an OAuth2Error instance as the error_description.
      Parameters:
      description - the description
      cause - the causing exception