> For the complete documentation index, see [llms.txt](https://docs.payments.thalescloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payments.thalescloud.io/nfc-wallet-sdk-ios/ja/implement-nfc-wallet/make-payments/understand-cdcvm/device-unlock-method-update-scenarios.md).

# デバイスのロック解除方法の更新シナリオ

### 概要

このページでは、デバイスのロック解除方法の変更が CDCVM の動作にどのように影響するかを説明します。

動作は、NFC Wallet SDK の初期化時に設定された CDCVM ポリシーによって異なります：

* `.biometricOnly`
* `.userPresence`

セットアップの詳細については、参照してください [NFC Wallet SDKの初期化時に](/nfc-wallet-sdk-ios/ja/get-started/configuration/3.-initialization.md#cardholder-verification-method) と [CDCVMを理解する](/nfc-wallet-sdk-ios/ja/implement-nfc-wallet/make-payments/understand-cdcvm.md).

### シナリオ

#### 生体認証のみのシナリオ（`.biometricOnly`)

<table data-full-width="true"><thead><tr><th>デバイスの状態変更</th><th>iOS</th><th>NFC Wallet SDK</th><th>デジタルウォレットアプリケーション</th></tr></thead><tbody><tr><td>エンドユーザーがデバイスのロック画面を無効にします。たとえば、生体認証が登録されておらず、パスコードがオフになっています。</td><td>キーチェーン内の鍵素材を無効化します。</td><td>キーチェーンにアクセスした際に、鍵素材が無効であることを検出します。</td><td>ローカルデータを消去し、次をスローします <code>ContactlessPaymentSession.Error.authenticationKeyInvalidated(error)</code>。SDK を再初期化します。参照 <a href="/nfc-wallet-sdk-ios/ja/get-started/configuration/3.-initialization.md#tsh-pay-sdk-initialisation">NFC Wallet SDKの初期化時に</a>.</td></tr><tr><td>エンドユーザーがパスコードを無効にし、その後再度有効にして生体認証を再登録します。</td><td>キーチェーン内の鍵素材を無効化します。</td><td>キーチェーンにアクセスした際に、鍵素材が無効であることを検出します。</td><td>ローカルデータを消去し、次をスローします <code>ContactlessPaymentSession.Error.authenticationKeyInvalidated(error)</code>。SDK を再初期化します。参照 <a href="/nfc-wallet-sdk-ios/ja/get-started/configuration/3.-initialization.md#tsh-pay-sdk-initialisation">NFC Wallet SDKの初期化時に</a>.</td></tr><tr><td>生体認証が登録されたままの状態で、エンドユーザーがパスコードを変更します。</td><td>何も行いません。</td><td>何も行いません。</td><td>何も行いません。</td></tr><tr><td>エンドユーザーはパスコードを保持したまま、すべての生体認証を削除します。</td><td>何も行いません。</td><td>生体認証が削除されたことを検出します。</td><td>スローします <code>ContactlessPaymentSession.Error.biometricNotEnrolled</code>.</td></tr><tr><td>エンドユーザーはパスコードを保持したまま、新しい生体認証を登録します。</td><td>何も行いません。</td><td>何も行いません。</td><td>何も行いません。</td></tr></tbody></table>

#### ユーザー存在確認のシナリオ（`.userPresence`)

<table data-full-width="true"><thead><tr><th>デバイスの状態変更</th><th>iOS</th><th>NFC Wallet SDK</th><th>デジタルウォレットアプリケーション</th></tr></thead><tbody><tr><td>エンドユーザーがデバイスのロック画面を無効にします。たとえば、生体認証が登録されておらず、パスコードがオフになっています。</td><td>キーチェーン内の鍵素材を無効化します。</td><td>キーチェーンにアクセスした際に、鍵素材が無効であることを検出します。</td><td>ローカルデータを消去し、次をスローします <code>ContactlessPaymentSession.Error.authenticationKeyInvalidated(error)</code>。SDK を再初期化します。参照 <a href="/nfc-wallet-sdk-ios/ja/get-started/configuration/3.-initialization.md#tsh-pay-sdk-initialisation">NFC Wallet SDKの初期化時に</a>.</td></tr><tr><td>エンドユーザーがパスコードを無効にし、その後再度有効にして生体認証を再登録します。</td><td>キーチェーン内の鍵素材を無効化します。</td><td>キーチェーンにアクセスした際に、鍵素材が無効であることを検出します。</td><td>ローカルデータを消去し、次をスローします <code>ContactlessPaymentSession.Error.authenticationKeyInvalidated(error)</code>。SDK を再初期化します。参照 <a href="/nfc-wallet-sdk-ios/ja/get-started/configuration/3.-initialization.md#tsh-pay-sdk-initialisation">NFC Wallet SDKの初期化時に</a>.</td></tr><tr><td>生体認証が登録されたままの状態で、エンドユーザーがパスコードを変更します。</td><td>何も行いません。</td><td>何も行いません。</td><td>何も行いません。</td></tr><tr><td>生体認証が登録されていない状態で、エンドユーザーがパスコードを変更します。</td><td>何も行いません。</td><td>何も行いません。</td><td>何も行いません。</td></tr><tr><td>エンドユーザーはパスコードを保持したまま、すべての生体認証を削除します。</td><td>何も行いません。</td><td>何も行いません。</td><td>何も行いません。</td></tr><tr><td>エンドユーザーはパスコードを保持したまま、新しい生体認証を登録します。</td><td>何も行いません。</td><td>何も行いません。</td><td>何も行いません。</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.payments.thalescloud.io/nfc-wallet-sdk-ios/ja/implement-nfc-wallet/make-payments/understand-cdcvm/device-unlock-method-update-scenarios.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
