Class AccountDeletedScimEvent

Object
se.curity.identityserver.sdk.data.events.ScimEvent
se.curity.identityserver.sdk.data.events.AccountDeletedScimEvent
All Implemented Interfaces:
SerializableAsMap, AuditableEvent, Event

public class AccountDeletedScimEvent extends ScimEvent implements AuditableEvent
Event fired when an account is deleted through SCIM.
Since:
2.2.0
  • Constructor Details

    • AccountDeletedScimEvent

      public AccountDeletedScimEvent(String authenticatedSubject, String scimAccountId, String internalId, String profileId)
      Parameters:
      authenticatedSubject - The subject who deleted the account (client or user)
      scimAccountId - The ID of the deleted account
      internalId - The internal ID of the account, often corresponding to the ID from the data source
      profileId - The ID of the profile from which this event originated
  • Method Details

    • getScimAccountId

      public String getScimAccountId()
      Get the account ID of the account deleted in this event.
      Returns:
      the account ID of the deleted account
    • getInternalId

      public String getInternalId()
      Get the internal ID of the account, often corresponding to the ID from the data source.
      Returns:
      the internal ID of the account deleted
    • 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.

      Specified by:
      getAuditData in interface AuditableEvent
      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 ScimEvent
      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.