Class TokenIssuanceProblemOAuthEvent

All Implemented Interfaces:
SerializableAsMap, Event

public final class TokenIssuanceProblemOAuthEvent extends ProblemOAuthEvent
A ProblemOAuthEvent that occurs at the token endpoint.
Since:
8.2.0
  • Constructor Details

  • Method Details

    • getGrantType

      public String getGrantType()
      Returns:
      the grant type that was requested by the OAuth client.
    • getOAuthError

      public OAuthError getOAuthError()
      Returns:
      the OAuthError
    • getReason

      public String getReason()
      Returns:
      error message
    • asMap

      public Map<String,Object> asMap()
      Description copied from interface: Event
      Get a map representation of this Event.
      Specified by:
      asMap in interface Event
      Specified by:
      asMap in interface SerializableAsMap
      Overrides:
      asMap in class OAuthEvent
      Returns:
      a Map representation of this Event. This can be used to serialize events. Sub-types are encouraged to override this method, calling super.asMap() and enriching the returned mutable Map with the more specific information added by the sub-type.