Skip to main content

MFA Recovery Code Challenge screen class

The Recovery Code Challenge screen class provides methods associated with the mfa-recovery-code-challenge screen. This screen is displayed when the user needs to enter a recovery code to log in.
Import and instantiate the MFA Recovery Code Challenge screen class:

Properties

The MFA Recovery Code Challenge screen class properties are:

Methods

The MFA Recovery Code Challenge screen class methods are:

continue( options ?)

This method continues the MFA Recovery Code Challenge flow.
Parameter                 TypeRequiredDescription
codestringYesThe code entered by the user.
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

tryAnotherMethod( options ?)

This method asks the user to try another challenge.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

MFA Recovery Code Challenge New Code screen class

The MFA Recovery Code Challenge New Code screen class provides methods associated with the mfa-recovery-code-challenge-new-code screen. This screen displays the MFA recovery code for safe keeping.
Import and instantiate the MFA Recovery Code Challenge New Code screen class:

Properties

The MFA Recovery Code Challenge New Code screen class properties are:

Methods

The MFA Recovery Code Challenge New Code screen class methods is:

continue( options? )

This method confirms that the user has saved the new recovery code and continues the authentication flow.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

MFA Recovery Code Enrollment screen class

The MFA Recovery Code Enrollment screen class provides methods associated with the mfa-recovery-code-enrollment screen. This screen displays the MFA recovery code for safe keeping.
Import and instantiate the MFA Recovery Code Enrollment screen class:

Properties

The MFA Recovery Code Enrollment screen class properties are:

Methods

The MFA Recovery Code Enrollment screen class methods is:

continue( options? )

This method declares that the user has confirmed that they saved their recovery code and continues to the next screen in the authentication flow.
Parameter                 TypeRequiredDescription
isCodeCopiedbooleanYesThe user confirms to have copied the recovery code.
[key: string]string | number | boolean | undefinedNoOptional data collected from user.