Show / Hide Table of Contents

ToggleAlwaysUvCommand Class

Namespace: Yubico.YubiKey.Fido2.Commands Assembly: Yubico.YubiKey.dll

Toggle the "alwaysUv" feature. That is, if it is set to true, set it to false, and if it is false, set it to true.

C#
public class ToggleAlwaysUvCommand : IYubiKeyCommand<Fido2Response>
Inheritance object ToggleAlwaysUvCommand
Implements
IYubiKeyCommand<Fido2Response>

Remarks

The partner Response class is Fido2Response. This command does not return any data, it only returns "success" or "failure", and has some FIDO2-specific error information.

This sets both the "alwaysUv" and "makeCredUvNotReqd" options.

Constructors

Name Description
ToggleAlwaysUvCommand(ReadOnlyMemory<byte>, PinUvAuthProtocolBase)

Constructs a new instance of ToggleAlwaysUvCommand.

Properties

Name Description
Application

Gets the YubiKeyApplication (e.g. PIV, OATH, etc.) to which this command applies.

Methods

Name Description
CreateCommandApdu()

Creates a well-formed CommandApdu to send to the YubiKey.

CreateResponseForApdu(ResponseApdu)

Creates the corresponding IYubiKeyResponse implementation for the current command.

In this article
Back to top Generated by DocFX