Interface ResetPasswordMfaVoiceChallengeMembers

Interface defining the available methods and properties for the reset-password-mfa-voice-challenge screen.

interface ResetPasswordMfaVoiceChallengeMembers {
    branding: BrandingMembers;
    client: ClientMembers;
    organization: OrganizationMembers;
    prompt: PromptMembers;
    screen: ScreenMembersOnResetPasswordMfaVoiceChallenge;
    tenant: TenantMembers;
    transaction: TransactionMembers;
    untrustedData: UntrustedDataMembers;
    user: UserMembers;
    continue(payload: {
        code: string;
    } & CustomOptions): Promise<void>;
    resendCode(payload?: CustomOptions): Promise<void>;
    switchToSms(payload?: CustomOptions): Promise<void>;
    tryAnotherMethod(payload?: CustomOptions): Promise<void>;
}

Hierarchy

  • BaseMembers
    • ResetPasswordMfaVoiceChallengeMembers

Implemented by

Properties

branding: BrandingMembers
organization: OrganizationMembers
transaction: TransactionMembers
untrustedData: UntrustedDataMembers

Methods

  • Continues with the voice challenge using the provided code.

    Parameters

    • payload: {
          code: string;
      } & CustomOptions

      The options containing the code.

    Returns Promise<void>

    A promise that resolves when the challenge is submitted.

    const reset = new ResetPasswordMfaVoiceChallenge();
    await reset.continue({ code: '123456' });