Class AuthorizationCodeOAuthEvent
Object
se.curity.identityserver.sdk.data.events.OAuthEvent
se.curity.identityserver.sdk.data.events.AuthorizationCodeOAuthEvent
- All Implemented Interfaces:
SerializableAsMap,Event
- Direct Known Subclasses:
ConsumedAuthorizationCodeOAuthEvent,IssuedAuthorizationCodeOAuthEvent
Common base class for OAuth authorization code events.
- Since:
- 2.3.0
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class se.curity.identityserver.sdk.data.events.OAuthEvent
getProfileId, getRequestingClientId, getRequestingClientName, getRequestingSubject, toString
-
Constructor Details
-
AuthorizationCodeOAuthEvent
-
-
Method Details
-
getCreated
Get theInstantthe authorization code was created.- Returns:
- the
Instantthe authorization code was created
-
getExpires
Get theInstantthe authorization code expires.- Returns:
- the
Instantthe authorization code expires
-
getPurpose
Get the purpose of the authorization code.- Returns:
- the purpose of the authorization code
-
getClaims
Get the claims of the authorization code; as aMap.- Returns:
- the claims of the authorization code
-
asMap
Description copied from interface:EventGet a map representation of thisEvent.- Specified by:
asMapin interfaceEvent- Specified by:
asMapin interfaceSerializableAsMap- Overrides:
asMapin classOAuthEvent- Returns:
- a
Maprepresentation of thisEvent. This can be used to serialize events. Sub-types are encouraged to override this method, callingsuper.asMap()and enriching the returned mutableMapwith the more specific information added by the sub-type.
-