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

    Interface ResetPasswordMfaWebAuthnRoamingChallengeMembers

    ResetPasswordMfaWebAuthnRoamingChallengeMembers

    Hierarchy

    • BaseMembers
      • ResetPasswordMfaWebAuthnRoamingChallengeMembers

    Implemented by

    Index

    Properties

    Access to the specific properties and data of the reset-password-mfa-webauthn-roaming-challenge screen, including WebAuthn publicKey challenge options and the showRememberDevice flag.

    Methods

    • Reports a client-side WebAuthn API error (from navigator.credentials.get()) to Auth0. This method should be used when useSecurityKey() (or a manual navigator.credentials.get() call) fails due to a browser-side WebAuthn issue (e.g., NotAllowedError if the user cancels the prompt, NotFoundError if no matching authenticator is found, or a timeout). It submits the error details with action: "showError::{errorDetailsJsonString}" and an empty response.

      Parameters

      Returns Promise<void>

      A promise that resolves when the error report is submitted. Auth0 may re-render the page with error information or redirect.

      Throws an error if the form submission fails (e.g., network error, invalid state).

    • Initiates the WebAuthn assertion process (security key challenge). This method will internally call navigator.credentials.get() using the challenge provided in screen.publicKey. On successful interaction with the security key, it submits the resulting PublicKeyCredential to Auth0 with action: "default".

      Parameters

      Returns Promise<void>

      A promise that resolves when the verification attempt is submitted. A successful operation typically results in a redirect by Auth0.

      Throws an error if screen.publicKey is missing, if navigator.credentials.get() fails (e.g., user cancellation, no authenticator found), or if the form submission to Auth0 fails. It's recommended to catch these errors and potentially use showError() to report WebAuthn API specific issues.