- Qt 6.10
- Qt WebEngine
- C++ Classes
- QtWebEngineCore
- QWebEngineWebAuthPinRequest
- Qt 6.10.1 Reference Documentation

# QWebEngineWebAuthPinRequest Struct

The QWebEngineWebAuthPinRequest class encapsulates the data of a PIN WebAuth UX request. More...

Header: | `#include <QWebEngineWebAuthPinRequest>`
CMake: | `find_package(Qt6 REQUIRED COMPONENTS WebEngineCore)` `target_link_libraries(mytarget PRIVATE Qt6::WebEngineCore)`
qmake: | `QT += webenginecore`
Since: | Qt 6.7

## Detailed Description

This encapsulates the following information related to a PIN request made by an authenticator.

- The reason for the PIN prompt.
- The error details for the PIN prompt.
- The number of attempts remaining before a hard lock. Should be ignored unless QWebEngineWebAuthPinRequest::reason is QWebEngineWebAuthUxRequest::PinEntryReason::Challenge.
- The minimum PIN length the authenticator will accept for the PIN.

Use this structure to update the WebAuth UX dialog when the WebAuth UX state is QWebEngineWebAuthUxRequest::WebAuthUxState::CollectPin.