Class ScimEvent
Object
se.curity.identityserver.sdk.data.events.ScimEvent
- All Implemented Interfaces:
SerializableAsMap,Event
- Direct Known Subclasses:
AccountCreatedScimEvent,AccountDeletedScimEvent,AccountReadScimEvent,AccountSearchScimEvent,AccountUpdatedScimEvent,RevokedDelegationScimEvent
Common base class for any event triggered by SCIM actions.
- Since:
- 2.2.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ScimEvent
Construct aScimEventwith a given authenticated subject (who triggered the event) and a profile ID.- Parameters:
authenticatedSubject- The subject of whoever triggered the event (client or user)profileId- The ID a profile from which this event originated
-
-
Method Details
-
getAuthenticatedSubject
Get the authenticated subject, i.e. who triggered the event.- Returns:
- The subject of whoever triggered the event (client or user)
-
getProfileId
Get the ID of the profile from which this event originated- Returns:
- profile ID
- Since:
- 7.0.0
-
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
-