Class TokenIssuanceProblemOAuthEvent
Object
se.curity.identityserver.sdk.data.events.OAuthEvent
se.curity.identityserver.sdk.data.events.ProblemOAuthEvent
se.curity.identityserver.sdk.data.events.TokenIssuanceProblemOAuthEvent
- All Implemented Interfaces:
SerializableAsMap
,Event
A
ProblemOAuthEvent
that occurs at the token endpoint.- Since:
- 8.2.0
-
Constructor Summary
ConstructorsConstructorDescriptionTokenIssuanceProblemOAuthEvent
(@Nullable ClientIdentifier requestingClientIdentifier, String profileId, String grantType, OAuthError oauthError, String reason, String requestId) -
Method Summary
Methods inherited from class se.curity.identityserver.sdk.data.events.OAuthEvent
getProfileId, getRequestingClientId, getRequestingClientName, getRequestingSubject, toString
-
Constructor Details
-
TokenIssuanceProblemOAuthEvent
public TokenIssuanceProblemOAuthEvent(@Nullable ClientIdentifier requestingClientIdentifier, String profileId, String grantType, OAuthError oauthError, String reason, String requestId)
-
-
Method Details
-
getGrantType
- Returns:
- the grant type that was requested by the OAuth client.
-
getOAuthError
- Returns:
- the
OAuthError
-
getReason
- Returns:
- error message
-
asMap
Description copied from interface:Event
Get a map representation of thisEvent
.- Specified by:
asMap
in interfaceEvent
- Specified by:
asMap
in interfaceSerializableAsMap
- Overrides:
asMap
in classOAuthEvent
- Returns:
- a
Map
representation of thisEvent
. This can be used to serialize events. Sub-types are encouraged to override this method, callingsuper.asMap()
and enriching the returned mutableMap
with the more specific information added by the sub-type.
-