Class AuthenticationEvent
Object
se.curity.identityserver.sdk.data.events.AuthenticationEvent
- All Implemented Interfaces:
SerializableAsMap,Event
- Direct Known Subclasses:
AccessTokenAuthenticationEvent,BackchannelAuthenticationEvent,ClientAuthenticationEvent,UserAuthenticationEvent
Common base class for authentication events.
- Since:
- 2.2.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AuthenticationEvent
Creates aAuthenticationEvent.- Parameters:
profileId- The ID of the profile from which this event originated- Since:
- 7.0.0
-
-
Method Details
-
getProfileId
Get the ID of the profile from which this event originated- Returns:
- profile ID
- Since:
- 7.0.0
-
asMap
Description copied from interface:EventGet a map representation of thisEvent.- Specified by:
asMapin interfaceEvent- Specified by:
asMapin interfaceSerializableAsMap- 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.
-
toString
-