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

public abstract class UserAuthenticationEvent extends AuthenticationEvent
  • Constructor Details

    • UserAuthenticationEvent

      public UserAuthenticationEvent(String sessionId, String profileId)
      Parameters:
      sessionId - The ID of the session bound to the authentication
      profileId - The ID of the profile from which this event originated
  • Method Details

    • getSessionId

      public String 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

      public Map<String,Object> asMap()
      Description copied from interface: Event
      Get a map representation of this Event.
      Specified by:
      asMap in interface Event
      Specified by:
      asMap in interface SerializableAsMap
      Overrides:
      asMap in class AuthenticationEvent
      Returns:
      a Map representation of this Event. This can be used to serialize events. Sub-types are encouraged to override this method, calling super.asMap() and enriching the returned mutable Map with the more specific information added by the sub-type.