Class LogoutAuthenticationEvent
Object
se.curity.identityserver.sdk.data.events.AuthenticationEvent
se.curity.identityserver.sdk.data.events.UserAuthenticationEvent
se.curity.identityserver.sdk.data.events.LogoutAuthenticationEvent
- All Implemented Interfaces:
SerializableAsMap,AuditableEvent,Event
An event triggered by a user logging out.
- Since:
- 2.2.0
-
Constructor Summary
ConstructorsConstructorDescriptionLogoutAuthenticationEvent(String sessionId, NonEmptyList<AuthenticationAttributes> authenticationAttributes, String profileId) Create new LogoutAuthenticationEvent. -
Method Summary
Modifier and TypeMethodDescriptionasMap()Get a map representation of thisEvent.Get allAuditDataassociated with this auditable event.Get a list ofAuthenticationAttributes; each entry corresponding to a terminated sso-session.Methods inherited from class se.curity.identityserver.sdk.data.events.UserAuthenticationEvent
getSessionIdMethods inherited from class se.curity.identityserver.sdk.data.events.AuthenticationEvent
getProfileId, toString
-
Constructor Details
-
LogoutAuthenticationEvent
public LogoutAuthenticationEvent(String sessionId, NonEmptyList<AuthenticationAttributes> authenticationAttributes, String profileId) Create new LogoutAuthenticationEvent.- Parameters:
sessionId- The session ID of the session that logged outauthenticationAttributes- TheAuthenticationAttributesfrom the logoutprofileId- The ID of the profile from which this event originated
-
-
Method Details
-
getAuthenticationAttributesList
Get a list ofAuthenticationAttributes; each entry corresponding to a terminated sso-session.- Returns:
- a list of
AuthenticationAttributes; each entry corresponding to a terminated sso-session
-
getAuditData
Description copied from interface:AuditableEventGet allAuditDataassociated with this auditable event.This method must always return the same instant of
AuditData.- Specified by:
getAuditDatain interfaceAuditableEvent- Returns:
- the
AuditDataconcisely describing the auditable data of this event
-
asMap
Description copied from interface:EventGet a map representation of thisEvent.- Specified by:
asMapin interfaceEvent- Specified by:
asMapin interfaceSerializableAsMap- Overrides:
asMapin classUserAuthenticationEvent- 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.
-