QWebEngineWebAuthPinRequest Struct

QWebEngineWebAuthPinRequest 类封装了 PIN WebAuth UX 请求的数据。更多

头文件: #include <QWebEngineWebAuthPinRequest>
CMake: find_package(Qt6 REQUIRED COMPONENTS WebEngineCore)
target_link_libraries(mytarget PRIVATE Qt6::WebEngineCore)
qmake: QT += webenginecore
Qt 6.7

属性

详细说明

该模块封装了与验证器发出的 PIN 请求相关的以下信息。

当 WebAuth UX 状态为QWebEngineWebAuthUxRequest::WebAuthUxState::CollectPin 时,使用此结构更新 WebAuth UX 对话框。

属性文档

error : const QWebEngineWebAuthUxRequest::PinEntryError

该属性包含 PIN 提示的错误详细信息。

minPinLength : const qint32

该属性表示验证器接受的最小 PIN 码长度。

reason : const QWebEngineWebAuthUxRequest::PinEntryReason

该属性包含 PIN 提示的原因。

remainingAttempts : const int

该属性用于保存硬锁定前剩余的尝试次数。除非QWebEngineWebAuthPinRequest::reasonQWebEngineWebAuthUxRequest::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.