startMfaEmailRegistration

client.startMfaEmailRegistration({
  accessToken: string,
  // Optional arguments
  redirectUrl: string
})

About this command

Starts the MFA email registration flow. When started, an email is sent to the user for verification.

Examples

client.startMfaEmailRegistration({
    accessToken: 'eyJ0eXAiOiJKV1QiL...',
    redirectUrl: 'https://example.com/redirect'
  })

Parameters

accessToken string

The authorization credential JSON Web Token (JWT) used to access the ReachFive API, less than five minutes old.

redirectUrl string

The URL sent in the email to which the user is redirected. This URL must be whitelisted in the Allowed Callback URLs field of your ReachFive client settings.

Response

Type: Promise<void>