Skip to main content

MFA Email Challenge screen class

The Email Challenge screen class allows users to verify their email address using MFA.
Import and instantiate the MFA Email Challenge screen class:

Properties

The MFA Email Challenge screen class properties are:

Methods

The MFA Email Challenge screen class method are:

continue( options ?)

This method continues with the email challenge using the provided code.
Parameter                 TypeRequiredDescription
codestringyesCode entered by user.
rememberDevicebooleanNoRemember user’s device.
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

pickEmail( options ?)

This method allows the user to select other emails, if available.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

resendCode( options ?)

This method resends email code.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

tryAnotherMethod( options ?)

This method allows the user to select another MFA option.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

MFA Email List screen class

The MFA Email List screen class allows users to select an enrolled email address for MFA.
Import and instantiate the MFA Email List screen class:

Properties

The MFA Email List screen class properties are:

Methods

The MFA Email List screen class method are:

goBack( options ?)

This method allows the user to navigate to previous screen.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

selectMfaEmail( options ?)

This method allows the user to select from a list of enrolled email address.
Parameter                 TypeRequiredDescription
indexnumberYesThe index of the email address to select.
[key: string]string | number | boolean | undefinedNoOptional data collected from user.