Class FailureBackchannelAuthenticationEvent

All Implemented Interfaces:
SerializableAsMap, AuditableEvent, Event

public final class FailureBackchannelAuthenticationEvent extends BackchannelAuthenticationEvent
Event generated on backchannel authentication failure.
Since:
6.2.0
  • Constructor Details

    • FailureBackchannelAuthenticationEvent

      public FailureBackchannelAuthenticationEvent(String authReqId, String clientId, @Nullable String failReason, String oauthProfileId, String authenticationProfileId, Map<String,BackchannelAuthenticatorState> authenticatorIdToState, String profileId)
      Parameters:
      authReqId - backchannel authentication request ID
      clientId - client ID
      failReason - fail reason, null if not available
      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

    • getFailReason

      public String getFailReason()
    • 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.