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

    Interface MfaVoiceChallengeMembers

    Interface defining all members and operations available on the MFA Voice Challenge screen.

    interface MfaVoiceChallengeMembers {
        branding: BrandingMembers;
        client: ClientMembers;
        organization: OrganizationMembers;
        prompt: PromptMembers;
        tenant: TenantMembers;
        transaction: TransactionMembers;
        user: UserMembers;
        getErrors(): Error[];
        changeLanguage(options: LanguageChangeOptions): Promise<void>;
        screen: ScreenMembersOnMfaVoiceChallenge;
        untrustedData: UntrustedDataMembersOnMfaVoiceChallenge;
        continue(payload: MfaVoiceChallengeContinueOptions): Promise<void>;
        pickPhone(payload?: CustomOptions): Promise<void>;
        switchToSms(payload?: CustomOptions): Promise<void>;
        resendCode(payload?: CustomOptions): Promise<void>;
        tryAnotherMethod(payload?: CustomOptions): Promise<void>;
        resendManager(options?: StartResendOptions): ResendControl;
    }

    Hierarchy (View Summary)

    Index

    Properties

    branding: BrandingMembers
    organization: OrganizationMembers
    transaction: TransactionMembers

    Screen-specific properties and data.

    Methods

    • Returns Error[]

    • Submits the voice verification code to validate the MFA challenge.

      Parameters

      Returns Promise<void>

      Promise that resolves when the code is successfully validated

      const mfaVoiceChallenge = new MfaVoiceChallenge();
      mfaVoiceChallenge.continue({
      code: '123456',
      rememberDevice: true
      });
    • Navigates to the screen for selecting a different phone number.

      Parameters

      Returns Promise<void>

      Promise that resolves when navigation is complete

      const mfaVoiceChallenge = new MfaVoiceChallenge();
      mfaVoiceChallenge.pickPhone();
    • Switches to SMS verification method instead of voice call.

      Parameters

      Returns Promise<void>

      Promise that resolves when switching is complete

      const mfaVoiceChallenge = new MfaVoiceChallenge();
      mfaVoiceChallenge.switchToSms();
    • Requests a new voice call with a verification code.

      Parameters

      Returns Promise<void>

      Promise that resolves when the new code is sent

      const mfaVoiceChallenge = new MfaVoiceChallenge();
      mfaVoiceChallenge.resendCode();
    • Navigates to the screen for selecting an alternative MFA method.

      Parameters

      Returns Promise<void>

      Promise that resolves when navigation is complete

      const mfaVoiceChallenge = new MfaVoiceChallenge();
      mfaVoiceChallenge.tryAnotherMethod();
    • Gets resend functionality with timeout management for this screen

      Parameters

      Returns ResendControl