Represents the MFA SMS Enrollment screen.

Hierarchy

  • BaseContext
    • MfaSmsEnrollment

Implements

Constructors

Properties

branding: BrandingMembers
organization: OrganizationMembers
transaction: TransactionMembers
untrustedData: UntrustedDataMembers
screenIdentifier: string = ScreenIds.MFA_SMS_ENROLLMENT

Methods

  • Continues the SMS enrollment process with the provided phone number.

    Parameters

    Returns Promise<void>

    A promise that resolves when the enrollment process is complete.

    If the phone number is missing.

    import MfaSmsEnrollment from '@auth0/auth0-acul-js/mfa-sms-enrollment';

    const mfaSmsEnrollment = new MfaSmsEnrollment();
    await mfaSmsEnrollment.continueEnrollment({ phone: '1234567890' });
  • Handles the action to pick a country code for SMS enrollment.

    Parameters

    • Optionalpayload: CustomOptions

      Optional custom options to include in the request.

    Returns Promise<void>

    A promise that resolves when the action is complete.

    import MfaSmsEnrollment from '@auth0/auth0-acul-js/mfa-sms-enrollment';

    const mfaSmsEnrollment = new MfaSmsEnrollment();
    await mfaSmsEnrollment.pickCountryCode();
  • Handles the action to try another method for MFA.

    Parameters

    • Optionalpayload: CustomOptions

      Optional custom options to include in the request.

    Returns Promise<void>

    A promise that resolves when the action is complete.

    import MfaSmsEnrollment from '@auth0/auth0-acul-js/mfa-sms-enrollment';

    const mfaSmsEnrollment = new MfaSmsEnrollment();
    await mfaSmsEnrollment.tryAnotherMethod();