Class AccountUpdatedGraphQLEvent
Object
se.curity.identityserver.sdk.data.events.graphql.AccountUpdatedGraphQLEvent
- All Implemented Interfaces:
SerializableAsMap,AuditableEvent,Event,GraphQLEvent,UserManagementGraphQLEvent
@Experimental
public final class AccountUpdatedGraphQLEvent
extends Object
implements UserManagementGraphQLEvent, AuditableEvent
Event fired when an account is updated via the GraphQL interface.
- Since:
- 7.0
-
Constructor Summary
ConstructorsConstructorDescriptionAccountUpdatedGraphQLEvent(String authenticatedSubject, AccountAttributes storedAccount) -
Method Summary
-
Constructor Details
-
AccountUpdatedGraphQLEvent
-
-
Method Details
-
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 interfaceGraphQLEvent- 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.
-
getAuthenticatedSubject
Description copied from interface:GraphQLEventGet the authenticated subject, i.e. who triggered the event.- Specified by:
getAuthenticatedSubjectin interfaceGraphQLEvent- Returns:
- The subject of whoever triggered the event (client or user)
-
getStoredAccount
Get the accounts attributes representing the stored account after the update.- Returns:
- the account attributes representing the stored account after the update.
-