> ## Documentation Index
> Fetch the complete documentation index at: https://translations.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# MfaWebAuthnError

> Décrit toutes les propriétés et méthodes disponibles pour personnaliser l’écran `mfa-webauthn-error` dans Universal Login.

La classe MfaWebAuthnError implémente les fonctionnalités de l’écran `mfa-webauthn-error`. Cet écran s’affiche lorsqu’une erreur se produit lors d’une opération WebAuthn.

<Frame>
  <img style={{maxHeight:"400px"}} src="https://mintcdn.com/translations/pvjQqAy3EB2TK6NP/docs/images/cdy7uua7fh8z/4YEVrKX7HVo2LYWyZGxajt/865744113a4dbf5beff6bbce6587d8dc/Screenshot_2025-05-27_at_20.15.31.png?fit=max&auto=format&n=pvjQqAy3EB2TK6NP&q=85&s=229dfbb012a91fc14df003006de2eb31" alt="MfaWebAuthnError" width="363" height="487" data-path="docs/images/cdy7uua7fh8z/4YEVrKX7HVo2LYWyZGxajt/865744113a4dbf5beff6bbce6587d8dc/Screenshot_2025-05-27_at_20.15.31.png" />
</Frame>

<div id="constructors">
  ## Constructeurs
</div>

Créez une instance du gestionnaire de l’écran d’erreur MFA WebAuthn :

```typescript Example theme={null}
import MfaWebAuthnError from '@auth0/auth0-acul-js/mfa-webauthn-error';

const mfaWebAuthnError = new MfaWebAuthnError();
await mfaWebAuthnError.tryAgain();
```

<div id="properties">
  ## Propriétés
</div>

<ParamField body="branding" type={<span><a href="/fr-CA/docs/libraries/acul/js-sdk/Screens/interfaces/BrandingMembers">BrandingMembers</a></span>}>
  Fournit la configuration liée à l’image de marque, notamment le thème et les paramètres.
</ParamField>

<ParamField body="client" type={<span><a href="/fr-CA/docs/libraries/acul/js-sdk/Screens/interfaces/ClientMembers">ClientMembers</a></span>}>
  Fournit la configuration liée à l’application, comme `id`, `name` et `logoUrl`, pour l’écran `mfa-webauthn-error`.
</ParamField>

<ParamField body="organization" type={<span><a href="/fr-CA/docs/libraries/acul/js-sdk/Screens/interfaces/OrganizationMembers">OrganizationMembers</a></span>}>
  Fournit des renseignements sur l’Organisation de l’utilisateur, comme `id` et `name`.
</ParamField>

<ParamField body="prompt" type={<span><a href="/fr-CA/docs/libraries/acul/js-sdk/Screens/interfaces/PromptMembers">PromptMembers</a></span>}>
  Contient des données sur l’invite en cours dans le flux d’authentification.
</ParamField>

<ParamField body="screen" type={<span><a href="/fr-CA/docs/libraries/acul/js-sdk/Screens/interfaces/ScreenMembersOnMfaWebAuthnError">ScreenMembersOnMfaWebAuthnError</a></span>}>
  Contient des détails propres à l’écran `mfa-webauthn-error`, y compris sa configuration et son contexte.
</ParamField>

<ParamField body="tenant" type={<span><a href="/fr-CA/docs/libraries/acul/js-sdk/Screens/interfaces/TenantMembers">TenantMembers</a></span>}>
  Contient des données liées au locataire, comme `id` et les métadonnées associées.
</ParamField>

<ParamField body="transaction" type={<span><a href="/fr-CA/docs/libraries/acul/js-sdk/Screens/interfaces/TransactionMembers">TransactionMembers</a></span>}>
  Fournit des données propres à la transaction pour l’écran `mfa-webauthn-error`, comme les identifiants actifs et les états du flux.
</ParamField>

<ParamField body="untrustedData" type={<span><a href="/fr-CA/docs/libraries/acul/js-sdk/Screens/interfaces/UntrustedDataMembers">UntrustedDataMembers</a></span>}>
  Gère les données non fiables transmises au SDK, comme la saisie de l’utilisateur lors du traitement des erreurs MFA WebAuthn.
</ParamField>

<ParamField body="user" type={<span><a href="/fr-CA/docs/libraries/acul/js-sdk/Screens/interfaces/UserMembers">UserMembers</a></span>}>
  Contient les détails de l’utilisateur actif, notamment `username`, `email` et `roles`.
</ParamField>

<div id="methods">
  ## Méthodes
</div>

<ParamField body="changeLanguage" type="Promise<void>">
  Cette méthode modifie la langue d’affichage de la page Universal Login.

  ```typescript Example theme={null}
  import MfaWebAuthnError from '@auth0/auth0-acul-js/mfa-webauthn-error';

  const mfaWebAuthnError = new MfaWebAuthnError();
  mfaWebAuthnError.changeLanguage({
    language: 'fr',
  });
  ```

  **Paramètres de la méthode**

  <Expandable title="Paramètres">
    <ParamField body="options">
      [LanguageChangeOptions](/fr-CA/docs/libraries/acul/js-sdk/Screens/interfaces/LanguageChangeOptions).
    </ParamField>

    <ParamField body="language" type="string" required>
      Le code de langue souhaité (par exemple, `'en'`, `'fr'`, `'es'`).
    </ParamField>

    <ParamField body="persist?" type="&#x22;session&#x22;">
      Lorsqu’elle est définie sur `'session'`, la langue sélectionnée est conservée pendant toute la durée de la session.
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="getErrors" type={<span><a href="/fr-CA/docs/libraries/acul/js-sdk/Screens/interfaces/Error">Error</a>[]</span>}>
  Cette méthode récupère le tableau des erreurs de transaction à partir du contexte, ou un tableau vide s’il n’y en a aucune.
</ParamField>

<ParamField body="noThanks" type="Promise<void>">
  Cette méthode permet à l’utilisateur de refuser l’opération WebAuthn en cours.

  ```typescript Example theme={null}
  import MfaWebAuthnError from '@auth0/auth0-acul-js/mfa-webauthn-error';

  const mfaWebAuthnError = new MfaWebAuthnError();
  await mfaWebAuthnError.noThanks();
  ```
</ParamField>

<ParamField body="tryAgain" type="Promise<void>">
  Cette méthode permet à l’utilisateur de réessayer l’opération WebAuthn précédente.

  ```typescript Example theme={null}
  import MfaWebAuthnError from '@auth0/auth0-acul-js/mfa-webauthn-error';

  const mfaWebAuthnError = new MfaWebAuthnError();
  await mfaWebAuthnError.tryAgain();
  ```
</ParamField>

<ParamField body="tryAnotherMethod" type="Promise<void>">
  Cette méthode permet à l’utilisateur d’essayer une autre méthode de MFA.

  ```typescript Example theme={null}
  import MfaWebAuthnError from '@auth0/auth0-acul-js/mfa-webauthn-error';

  const mfaWebAuthnError = new MfaWebAuthnError();
  await mfaWebAuthnError.tryAnotherMethod();
  ```
</ParamField>

<ParamField body="usePassword" type="Promise<void>">
  Cette méthode permet à l’utilisateur de s’authentifier avec son mot de passe plutôt qu’avec WebAuthn.

  ```typescript Example theme={null}
  import MfaWebAuthnError from '@auth0/auth0-acul-js/mfa-webauthn-error';

  const mfaWebAuthnError = new MfaWebAuthnError();
  await mfaWebAuthnError.usePassword();
  ```
</ParamField>
