@auth0/auth0-acul-js - v0.1.0-beta.5
    Preparing search index...

    Interface MfaWebAuthnErrorMembers

    MfaWebAuthnErrorMembers

    interface MfaWebAuthnErrorMembers {
        branding: Classes.BrandingMembers;
        client: Classes.ClientMembers;
        organization: Classes.OrganizationMembers;
        prompt: Classes.PromptMembers;
        screen: Classes.ScreenMembers;
        tenant: Classes.TenantMembers;
        transaction: Classes.TransactionMembers;
        untrustedData: Classes.UntrustedDataMembers;
        user: Classes.UserMembers;
        noThanks(payload?: Classes.CustomOptions): Promise<void>;
        tryAgain(payload?: Classes.CustomOptions): Promise<void>;
        tryAnotherMethod(payload?: Classes.CustomOptions): Promise<void>;
        usePassword(payload?: Classes.CustomOptions): Promise<void>;
    }

    Hierarchy

    • BaseMembers
      • MfaWebAuthnErrorMembers

    Implemented by

    Index

    Properties

    Methods

    • Allows the user to refuse adding a device or completing the WebAuthn step, effectively declining the current WebAuthn flow. This action is typically used in enrollment scenarios where the user decides not to proceed.

      Parameters

      Returns Promise<void>

      A promise that resolves when the action is successfully submitted.

      Throws an error if the submission fails.

      // Assuming 'sdk' is an instance of MfaWebAuthnError
      await sdk.noThanks();
    • Allows the user to attempt the previous WebAuthn operation again. This typically redirects the user back to the screen where the WebAuthn operation was initiated.

      Parameters

      Returns Promise<void>

      A promise that resolves when the action is successfully submitted.

      Throws an error if the submission fails.

      // Assuming 'sdk' is an instance of MfaWebAuthnError
      await sdk.tryAgain();
    • Allows the user to select a different MFA method if other factors are enrolled or available. This navigates the user to an authenticator selection screen.

      Parameters

      Returns Promise<void>

      A promise that resolves when the action is successfully submitted.

      Throws an error if the submission fails.

      // Assuming 'sdk' is an instance of MfaWebAuthnError
      await sdk.tryAnotherMethod();
    • Allows the user to opt for password-based authentication as an alternative, if configured. This is typically available if the primary authentication or a previous step involved a password.

      Parameters

      Returns Promise<void>

      A promise that resolves when the action is successfully submitted.

      Throws an error if the submission fails.

      // Assuming 'sdk' is an instance of MfaWebAuthnError
      await sdk.usePassword();