VirtualCredential Class
A public key credential source of a virtual authenticator, as the credential parameters of WebDriver (https://w3c.github.io/webauthn/#credential-parameters): a snapshot returned by VirtualAuthenticator.GetCredentials, or a credential given to VirtualAuthenticator.AddCredential.
public sealed class VirtualCredentialConstructors
| Name | Description |
|---|---|
| VirtualCredential() |
VirtualCredential()
VirtualAuthenticators.cs- Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public VirtualCredential()No documentation is available.
Properties
| Name | Description |
|---|---|
| BackupEligibility | Gets the backup eligibility of the credential, or null for the default of the authenticator. |
| BackupState | Gets the backup state of the credential, or null for the default of the authenticator. |
| CredentialId | Gets the credential ID. |
| IsResidentCredential | Gets whether the credential is a client-side discoverable credential (a resident key). |
| LargeBlob | Gets the large blob of the credential (the largeBlob extension), or null. |
| PrivateKey | Gets the private key, as an asymmetric key package (RFC 5958, PKCS #8): an ECDSA key on the P-256 curve, an RSA key or an Ed25519 key. |
| RpId | Gets the RP ID that the credential is scoped to. |
| SignCount | Gets the signature counter of the credential, or null when the credential has no counter. |
| UserDisplayName | Gets the display name of the user of the credential. |
| UserHandle | Gets the user handle of the credential, or null. A discoverable credential must have one. |
| UserName | Gets the name of the user of the credential. |
BackupEligibility
VirtualAuthenticators.csBackupState
VirtualAuthenticators.csCredentialId
VirtualAuthenticators.csGets the credential ID.
public required ReadOnlyMemory<byte> CredentialId { get; init; }Property value
IsResidentCredential
VirtualAuthenticators.csLargeBlob
VirtualAuthenticators.csGets the large blob of the credential (the largeBlob extension), or null.
public ReadOnlyMemory<byte>? LargeBlob { get; init; }Property value
PrivateKey
VirtualAuthenticators.csGets the private key, as an asymmetric key package (RFC 5958, PKCS #8): an ECDSA key on the P-256 curve, an RSA key or an Ed25519 key.
public required ReadOnlyMemory<byte> PrivateKey { get; init; }Property value
SignCount
VirtualAuthenticators.csUserDisplayName
VirtualAuthenticators.csUserHandle
VirtualAuthenticators.csGets the user handle of the credential, or null. A discoverable credential must have one.
public ReadOnlyMemory<byte>? UserHandle { get; init; }