QWebEngineWebAuthPINRequest Struct | Qt WebEngine 6.7.0
Description: The QWebEngineWebAuthPINRequest class encapsulates the data of a PIN WebAuth UX request.

- Qt 6.7
- Qt WebEngine
- C++ Classes
- QtWebEngineCore
- QWebEngineWebAuthPINRequest
- Qt 6.7.0 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 qint32

## 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::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 qint32

This property holds the number of attempts remaining before a hard lock. Should be ignored unless QWebEngineWebAuthPINRequest::reason is QWebEngineWebAuthUXRequest::PINEntryReason::Challenge.