Class UserAuthenticationEvent
Object
se.curity.identityserver.sdk.data.events.AuthenticationEvent
se.curity.identityserver.sdk.data.events.UserAuthenticationEvent
- All Implemented Interfaces:
SerializableAsMap,Event
- Direct Known Subclasses:
AuthenticationAttemptEvent,FailedAuthenticationActionEvent,LogoutAuthenticationEvent,PendingCompletionAuthenticationActionEvent,SessionEvent,SuccessAuthenticationActionEvent
-
Constructor Summary
ConstructorsConstructorDescriptionUserAuthenticationEvent(String sessionId, String profileId) Creates anUserAuthenticationEvent. -
Method Summary
Methods inherited from class se.curity.identityserver.sdk.data.events.AuthenticationEvent
getProfileId, toString
-
Constructor Details
-
UserAuthenticationEvent
Creates anUserAuthenticationEvent.- Parameters:
sessionId- The ID of the session bound to the authenticationprofileId- The ID of the profile from which this event originated
-
-
Method Details
-
getSessionId
Get the ID of the session on which the action represented by this event was performed.- Returns:
- the ID of the session on which the action represented by this event was performed
-
asMap
Description copied from interface:EventGet a map representation of thisEvent.- Specified by:
asMapin interfaceEvent- Specified by:
asMapin interfaceSerializableAsMap- Overrides:
asMapin classAuthenticationEvent- 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.
-