Skip to main content

MFA SMS Challenge screen class

The SMS Challenge screen class provides methods associated with the mfa-sms-challenge screen.
Import and instantiate the MFA SMS Challenge screen class:

Properties

The MFA SMS Challenge screen class properties are:

Methods

The MFA SMS Challenge screen class method are:

continueMfaSmsChallenge( options ?)

This method submits the entered verification code and rememberBrowser option.
Parameter                 TypeRequiredDescription
codestringYesThe code entered by the user.
rememberBrowserbooleanNoRemember the user’s browser configuration.
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

getACall( options ?)

This method allows to send the verification code by voice call verification.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

pickSms( options ?)

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

resendCode( options ?)

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

tryAnotherMethod( options ?)

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

MFA SMS Enrollment screen class

The MFA SMS Enrollment screen class provides methods associated with the mfa-sms-enrollment screen.
Import and instantiate the MFA SMS Enrollment screen class:

Properties

The MFA SMS Enrollment screen class properties are:

Methods

The MFA SMS Enrollment screen class method are:

continueEnrollment( options ?)

This method continues the SMS enrollment process with the provided phone number.
Parameter                 TypeRequiredDescription
captchastringConditionallyThe captcha code or response from the captcha provider.
phonestringNoThe phone number entered by the user.
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

pickCountryCode( options ?)

This method handles the action to select a country code for SMS enrollment.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

tryAnotherMethod( options ?)

This method handles the action to try another method for MFA.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

MFA SMS List screen class

The MFA SMS List screen class provides methods associated with the mfa-sms-list screen.
Import and instantiate the MFA SMS List screen class:

Properties

The MFA SMS List screen class properties are:

Methods

The MFA SMS List screen class method are:

backAction( options ?)

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

selectPhoneNumber( options ?)

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

MFA Country Codes screen class

The MFA Country Codes screen class allows users to select a country code for MFA phone number verification.
Import and instantiate the MFA Country Codes screen class:

Properties

The MFA Country Codes screen class properties are:

Methods

The MFA Country Codes screen class method are:

goBack( options ?)

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

selectCountryCode( options ?)

This method allows the user to select a country code.
Parameter                 TypeRequiredDescription
country_codestringYesCountry code to select.
phone_prefixstringYesPhone prefix to select.
[key: string]string | number | boolean | undefinedNoOptional data collected from user.