Show / Hide Table of Contents

Options Property

Options

The list of authenticator options. Each standard-defined option is a key/value pair, where the key is a string and the value is a boolean. This is an optional parameter, so it can be null.

C#
public IReadOnlyDictionary<string, bool>? Options { get; }

Property Value

Type Description
IReadOnlyDictionary<string, bool>

Remarks

To add options, call AddOption(string, bool). The standard lists two option keys: "up" and "uv". Any other option on a YubiKey will yield an error. In addition, YubiKeys that are not BIO series will not allow "uv".

In this article
Back to top Generated by DocFX