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

# ResetPasswordMfaPushChallengePush

<Frame>
  <img style={{maxHeight:"400px"}} src="https://mintcdn.com/generaltranslationinc/Tx-zTp2kMjjdY0gu/docs/images/cdy7uua7fh8z/5ANIhgOJURo2z0YXmWKp7M/5f266f0a935c047d6159874cbfc2001a/Screenshot_2025-03-26_at_09.15.46.png?fit=max&auto=format&n=Tx-zTp2kMjjdY0gu&q=85&s=1fdb5dae5e3092377da014b8591d561b" alt="" width="364" height="556" data-path="docs/images/cdy7uua7fh8z/5ANIhgOJURo2z0YXmWKp7M/5f266f0a935c047d6159874cbfc2001a/Screenshot_2025-03-26_at_09.15.46.png" />
</Frame>

Classe qui représente la fonctionnalité de l'écran reset-password-mfa-push-challenge-push
Cet écran s'affiche lorsqu'une notification push est envoyée à l'appareil de l'utilisateur durant la réinitialisation du mot de passe

```ts Example theme={null}
import ResetPasswordMfaPushChallengePush from '@auth0/auth0-acul-js/reset-password-mfa-push-challenge-push';

const resetPasswordMfaPushChallengePush = new ResetPasswordMfaPushChallengePush();
await resetPasswordMfaPushChallengePush.continue();
```

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

<ParamField body="ResetPasswordMfaPushChallengePush" type="Constructor" />

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

<ParamField body="branding" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/BrandingMembers">BrandingMembers</a></span>} />

<ParamField body="client" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/ClientMembers">ClientMembers</a></span>} />

<ParamField body="organization" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/OrganizationMembers">OrganizationMembers</a></span>} />

<ParamField body="prompt" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/PromptMembers">PromptMembers</a></span>} />

<ParamField body="screen" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/ScreenMembersOnResetPasswordMfaPushChallengePush">ScreenMembersOnResetPasswordMfaPushChallengePush</a></span>} />

<ParamField body="tenant" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/TenantMembers">TenantMembers</a></span>} />

<ParamField body="transaction" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/TransactionMembers">TransactionMembers</a></span>} />

<ParamField body="untrustedData" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/UntrustedDataMembers">UntrustedDataMembers</a></span>} />

<ParamField body="user" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/UserMembers">UserMembers</a></span>} />

<ParamField body="screenIdentifier" type="string" />

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

<ParamField body="continue" type="Promise<void>">
  Poursuit le défi par notification push

  ```typescript Example theme={null}
  import ResetPasswordMfaPushChallengePush from '@auth0/auth0-acul-js/reset-password-mfa-push-challenge-push';

  const resetPasswordMfaPushChallengePush = new ResetPasswordMfaPushChallengePush();
  await resetPasswordMfaPushChallengePush.continue();
  ```

  <Expandable title="Paramètres">
    <ParamField body="payload?" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/CustomOptions">CustomOptions</a></span>}>
      Options personnalisées facultatives à inclure dans la requête
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="enterCodeManually" type="Promise<void>">
  Permet de passer à la saisie manuelle du code de vérification

  ```typescript Example theme={null}
  import ResetPasswordMfaPushChallengePush from '@auth0/auth0-acul-js/reset-password-mfa-push-challenge-push';

  const resetPasswordMfaPushChallengePush = new ResetPasswordMfaPushChallengePush();
  await resetPasswordMfaPushChallengePush.enterCodeManually();
  ```

  <Expandable title="Paramètres">
    <ParamField body="payload?" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/CustomOptions">CustomOptions</a></span>}>
      Options personnalisées facultatives à inclure dans la requête
    </ParamField>
  </Expandable>
</ParamField>

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

  Un tableau d’objets d’erreur provenant du contexte de transaction.
</ParamField>

