Class StartedBackchannelAuthenticationEvent

All Implemented Interfaces:
SerializableAsMap, AuditableEvent, Event

public final class StartedBackchannelAuthenticationEvent extends BackchannelAuthenticationEvent
Event indicating Backchannel authentication was initiated.
Since:
6.2.0
  • Constructor Details

    • StartedBackchannelAuthenticationEvent

      public StartedBackchannelAuthenticationEvent(String authReqId, String resolvedSubject, Instant startedInstant, String clientId, String oauthProfileId, String authenticationProfileId, Map<String,BackchannelAuthenticatorState> authenticatorIdToState, String profileId)
      Parameters:
      authReqId - backchannel authentication request ID
      resolvedSubject - subject resolved using the input hint to identify user
      startedInstant - Instant at which the backchannel authentication was started
      clientId - client ID
      oauthProfileId - oauth profile ID
      authenticationProfileId - linked authentication profile ID
      authenticatorIdToState - authenticator ID with its current state
      profileId - the ID of the profile from which this event originated
  • Method Details

    • getResolvedSubject

      public String getResolvedSubject()
    • getStartedInstant

      public Instant getStartedInstant()
    • getAuditData

      public AuditData getAuditData()
      Description copied from interface: AuditableEvent
      Get all AuditData associated with this auditable event.

      This method must always return the same instant of AuditData.

      Returns:
      the AuditData concisely describing the auditable data of this event
    • 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 BackchannelAuthenticationEvent
      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.