verifyMfaPhoneNumberRegistration

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

About this command

Completes the phone number as a second factor registration process. It also automatically verifies the existing phone number for the user.

Examples

client.verifyMfaPhoneNumberRegistration({
    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>