<ParamField body="pollingManager" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/MfaPushPollingControl">MfaPushPollingControl</a></span>}>
  **`Utility Feature`**

  Démarre et gère le sondage pour un défi AMF (MFA) par notification push.

  Crée une session de sondage qui interroge de façon répétée le point de terminaison du défi AMF par notification push
  à l’intervalle spécifié jusqu’à ce que le défi soit approuvé ou qu’une erreur se produise.
  Lorsque la condition d’approbation est remplie, le rappel
  [onCompleted](/docs/fr-CA/libraries/acul/js-sdk/Screens/type-aliases/MfaPollingOptions#oncompleted) fourni est invoqué et
  le sondage s’arrête automatiquement.

  Utilisez l’instance [MfaPushPollingControl](/docs/fr-CA/libraries/acul/js-sdk/Screens/interfaces/MfaPushPollingControl) renvoyée pour démarrer, arrêter ou vérifier
  l’état du processus de sondage à tout moment.

  Une instance [MfaPushPollingControl](/docs/fr-CA/libraries/acul/js-sdk/Screens/interfaces/MfaPushPollingControl) qui expose :

  * `startPolling()` — Démarre ou reprend le sondage.
  * `stopPolling()` — Annule immédiatement le sondage.
  * `isRunning()` — Indique si le sondage est actuellement actif.

  ```ts Example theme={null}
  // Démarrer le sondage toutes les 5 secondes jusqu’à ce que le défi push soit approuvé
  const control = mfaPushChallengePush.pollingManager({
    intervalMs: 5000,
    onCompleted: () => mfaPushChallengePush.continue(),
    onError: (error) => console.error('Polling error:', error),
  });

  // Plus tard, annuler le sondage au besoin
  control.stopPolling();
  ```

  #### Remarques

  * Les réponses HTTP 429 (limite de débit) sont gérées en interne : le sondage attend automatiquement
    que la limite de débit soit réinitialisée avant de réessayer.
  * Il est sécuritaire d’appeler `startPolling()` plusieurs fois; cela n’a aucun effet si le sondage est déjà en cours.

  <Expandable title="Paramètres">
    <ParamField body="options" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/type-aliases/MfaPollingOptions">MfaPollingOptions</a></span>}>
      **Propriétés**

      <ParamField body="MfaPollingOptions" type="object" />

      <ParamField body="intervalMs?" type="number" />

      <ParamField body="onCompleted()?" type="() => void" />

      <ParamField body="onError()?" type="(error) => void" />

      <ParamField body="code" type="string" />

      <ParamField body="field?" type="string" />

      <ParamField body="message" type="string" />
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="resendPushNotification" type="Promise<void>">
  Renvoie la notification push

  ```typescript Example theme={null}
  import ResetPasswordMfaPushChallengePush from '@auth0/auth0-acul-js/reset-password-mfa-push-challenge-push';

  const resetPasswordMfaPushChallengePush = new ResetPasswordMfaPushChallengePush();
  await resetPasswordMfaPushChallengePush.resendPushNotification();
  ```

  <Expandable title="Paramètres">
    <ParamField body="payload?" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/CustomOptions">CustomOptions</a></span>}>
      Options personnalisées facultatives à inclure dans la requête
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="tryAnotherMethod" type="Promise<void>">
  Permet d’essayer une autre méthode d’authentification

  ```typescript Example theme={null}
  import ResetPasswordMfaPushChallengePush from '@auth0/auth0-acul-js/reset-password-mfa-push-challenge-push';

  const resetPasswordMfaPushChallengePush = new ResetPasswordMfaPushChallengePush();
  await resetPasswordMfaPushChallengePush.tryAnotherMethod();
  ```

  <Expandable title="Paramètres">
    <ParamField body="payload?" type={<span><a href="/docs/libraries/acul/js-sdk/Screens/interfaces/CustomOptions">CustomOptions</a></span>}>
      Options personnalisées facultatives à inclure dans la requête
    </ParamField>
  </Expandable>
</ParamField>
