Class CredentialManagerEvent

Object
se.curity.identityserver.sdk.data.events.CredentialManagerEvent
All Implemented Interfaces:
SerializableAsMap, Event
Direct Known Subclasses:
FailedVerificationCredentialManagerEvent, PasswordUpdatedCredentialManagerEvent, SuccessfulVerificationCredentialManagerEvent

public abstract class CredentialManagerEvent extends Object implements Event
Common base class for all credential manager events.
Since:
3.0.0
  • Constructor Details

    • CredentialManagerEvent

      protected CredentialManagerEvent(String credentialManagerId, String subjectId)
  • Method Details

    • getCredentialManagerId

      public String getCredentialManagerId()
      Get the ID of CredentialManager performed the action.
      Returns:
      the authenticated subject
    • getSubject

      public String getSubject()
      Get the subject of whoever performed the credential action.
      Returns:
      the authenticated subject
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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
      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.