ToggleAlwaysUvCommand Class
Namespace: Yubico.YubiKey.Fido2.Commands Assembly: Yubico.YubiKey.dllToggle 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 : Object, IYubiKeyCommand<Fido2Response>
Inheritance
System.Object
ToggleAlwaysUvCommand
Implements
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. |