verifyMfaEmailRegistration

client.verifyMfaEmailRegistration({
  accessToken: string,
  verificationCode: string,
  trustDevice: boolean
})

About this command

Completes the email registration process for use as a second factor credential (MFA).

Examples

client.verifyMfaEmailRegistration({
    accessToken: 'eyJ0eXAiOiJKV1QiL...',
    verificationCode: '13..31'
})

Parameters

accessToken string

The authorization credential JSON Web Token (JWT) used to access the ReachFive API.

verificationCode string

The verification code sent by email or SMS.

trustDevice boolean

Boolean indicating if the device should be trusted or not.

Defaults to false.

Response

Type: Promise<void>