Skip to main content

CreateUnconfirmedTOTPDevice

Create an unconfirmed TOTP device for the user.

If the user already has an unconfirmed TOTP device, just return it. If the user has a confirmed TOTP device, return an error.

type CreateUnconfirmedTOTPDevice {
device: TOTPDevice
errors: PayloadError
}

Fields

CreateUnconfirmedTOTPDevice.device ● TOTPDevice object

CreateUnconfirmedTOTPDevice.errors ● PayloadError object

Returned By

createUnconfirmedTotpDevice mutation