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 UX の状態が WebEngineWebAuthUxRequest.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::reason がWebEngineWebAuthUxRequest.PinEntryReason.Challenge でない限り、無視されます。


© 2025 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.