Class CredentialManagerEvent
Object
se.curity.identityserver.sdk.data.events.CredentialManagerEvent
- All Implemented Interfaces:
SerializableAsMap,Event
- Direct Known Subclasses:
FailedVerificationCredentialManagerEvent,PasswordUpdatedCredentialManagerEvent,SuccessfulVerificationCredentialManagerEvent
Common base class for all credential manager events.
- Since:
- 3.0.0
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCredentialManagerEvent(String credentialManagerId, String subjectId) -
Method Summary
Modifier and TypeMethodDescriptionasMap()Get a map representation of thisEvent.Get the ID ofCredentialManagerperformed the action.Get the subject of whoever performed the credential action.toString()
-
Constructor Details
-
CredentialManagerEvent
-
-
Method Details
-
getCredentialManagerId
Get the ID ofCredentialManagerperformed the action.- Returns:
- the authenticated subject
-
getSubject
Get the subject of whoever performed the credential action.- Returns:
- the authenticated subject
-
toString
-
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.
-