Class AuthenticationEvent

Object
se.curity.identityserver.sdk.data.events.AuthenticationEvent
All Implemented Interfaces:
SerializableAsMap, Event
Direct Known Subclasses:
AccessTokenAuthenticationEvent, BackchannelAuthenticationEvent, ClientAuthenticationEvent, UserAuthenticationEvent

public abstract class AuthenticationEvent extends Object implements Event
Common base class for authentication events.
Since:
2.2.0
  • Constructor Details

    • AuthenticationEvent

      public AuthenticationEvent(String profileId)
      Parameters:
      profileId - The ID of the profile from which this event originated
      Since:
      7.0.0
  • Method Details

    • getProfileId

      public String getProfileId()
      Get the ID of the profile from which this event originated
      Returns:
      profile ID
      Since:
      7.0.0
    • 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
      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.
    • toString

      public String toString()
      Overrides:
      toString in class Object