Function getSecurityKeyCapabilities
Check which vault-unlock features one connected key offers.
credentials .store .CredentialStatus getSecurityKeyCapabilities(
string keyId,
out SecurityKeyCapabilities capabilities
) @safe;
Use this when the setup UI should explain whether the key supports a PIN, built-in verification or a shorter setup flow.
Parameters
| Name | Description |
|---|---|
| keyId | id returned by findSecurityKeys(). |
| capabilities | Receives the available features. |
Returns
ok when the capabilities were read.