> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-docs-event-stream-action-templates.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# MfaWebAuthnEnrollmentSuccessMembers

MfaWebAuthnEnrollmentSuccessMembers

````ts Example theme={null}
export interface MfaWebAuthnEnrollmentSuccessMembers extends BaseMembers {
  /**
   * Access to the specific properties and data of the 'mfa-webauthn-enrollment-success' screen.
   * Includes the `nickname` of the enrolled authenticator and its `webauthnType`.
   * @type {ScreenMembersOnMfaWebAuthnEnrollmentSuccess}
   */
  screen: ScreenMembersOnMfaWebAuthnEnrollmentSuccess;

  /**
   * Allows the user to continue the authentication flow after successful WebAuthn enrollment.
   * This method sends a POST request to the `/u/mfa-webauthn-enrollment-success` endpoint with `action: "default"`.
   *
   * @param {ContinueOptions} [payload] - Optional. An object for `CustomOptions` if any
   *                                        additional parameters need to be sent with the request.
   * @returns {Promise<void>} A promise that resolves when the continue action is successfully submitted.
   *                          On success, the browser will typically be redirected to the next step in the flow.
   * @throws {Error} Throws an error if the form submission fails (e.g., network issue, invalid state).
   *
   * @example
   * ```typescript
   * // Assuming 'sdk' is an instance of MfaWebAuthnEnrollmentSuccess
   * try {
   *   await sdk.continue();
   *   // User is redirected to the next step.
   * } catch (error) {
   *   console.error("Failed to continue after WebAuthn enrollment:", error);
   *   // Handle error, potentially by inspecting sdk.transaction.errors if the page re-renders with an error.
   * }
   * ```
   */
  continue(payload?: ContinueOptions): Promise<void>;
}
````

## Properties

<ParamField body="branding" type={<span><a href="/docs/libraries/acul/react-sdk/API-Reference/Types/interfaces/BrandingMembers">BrandingMembers</a></span>} />

<ParamField body="client" type={<span><a href="/docs/libraries/acul/react-sdk/API-Reference/Types/interfaces/ClientMembers">ClientMembers</a></span>} />

<ParamField body="organization" type={<span><a href="/docs/libraries/acul/react-sdk/API-Reference/Types/interfaces/OrganizationMembers">OrganizationMembers</a></span>} />

<ParamField body="prompt" type={<span><a href="/docs/libraries/acul/react-sdk/API-Reference/Types/interfaces/PromptMembers">PromptMembers</a></span>} />

<ParamField body="screen" type={<span><a href="/docs/libraries/acul/react-sdk/API-Reference/Types/interfaces/ScreenMembersOnMfaWebAuthnEnrollmentSuccess">ScreenMembersOnMfaWebAuthnEnrollmentSuccess</a></span>}>
  Access to the specific properties and data of the 'mfa-webauthn-enrollment-success' screen.
  Includes the `nickname` of the enrolled authenticator and its `webauthnType`.
</ParamField>

<ParamField body="tenant" type={<span><a href="/docs/libraries/acul/react-sdk/API-Reference/Types/interfaces/TenantMembers">TenantMembers</a></span>} />

<ParamField body="transaction" type={<span><a href="/docs/libraries/acul/react-sdk/API-Reference/Types/interfaces/TransactionMembers">TransactionMembers</a></span>} />

<ParamField body="untrustedData" type={<span><a href="/docs/libraries/acul/react-sdk/API-Reference/Types/interfaces/UntrustedDataMembers">UntrustedDataMembers</a></span>} />

<ParamField body="user" type={<span><a href="/docs/libraries/acul/react-sdk/API-Reference/Types/interfaces/UserMembers">UserMembers</a></span>} />

## Methods

<ParamField body="continue" type="Promise<void>">
  Allows the user to continue the authentication flow after successful WebAuthn enrollment.
  This method sends a POST request to the `/u/mfa-webauthn-enrollment-success` endpoint with `action: "default"`.

  A promise that resolves when the continue action is successfully submitted.
  On success, the browser will typically be redirected to the next step in the flow.

  #### Throws

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

  ```typescript Example theme={null}
  // Assuming 'sdk' is an instance of MfaWebAuthnEnrollmentSuccess
  try {
    await sdk.continue();
    // User is redirected to the next step.
  } catch (error) {
    console.error("Failed to continue after WebAuthn enrollment:", error);
    // Handle error, potentially by inspecting sdk.transaction.errors if the page re-renders with an error.
  }
  ```

  <Expandable title="Parameters">
    <ParamField body="payload?" type={<span><a href="/docs/libraries/acul/react-sdk/API-Reference/Types/interfaces/WebAuthnEnrollSuccessContinueOptions">WebAuthnEnrollSuccessContinueOptions</a></span>}>
      Optional. An object for `CustomOptions` if any
      additional parameters need to be sent with the request.
    </ParamField>
  </Expandable>
</ParamField>
