Show / Hide Table of Contents

ConfigureStaticPassword Class

Namespace: Yubico.YubiKey.Otp.Operations Assembly: Yubico.YubiKey.dll

Operation class for configuring a YubiKey slot to send a static password, whether generated or specified.

C#
public class ConfigureStaticPassword : OperationBase<ConfigureStaticPassword>
Inheritance object OperationBase<ConfigureStaticPassword> 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(bool)

Configures the slot to allow for user-triggered static password change.

AppendCarriageReturn(bool)

Sends a carriage return [Enter Key] after all characters have been sent.

AppendDelayToFixed(bool)

Adds a 500ms delay after sending the fixed string.

AppendTabToFixed(bool)

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(bool)

Sends a tab character before the fixed string.

SetAllowUpdate(bool)

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(bool)

Adds an inter-character pacing time of 10ms between each keystroke.

Use20msPacing(bool)

Adds an inter-character pacing time of 20ms between each keystroke.

UseFastTrigger(bool)

Causes the trigger action of the YubiKey button to become faster.

UseNumericKeypad(bool)

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.

In this article
Back to top Generated by DocFX