- Qt 6.11
- Qt WebEngine
- C++ Classes
- QtWebEngineCore
- QWebEngineWebAuthPinRequest
- Qt 6.11.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

## Properties

- error : const QWebEngineWebAuthUxRequest::PinEntryError
- minPinLength : const qint32
- reason : const QWebEngineWebAuthUxRequest::PinEntryReason
- remainingAttempts : const int

## 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.

## Property Documentation

### error : const QWebEngineWebAuthUxRequest::PinEntryError

This property holds the error details for the PIN prompt.

### minPinLength : const qint32

This property holds the minimum PIN length the authenticator will accept for the PIN.

### reason : const QWebEngineWebAuthUxRequest::PinEntryReason

This property holds the reason for the PIN prompt.

### remainingAttempts : const int

This property holds the number of attempts remaining before a hard lock. Should be ignored unless QWebEngineWebAuthPinRequest::reason is QWebEngineWebAuthUxRequest::PinEntryReason::Challenge.