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

# 確認

> Universal Login の `confirmation` 画面をカスタマイズするために利用可能なすべてのプロパティとメソッドについて説明します。

Confirmation クラスは、`confirmation` 画面の機能を実装します。この画面は、Auth0 が自動サインアップの可能性を検出した場合に、OTP の検証後に表示されます。ユーザーはアカウントを作成するかどうかを確認できます。

![確認画面](https://mintlify.s3.us-west-1.amazonaws.com/docs-dev/images/cdy7uua7fh8z/ACUL/confirmation.png)

## コンストラクター

Confirmation画面マネージャーのインスタンスを作成します。

```typescript Example theme={null}
import Confirmation from '@auth0/auth0-acul-js/confirmation';
const confirmationManager = new Confirmation();
await confirmationManager.proceedToSignup();
```

## プロパティ

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

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

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

`confirmation` 画面用の `id`、`name`、`logoUrl` など、クライアントに関する設定を提供します。

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

`confirmation` 画面での電話番号入力用に、`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)`

authentication フロー内の現在の prompt に関するデータを含みます。

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

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

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

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

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

アクティブな identifier やフローの状態など、`confirmation` 画面用のトランザクション固有のデータを提供します。

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

確認フロー中のユーザー入力など、SDK に渡される信頼できないデータを処理します。

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

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

## メソッド

**proceedToSignup** `Promise\<void\>`

このメソッドは自動サインアップを確定し、OTP検証後にアカウントの作成を続行します。

```typescript Example theme={null}
import Confirmation from '@auth0/auth0-acul-js/confirmation';
const confirmationManager = new Confirmation();
await confirmationManager.proceedToSignup();
```

**goBack** `Promise\<void\>`

このメソッドは自動サインアップを拒否し、アカウントを作成せずにユーザーをログイン画面に戻します。

```typescript Example theme={null}
import Confirmation from '@auth0/auth0-acul-js/confirmation';
const confirmationManager = new Confirmation();
await confirmationManager.goBack();
```

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

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

```typescript Example theme={null}
import Confirmation from '@auth0/auth0-acul-js/confirmation';
const confirmationManager = new Confirmation();
confirmationManager.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'`に設定すると、選択した言語はセッション中保持されます。

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

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