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
,RestartAuthenticationActionEvent
,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:Event
Get a map representation of thisEvent
.- Specified by:
asMap
in interfaceEvent
- Specified by:
asMap
in interfaceSerializableAsMap
- Overrides:
asMap
in classAuthenticationEvent
- 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.
-