MFA Phone Challenge screen class
The Phone Challenge screen class provides methods associated with the mfa-phone-challenge screen. This screen is displayed when the user needs to receive a code to verity their identity.
Properties
The MFA Phone Challenge screen class properties are:Methods
The MFA Phone Challenge screen class methods are:continue( options ?)
This method submits the user’s choice of receiving the MFA code via SMS or voice call. It uses the phone number from the class screen property.Parameter | Type | Required | Description |
---|---|---|---|
type | sms | voice | Yes | define the method to receive the verification code. |
pickPhone( options ?)
This method redirects the user to a phone selection screen.tryAnotherMethod( options ?)
This method redirects the user to the authenticator selection screen.MFA Phone Enrollment screen class
The Device Code Confirmation screen class provides methods associated with the mfa-phone-enrollment screen. This screen is displayed when a user needs to confirm the device code.
Properties
The MFA Phone Enrollment screen class properties are:Methods
The MFA Phone Enrollment screen class methods are:continueEnrollment( options ?)
This method continues the enrollment process with the provided phone number and selected type SMS or voice.Parameter | Type | Required | Description |
---|---|---|---|
phone | string | Yes | The user’s phone number. |
type | sms | voice | Yes | define the method to receive the verification code. |