WebEngineWebAuthPinRequest QML Type

Encapsulates the data of a PIN WebAuth UX request. More...

Import Statement: import QtWebEngine
Since: QtWebEngine 6.8
In C++: QWebEngineWebAuthPinRequest

Properties

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 WebEngineWebAuthPinRequest::reason is WebEngineWebAuthUxRequest.PinEntryReason.Challenge.
  • The minimum PIN length that the authenticator will accept for the PIN.

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

Property Documentation

error : enumeration

The error details for the PIN prompt.

ConstantDescription
WebEngineWebAuthUxRequest.PinEntryError.NoErrorNo error has occurred.
WebEngineWebAuthUxRequest.PinEntryError.InternalUvLockedInternal UV is locked, so we are falling back to PIN.
WebEngineWebAuthUxRequest.PinEntryError.WrongPinThe PIN the user entered does not match the authenticator PIN.
WebEngineWebAuthUxRequest.PinEntryError.TooShortThe new PIN the user entered is too short.
WebEngineWebAuthUxRequest.PinEntryError.InvalidCharactersThe new PIN the user entered contains invalid characters.
WebEngineWebAuthUxRequest.PinEntryError.SameAsCurrentPinThe new PIN the user entered is the same as the currently set PIN.

minPinLength : int

The minimum PIN length that the authenticator will accept for the PIN.


reason : enumeration

The reason for the PIN prompt.

ConstantDescription
WebEngineWebAuthUxRequest.PinEntryReason.SetA new PIN is being set.
WebEngineWebAuthUxRequest.PinEntryReason.ChangeThe existing PIN must be changed before using this authenticator.
WebEngineWebAuthUxRequest.PinEntryReason.ChallengeThe existing PIN is being collected to prove user verification.

remainingAttempts : int

The number of attempts remaining before a hard lock. Should be ignored unless WebEngineWebAuthPinRequest::reason is WebEngineWebAuthUxRequest.PinEntryReason.Challenge.


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