Class AccountCreatedGraphQLEvent
Object
se.curity.identityserver.sdk.data.events.graphql.AccountCreatedGraphQLEvent
- All Implemented Interfaces:
SerializableAsMap,AuditableEvent,Event,GraphQLEvent,UserManagementGraphQLEvent
@Experimental
public final class AccountCreatedGraphQLEvent
extends Object
implements UserManagementGraphQLEvent, AuditableEvent
Event fired when an account is created via the GraphQL interface.
- Since:
- 7.0
-
Constructor Summary
ConstructorsConstructorDescriptionAccountCreatedGraphQLEvent(String authenticatedSubject, AccountAttributes storedAccount) -
Method Summary
-
Constructor Details
-
AccountCreatedGraphQLEvent
-
-
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 account attributes representing the stored account.- Returns:
- the account attributes representing the stored account
-