Class BackchannelAuthenticationEvent

Object
se.curity.identityserver.sdk.data.events.AuthenticationEvent
se.curity.identityserver.sdk.data.events.BackchannelAuthenticationEvent
All Implemented Interfaces:
SerializableAsMap, AuditableEvent, Event
Direct Known Subclasses:
FailureBackchannelAuthenticationEvent, StartedBackchannelAuthenticationEvent, SuccessBackchannelAuthenticationEvent

public abstract class BackchannelAuthenticationEvent extends AuthenticationEvent implements AuditableEvent
Abstract class for all backchannel authentication events.
Since:
6.2.0
  • Constructor Details

    • BackchannelAuthenticationEvent

      protected BackchannelAuthenticationEvent(String authReqId, String clientId, String oauthProfileId, String authenticationProfileId, Map<String,BackchannelAuthenticatorState> stateByAuthenticatorId, String profileId)
      Parameters:
      authReqId - auth_req_id as defined in specification
      clientId - ID of the client making the request
      oauthProfileId - oauth profile ID
      authenticationProfileId - linked authentication profile ID
      stateByAuthenticatorId - authenticator ID with its current state
      profileId - the ID of the profile from which this event originated
  • Method Details

    • getAuthReqId

      public String getAuthReqId()
    • getClientId

      public String getClientId()
    • getOauthProfileId

      public String getOauthProfileId()
    • getAuthenticationProfileId

      public String getAuthenticationProfileId()
    • getStateByAuthenticatorId

      public Map<String,BackchannelAuthenticatorState> getStateByAuthenticatorId()
    • 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.
    • getAuditMessageBase

      protected String getAuditMessageBase()