Class AccountEvent
Object
se.curity.identityserver.sdk.data.events.AccountEvent
- All Implemented Interfaces:
SerializableAsMap,Event
- Direct Known Subclasses:
ActivatedAccountEvent,CreatedAccountEvent,LinkedAccountEvent,UnlinkedAccountEvent
Common base class for account events.
- Since:
- 2.3.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AccountEvent
-
-
Method Details
-
getUsername
Get the username from the affected account.- Returns:
- the username of the activated account
-
asMap
Description copied from interface:EventGet a map representation of thisEvent.- Specified by:
asMapin interfaceEvent- Specified by:
asMapin interfaceSerializableAsMap- 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.
-
toString
-