eric7.WebBrowser.WebAuth.Fido2PinDialog
Module implementing a dialog to enter the current and potentially new PIN.
Global Attributes
Classes
Functions
Fido2PinDialog
Class implementing a dialog to enter the current and potentially new PIN.
Derived from
QDialog, Ui_Fido2PinDialog
Class Attributes
Class Methods
Methods
Static Methods
Fido2PinDialog (Constructor)
Fido2PinDialog(mode, title, message, minLength, retries, parent=None)
Constructor
- mode (Fido2PinDialogMode)
-
mode of the dialog
- title (str)
-
header title to be shown
- message (str)
-
more decriptive text to be shown
- minLength (int)
-
minimum PIN length
- retries (int)
-
number of attempts remaining before the security key get locked
- parent (QWidget (optional))
-
reference to the parent widget (defaults to None)
Fido2PinDialog.__checkPins
__checkPins()
Private slot to check the entered PIN(s).
Appropriate error messages are shown in case of issues and the state of
the OK button is set accordingly.
Fido2PinDialog.__showPinErrors
__showPinErrors(errorMessages)
Private method to show some error messages.
- errorMessages (list of str)
-
list of error messages
Fido2PinDialog.getPins
getPins()
Public method to get the entered PINs.
- Return:
-
tuple containing the current and new PIN
- Return Type:
-
tuple of (str, str)
Fido2PinDialog.on_newPinButton_toggled
on_newPinButton_toggled(checked)
Private slot to handle the toggling of the new PIN visibility.
- checked (bool)
-
state of the new PIN visibility button
Fido2PinDialog.on_pinButton_toggled
on_pinButton_toggled(checked)
Private slot to handle the toggling of the PIN visibility.
- checked (bool)
-
state of the PIN visibility button
Fido2PinDialogMode
Class defining the various PIN dialog mode.
Derived from
enum.Enum
Class Attributes
Class Methods
Methods
Static Methods