OBJECT

TotpTwoFactorAuthenticationMutationSection

TOTP two factor authentication management for the logged user

link GraphQL Schema definition

  • type TotpTwoFactorAuthenticationMutationSection {
  • # Starts (or restarts, e.g. to re-pair) TOTP setup; returns a QR code to scan.
  • # Nothing is enabled until setupVerify confirms it; requires prior
  • # confirmManagementAccess
  • setupStart: TotpTwoFactorAuthenticationMutationSectionSetupStartOutput!
  • # Confirms the code matches the seed generated by the latest setupStart and
  • # enables 2FA with it; requires prior confirmManagementAccess
  • #
  • # Arguments
  • # code: The 6-digit code currently shown by the authenticator app
  • # currentCode: Current 6-digit code from the already paired
  • # authenticator app; required when re-pairing
  • setupVerify(code: String!, currentCode: String): TotpTwoFactorAuthenticationMutationSectionSetupVerifyOutput!
  • # Disables TOTP two factor authentication for the logged user; requires prior
  • # confirmManagementAccess
  • #
  • # Arguments
  • # currentCode: Current 6-digit code from the paired authenticator
  • # app; required when 2FA is enabled
  • disable(currentCode: String): TotpTwoFactorAuthenticationMutationSectionDisableOutput!
  • }