Class CredentialPolicyStateReadGraphQLEvent
Object
se.curity.identityserver.sdk.data.events.graphql.CredentialPolicyStateReadGraphQLEvent
- All Implemented Interfaces:
SerializableAsMap
,Event
,GraphQLEvent
,UserManagementGraphQLEvent
public final class CredentialPolicyStateReadGraphQLEvent
extends Object
implements UserManagementGraphQLEvent
Event fired when credential policies states are read via the GraphQL interface.
- Since:
- 10.0
-
Constructor Summary
ConstructorsConstructorDescriptionCredentialPolicyStateReadGraphQLEvent
(String authenticatedSubject, String username, TenantId tenantId, MapAttributeValue attributesRead) -
Method Summary
-
Constructor Details
-
CredentialPolicyStateReadGraphQLEvent
public CredentialPolicyStateReadGraphQLEvent(String authenticatedSubject, String username, TenantId tenantId, MapAttributeValue attributesRead)
-
-
Method Details
-
getAuthenticatedSubject
Description copied from interface:GraphQLEvent
Get the authenticated subject, i.e. who triggered the event.- Specified by:
getAuthenticatedSubject
in interfaceGraphQLEvent
- Returns:
- The subject of whoever triggered the event (client or user)
-
getUsername
Get the username ID of the user whose credential policy states are being read.- Returns:
- username
-
getAttributesRead
Get the credential policy state read for the user.- Returns:
- policy state
-
getTenantId
- Returns:
- the tenant ID.
-
asMap
Description copied from interface:Event
Get a map representation of thisEvent
.- Specified by:
asMap
in interfaceEvent
- Specified by:
asMap
in interfaceGraphQLEvent
- Specified by:
asMap
in interfaceSerializableAsMap
- Returns:
- a
Map
representation of thisEvent
. This can be used to serialize events. Sub-types are encouraged to override this method, callingsuper.asMap()
and enriching the returned mutableMap
with the more specific information added by the sub-type.
-