webEngineWebAuthPinRequest QML Value Type
Encapsulates the data of a PIN WebAuth UX request. More...
Import Statement: | import QtWebEngine |
Since: | QtWebEngine 6.8 |
Properties
- error : enumeration
- minPinLength : int
- reason : enumeration
- remainingAttempts : 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 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.
Constant | Description |
---|---|
WebEngineWebAuthUxRequest.PinEntryError.NoError | No error has occurred. |
WebEngineWebAuthUxRequest.PinEntryError.InternalUvLocked | Internal UV is locked, so we are falling back to PIN. |
WebEngineWebAuthUxRequest.PinEntryError.WrongPin | The PIN the user entered does not match the authenticator PIN. |
WebEngineWebAuthUxRequest.PinEntryError.TooShort | The new PIN the user entered is too short. |
WebEngineWebAuthUxRequest.PinEntryError.InvalidCharacters | The new PIN the user entered contains invalid characters. |
WebEngineWebAuthUxRequest.PinEntryError.SameAsCurrentPin | The 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.
Constant | Description |
---|---|
WebEngineWebAuthUxRequest.PinEntryReason.Set | A new PIN is being set. |
WebEngineWebAuthUxRequest.PinEntryReason.Change | The existing PIN must be changed before using this authenticator. |
WebEngineWebAuthUxRequest.PinEntryReason.Challenge | The 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.