@auth0/auth0-acul-js - v1.0.0
    Preparing search index...

    Interface MfaPhoneChallengeMembers

    MfaPhoneChallengeMembers

    interface MfaPhoneChallengeMembers {
        branding: Screens.BrandingMembers;
        client: Screens.ClientMembers;
        organization: Screens.OrganizationMembers;
        prompt: Screens.PromptMembers;
        screen: Screens.ScreenMembersOnMfaPhoneChallenge;
        tenant: Screens.TenantMembers;
        transaction: Screens.TransactionMembers;
        untrustedData: Screens.UntrustedDataMembers;
        user: Screens.UserMembers;
        changeLanguage(options: Screens.LanguageChangeOptions): Promise<void>;
        continue(payload: Screens.MfaPhoneChallengeContinueOptions): Promise<void>;
        getErrors(): Screens.Error[];
        pickPhone(
            payload?: Screens.MfaPhoneChallengePickPhoneOptions,
        ): Promise<void>;
        tryAnotherMethod(
            payload?: Screens.MfaPhoneChallengePickAuthenticatorOptions,
        ): Promise<void>;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    Methods

    • continue Submits the choice of MFA delivery method (SMS or Voice) to proceed with the challenge. This will trigger sending the verification code to the user's phone.

      Parameters

      Returns Promise<void>

      A promise that resolves when the action is submitted.

      Throws an error if the submission fails.

      import MfaPhoneChallenge from '@auth0/auth0-acul-js/mfa-phone-challenge';

      const mfaPhoneChallenge = new MfaPhoneChallenge();

      // To send the code via SMS
      await mfaPhoneChallenge.continue({ type: 'sms' });

      // To send the code via Voice Call
      await mfaPhoneChallenge.continue({ type: 'voice' });
    • pickPhone Initiates the action to pick a different phone number. This typically redirects the user to a screen where they can select from multiple enrolled phone numbers, if applicable.

      Parameters

      Returns Promise<void>

      A promise that resolves when the action is submitted.

      Throws an error if the submission fails.

      import MfaPhoneChallenge from '@auth0/auth0-acul-js/mfa-phone-challenge';

      const mfaPhoneChallenge = new MfaPhoneChallenge();
      await mfaPhoneChallenge.pickPhone();
    • tryAnotherMethod Initiates the action to select a different MFA factor/authenticator. This redirects the user to a screen where they can choose an alternative MFA method (e.g., OTP app, recovery code).

      Parameters

      Returns Promise<void>

      A promise that resolves when the action is submitted.

      Throws an error if the submission fails.

      import MfaPhoneChallenge from '@auth0/auth0-acul-js/mfa-phone-challenge';

      const mfaPhoneChallenge = new MfaPhoneChallenge();
      await mfaPhoneChallenge.tryAnotherMethod();