ConfigureStaticPassword Class
Namespace: Yubico.YubiKey.Otp.Operations Assembly: Yubico.YubiKey.dllOperation class for configuring a YubiKey slot to send a static password, whether generated or specified.
public class ConfigureStaticPassword : OperationBase<ConfigureStaticPassword>
Fields
Name | Description |
---|---|
AccessCodeLength | The length of an access code, which is exactly six bytes. |
MaxPasswordLength | The maximum length for a YubiKey static password. |
Methods
Name | Description |
---|---|
AllowManualUpdate(Boolean) | Configures the slot to allow for user-triggered static password change. |
AppendCarriageReturn(Boolean) | Sends a carriage return [Enter Key] after all characters have been sent. |
AppendDelayToFixed(Boolean) | Adds a 500ms delay after sending the fixed string. |
AppendTabToFixed(Boolean) | Sends a tab character after the fixed string. |
ExecuteOperation() | Execute the operation here. |
GeneratePassword(Memory<Char>) | Instruct the API to generate a password for the YubiKey. |
PreLaunchOperation() | Validate all settings and choices here. |
SendTabFirst(Boolean) | Sends a tab character before the fixed string. |
SetAllowUpdate(Boolean) | Allows certain non-security related settings to be modified after the configuration has been written. |
SetPassword(ReadOnlyMemory<Char>) | Set the static password the slot on the YubiKey should be configured with. |
Use10msPacing(Boolean) | Adds an inter-character pacing time of 10ms between each keystroke. |
Use20msPacing(Boolean) | Adds an inter-character pacing time of 20ms between each keystroke. |
UseFastTrigger(Boolean) | Causes the trigger action of the YubiKey button to become faster. |
UseNumericKeypad(Boolean) | Causes numeric characters to be sent as keystrokes from the numeric keypad rather than the normal numeric keys on an 84-key keyboard. |
WithKeyboard(KeyboardLayout) | Set the KeyboardLayout to use. |