Class SuccessAuthenticationActionEvent
Object
se.curity.identityserver.sdk.data.events.AuthenticationEvent
se.curity.identityserver.sdk.data.events.UserAuthenticationEvent
se.curity.identityserver.sdk.data.events.SuccessAuthenticationActionEvent
- All Implemented Interfaces:
SerializableAsMap,Event
A successful authentication action event.
- Since:
- 3.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSuccessAuthenticationActionEvent(String sessionId, @Nullable String actionId, String authenticatorId, String subject, String acr, AuthenticationAttributes inputAttributes, AuthenticationAttributes outputAttributes, String profileId) Creates anSuccessAuthenticationActionEvent. -
Method Summary
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
-
SuccessAuthenticationActionEvent
public SuccessAuthenticationActionEvent(String sessionId, @Nullable String actionId, String authenticatorId, String subject, String acr, AuthenticationAttributes inputAttributes, AuthenticationAttributes outputAttributes, String profileId) Creates anSuccessAuthenticationActionEvent.- Parameters:
sessionId- The ID of the session bound to this loginactionId- The ID of the action that triggered this eventauthenticatorId- The authenticator instance ID that the action is configured onsubject- The subject of whoever logged inacr- The ACR (Authentication Context Class Reference, i.e., authentication method)inputAttributes- TheAuthenticationAttributesbefore theAuthenticationActionwas appliedoutputAttributes- TheAuthenticationAttributesafter theAuthenticationActionwas appliedprofileId- The ID of the profile from which this event originated
-
-
Method Details
-
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.
-
getActionId
-
getAuthenticatorId
-
getSubject
Get the subject of whoever performed the login.- Returns:
- the authenticated subject
-
getAcr
-
getInputAttributes
-
getOutputAttributes
-