Class OptInMfaRecoveryCodesResetStartedGraphQLEvent

Object
se.curity.identityserver.sdk.data.events.graphql.OptInMfaRecoveryCodesResetStartedGraphQLEvent
All Implemented Interfaces:
SerializableAsMap, Event, GraphQLEvent, UserManagementGraphQLEvent

@Experimental public final class OptInMfaRecoveryCodesResetStartedGraphQLEvent extends Object implements UserManagementGraphQLEvent
Event fired when an OptIn MFA recovery codes reset started via the GraphQL interface.
Since:
10.4
  • Constructor Details

    • OptInMfaRecoveryCodesResetStartedGraphQLEvent

      public OptInMfaRecoveryCodesResetStartedGraphQLEvent(String authenticatedSubject, String accountId, TenantId tenantId)
  • Method Details

    • 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 GraphQLEvent
      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.
    • getAuthenticatedSubject

      public String getAuthenticatedSubject()
      Description copied from interface: GraphQLEvent
      Get the authenticated subject, i.e. who triggered the event.
      Specified by:
      getAuthenticatedSubject in interface GraphQLEvent
      Returns:
      The subject of whoever triggered the event (client or user)
    • getTenantId

      public TenantId getTenantId()
      Returns:
      the tenant ID of the created device.
    • getAccountId

      public String getAccountId()
      Returns:
      the account ID of the user whose recovery codes are being reset.