このページでは

webEngineWebAuthPinRequest QML Value Type

PIN WebAuth UX リクエストのデータをカプセル化します。詳細...

Import Statement: import QtWebEngine
Since: QtWebEngine 6.8

プロパティ

詳細説明

これは、認証者による PIN 要求に関連する以下の情報をカプセル化する。

  • PINプロンプトの理由。
  • PIN プロンプトのエラー詳細。
  • ハードロックまでの残り試行回数。webEngineWebAuthPinRequest::reasonWebEngineWebAuthUxRequest.PinEntryReason.Challenge でない限り、無視されるべきである。
  • 認証者が PIN を受け付ける最小 PIN 長。

WebAuth UXstateWebEngineWebAuthUxRequest.WebAuthUxState.CollectPin の場合、この構造体を使用して WebAuth UX ダイアログを更新します。

プロパティの説明

error : enumeration

PINプロンプトのエラーの詳細。

定数説明
WebEngineWebAuthUxRequest.PinEntryError.NoErrorエラーは発生していない。
WebEngineWebAuthUxRequest.PinEntryError.InternalUvLocked内部UVがロックされているため、PINにフォールバックしています。
WebEngineWebAuthUxRequest.PinEntryError.WrongPinユーザが入力したPINが認証PINと一致しません。
WebEngineWebAuthUxRequest.PinEntryError.TooShortユーザが入力した新しいPINが短すぎます。
WebEngineWebAuthUxRequest.PinEntryError.InvalidCharactersユーザーが入力した新しいPINに無効な文字が含まれています。
WebEngineWebAuthUxRequest.PinEntryError.SameAsCurrentPinユーザーが入力した新しいPINは、現在設定されているPINと同じです。

minPinLength : int

認証者が PIN として受け付ける最小 PIN 長。

reason : enumeration

PINプロンプトの理由。

定数説明
WebEngineWebAuthUxRequest.PinEntryReason.Set新しい PIN が設定されています。
WebEngineWebAuthUxRequest.PinEntryReason.Changeこの認証機能を使用する前に、既存の PIN を変更する必要があります。
WebEngineWebAuthUxRequest.PinEntryReason.Challenge既存の PIN は、ユーザ認証を証明するために収集されています。

remainingAttempts : int

ハードロックまでの残り試行回数。webEngineWebAuthPinRequest::reasonWebEngineWebAuthUxRequest.PinEntryReason.Challenge でない限り、無視されるべきである。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.