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;
    screen: ScreenMembersOnMfaVoiceChallenge;
    tenant: TenantMembers;
    transaction: TransactionMembers;
    untrustedData: UntrustedDataMembersOnMfaVoiceChallenge;
    user: UserMembers;
    continue(payload: MfaVoiceChallengeContinueOptions): Promise<void>;
    pickPhone(payload?: CustomOptions): Promise<void>;
    resendCode(payload?: CustomOptions): Promise<void>;
    switchToSms(payload?: CustomOptions): Promise<void>;
    tryAnotherMethod(payload?: CustomOptions): Promise<void>;
}

Hierarchy

  • BaseMembers
    • MfaVoiceChallengeMembers

Implemented by

Properties

branding: BrandingMembers
organization: OrganizationMembers

Screen-specific properties and data.

transaction: TransactionMembers

Methods

  • 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();
  • 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();
  • 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();
  • 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();