AuthenticatorInfo Property
AuthenticatorInfo
The FIDO2 AuthenticatorInfo
for the connected YubiKey.
C#
public AuthenticatorInfo AuthenticatorInfo { get; }
Property Value
Type | Description |
---|---|
AuthenticatorInfo |
Remarks
Note that it is possible for the AuthenticatorInfo
to change
during operations. That is, there are cases where the info says one
thing, then after some operation, the info says something else. This
property is updated each time one such operation is executed.
For example, if the YubiKey supports a PIN, but it is not set, then
the AuthenticatorInfo.Options
will contain the option
"clientPin" and it will be false
. After the PIN has been set,
the option "clientPin" will be true
.
These are not very common, but it is important to use
Fido2Session.AuthenticatorInfo
in your code, rather than
getting a copy of the info and using it throughout.