Class DelegationOauthEvent
Object
se.curity.identityserver.sdk.data.events.OAuthEvent
se.curity.identityserver.sdk.data.events.DelegationOauthEvent
- All Implemented Interfaces:
SerializableAsMap,Event
- Direct Known Subclasses:
IssuedDelegationOAuthEvent,RevokedDelegationOAuthEvent
Common base class for delegation events.
- Since:
- 2.3.0
-
Constructor Summary
ConstructorsConstructorDescriptionDelegationOauthEvent(Delegation delegation, @Nullable ClientIdentifier requestingClientIdentifier, @Nullable String requestingSubject, String profileId) -
Method Summary
Modifier and TypeMethodDescriptionasMap()Get a map representation of thisEvent.Get theDelegationthis event is concerning.Methods inherited from class se.curity.identityserver.sdk.data.events.OAuthEvent
getProfileId, getRequestingClientId, getRequestingClientName, getRequestingSubject, toString
-
Constructor Details
-
DelegationOauthEvent
public DelegationOauthEvent(Delegation delegation, @Nullable ClientIdentifier requestingClientIdentifier, @Nullable String requestingSubject, String profileId)
-
-
Method Details
-
getDelegation
Get theDelegationthis event is concerning.- Returns:
- the
Delegation
-
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.
-