Class DeletedAccountEvent
Object
se.curity.identityserver.sdk.data.events.AccountEvent
se.curity.identityserver.sdk.data.events.DeletedAccountEvent
- All Implemented Interfaces:
SerializableAsMap
,AuditableEvent
,Event
Event fired when an account is deleted.
- Since:
- 10.1.0
-
Constructor Summary
ConstructorsConstructorDescriptionDeletedAccountEvent
(String username, TenantId tenantId) Creates a newDeletedAccountEvent
with the given userName and tenantId, and the time of the event set toInstant.now()
. -
Method Summary
Methods inherited from class se.curity.identityserver.sdk.data.events.AccountEvent
asMap, getTenantId, getUsername, toString
-
Constructor Details
-
DeletedAccountEvent
Creates a newDeletedAccountEvent
with the given userName and tenantId, and the time of the event set toInstant.now()
.- Parameters:
username
- The username of the account that was deleted.tenantId
- The tenant ID of the account that was deleted.
-
-
Method Details
-
getAuditData
Description copied from interface:AuditableEvent
Get allAuditData
associated with this auditable event.This method must always return the same instant of
AuditData
.- Specified by:
getAuditData
in interfaceAuditableEvent
- Returns:
- the
AuditData
concisely describing the auditable data of this event
-