Class UnlinkedAccountEvent
Object
se.curity.identityserver.sdk.data.events.AccountEvent
se.curity.identityserver.sdk.data.events.UnlinkedAccountEvent
- All Implemented Interfaces:
SerializableAsMap,AuditableEvent,Event
Event fired when an account is unlinked.
- Since:
- 3.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionUnlinkedAccountEvent(String localAccountId, String linkingAccountManager, String foreignSubject, String foreignDomainName, TenantId tenantId) Creates aUnlinkedAccountEvent. -
Method Summary
Modifier and TypeMethodDescriptionasMap()Get a map representation of thisEvent.Get allAuditDataassociated with this auditable event.Get the domain name of the account being unlinked.Get the foreign subject being unlinked.Get the name of the account manager handling this linked account.Get the ID of the local account.Methods inherited from class se.curity.identityserver.sdk.data.events.AccountEvent
getTenantId, getUsername, toString
-
Constructor Details
-
UnlinkedAccountEvent
public UnlinkedAccountEvent(String localAccountId, String linkingAccountManager, String foreignSubject, String foreignDomainName, TenantId tenantId) Creates aUnlinkedAccountEvent.- Parameters:
localAccountId- The ID of the local accountlinkingAccountManager- The account manager handling this account linkforeignSubject- The subject being linkedforeignDomainName- The domain name of the subject being linkedtenantId- The tenant ID of the local account
-
-
Method Details
-
getLocalAccountId
Get the ID of the local account.- Returns:
- the ID of the local account
-
getLinkingAccountManager
Get the name of the account manager handling this linked account.- Returns:
- The account manager responsible for this link
-
getForeignSubject
Get the foreign subject being unlinked.- Returns:
- the foreign subject
-
getForeignDomainName
Get the domain name of the account being unlinked.- Returns:
- the name of the foreign domain
-
getAuditData
Description copied from interface:AuditableEventGet allAuditDataassociated with this auditable event.This method must always return the same instant of
AuditData.- Specified by:
getAuditDatain interfaceAuditableEvent- Returns:
- the
AuditDataconcisely describing the auditable data of this event
-
asMap
Description copied from interface:EventGet a map representation of thisEvent.- Specified by:
asMapin interfaceEvent- Specified by:
asMapin interfaceSerializableAsMap- Overrides:
asMapin classAccountEvent- Returns:
- a
Maprepresentation of thisEvent. This can be used to serialize events. Sub-types are encouraged to override this method, callingsuper.asMap()and enriching the returned mutableMapwith the more specific information added by the sub-type.
-