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

# MfaWebAuthnEnrollmentSuccess

> Universal Login の `mfa-webauthn-enrollment-success` 画面をカスタマイズするために使用できる、すべてのプロパティとメソッドについて説明します。

MfaWebAuthnEnrollmentSuccess クラスは、`mfa-webauthn-enrollment-success` 画面の機能を実装します。この画面は、ユーザーが WebAuthn セキュリティキーの登録に成功したときに表示されます。

![MfaWebAuthnEnrollmentSuccess](https://mintlify.s3.us-west-1.amazonaws.com/docs-dev/images/cdy7uua7fh8z/Mq86ebcuUuTYSqaRdFJlb/73788cad3f355c41ceb7a4a9e658bddb/Screenshot_2025-05-27_at_19.58.21.png)

## コンストラクター

MFA WebAuthn 登録成功画面マネージャーのインスタンスを作成します:

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

const mfaWebAuthnEnrollmentSuccess = new MfaWebAuthnEnrollmentSuccess();
await mfaWebAuthnEnrollmentSuccess.continue();
```

## プロパティ

**branding** `[BrandingMembers](/docs/ja-jp/libraries/acul/js-sdk/Screens/interfaces/BrandingMembers)`

ブランディングテーマや設定など、ブランディングに関する構成を提供します。

**client** `[ClientMembers](/docs/ja-jp/libraries/acul/js-sdk/Screens/interfaces/ClientMembers)`

`mfa-webauthn-enrollment-success` 画面向けに、`id`、`name`、`logoUrl` などのクライアント関連の構成を提供します。

**countryCodes** `[CountryCodesMembers](/docs/ja-jp/libraries/acul/js-sdk/Screens/interfaces/CountryCodesMembers)`

`mfa-webauthn-enrollment-success` 画面向けに、`available` や `recommended` など、電話番号入力用の国番号データを提供します。

**experiment** `[ExperimentMembers](/docs/ja-jp/libraries/acul/js-sdk/Screens/interfaces/ExperimentMembers)`

この画面で実行中の [Experiment Center](/docs/docs/ja-jp/customize/experiment-center) の実験です。実行中の実験がない場合 (または画面が `context_configuration` でオプトインしていない場合) は `null` になります。

**organization** `[OrganizationMembers](/docs/ja-jp/libraries/acul/js-sdk/Screens/interfaces/OrganizationMembers)`

ユーザーの組織に関する情報 (`id` や `name` など) を提供します。

**prompt** `[PromptMembers](/docs/ja-jp/libraries/acul/js-sdk/Screens/interfaces/PromptMembers)`

認証フローにおける現在のプロンプトに関するデータを含みます。

**screen** `[ScreenMembersOnMfaWebAuthnEnrollmentSuccess](/docs/ja-jp/libraries/acul/js-sdk/Screens/interfaces/ScreenMembersOnMfaWebAuthnEnrollmentSuccess)`

設定やコンテキストなど、`mfa-webauthn-enrollment-success` 画面に固有の詳細を含みます。

**tenant** `[TenantMembers](/docs/ja-jp/libraries/acul/js-sdk/Screens/interfaces/TenantMembers)`

`id` や関連するメタデータなど、テナントに関するデータを含みます。

**transaction** `[TransactionMembers](/docs/ja-jp/libraries/acul/js-sdk/Screens/interfaces/TransactionMembers)`

有効な識別子やフローの状態など、`mfa-webauthn-enrollment-success` 画面に固有のトランザクションデータを提供します。

**untrustedData** `[UntrustedDataMembers](/docs/ja-jp/libraries/acul/js-sdk/Screens/interfaces/UntrustedDataMembers)`

MFA WebAuthn 登録成功時のユーザー入力など、SDK に渡される信頼できないデータを扱います。

**user** `[UserMembers](/docs/ja-jp/libraries/acul/js-sdk/Screens/interfaces/UserMembers)`

`username`、`email`、`roles` など、現在アクティブなユーザーの詳細です。

## メソッド

**changeLanguage** `Promise\<void\>`

このメソッドは、Universal Login の表示言語を変更します。

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

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

**メソッドのパラメータ**

**パラメータ**

**options**

[LanguageChangeOptions](/docs/docs/ja-jp/libraries/acul/js-sdk/Screens/interfaces/LanguageChangeOptions)。

**language** `string` *required*

使用する言語のロケールコード (例: `'en'`、`'fr'`、`'es'`) 。

**persist?** `"session"`

`'session'` に設定すると、選択した言語はセッション中保持されます。

**continue** `Promise\<void\>`

このメソッドは、WebAuthn enrollment の成功後に認証フローを続行します。

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

const mfaWebAuthnEnrollmentSuccess = new MfaWebAuthnEnrollmentSuccess();
await mfaWebAuthnEnrollmentSuccess.continue();
```

**getErrors** `[Error](/docs/ja-jp/libraries/acul/js-sdk/Screens/interfaces/Error)[]`

このメソッドは、コンテキストからトランザクションエラーの配列を取得します。エラーがない場合は空の配列を返します。
