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 VirtualCredential

Constructors

NameDescription
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

NameDescription
BackupEligibilityGets the backup eligibility of the credential, or null for the default of the authenticator.
BackupStateGets the backup state of the credential, or null for the default of the authenticator.
CredentialIdGets the credential ID.
IsResidentCredentialGets whether the credential is a client-side discoverable credential (a resident key).
LargeBlobGets the large blob of the credential (the largeBlob extension), or null.
PrivateKeyGets 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.
RpIdGets the RP ID that the credential is scoped to.
SignCountGets the signature counter of the credential, or null when the credential has no counter.
UserDisplayNameGets the display name of the user of the credential.
UserHandleGets the user handle of the credential, or null. A discoverable credential must have one.
UserNameGets the name of the user of the credential.

BackupEligibility

VirtualAuthenticators.cs

Gets the backup eligibility of the credential, or null for the default of the authenticator.

public bool? BackupEligibility { get; init; }

Property value

bool?

Gets the backup state of the credential, or null for the default of the authenticator.

public bool? BackupState { get; init; }

Property value

bool?

Gets the credential ID.

public required ReadOnlyMemory<byte> CredentialId { get; init; }

Property value

ReadOnlyMemory<byte>

IsResidentCredential

VirtualAuthenticators.cs

Gets whether the credential is a client-side discoverable credential (a resident key).

public bool IsResidentCredential { get; init; }

Property value

bool

Gets the large blob of the credential (the largeBlob extension), or null.

public ReadOnlyMemory<byte>? LargeBlob { get; init; }

Property value

ReadOnlyMemory<byte>?

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.

public required ReadOnlyMemory<byte> PrivateKey { get; init; }

Property value

ReadOnlyMemory<byte>

Gets the RP ID that the credential is scoped to.

public required string RpId { get; init; }

Property value

string

Gets the signature counter of the credential, or null when the credential has no counter.

public uint? SignCount { get; init; }

Property value

uint?

Gets the display name of the user of the credential.

public string UserDisplayName { get; init; }

Property value

string

Gets the user handle of the credential, or null. A discoverable credential must have one.

public ReadOnlyMemory<byte>? UserHandle { get; init; }

Property value

ReadOnlyMemory<byte>?

Gets the name of the user of the credential.

public string UserName { get; init; }

Property value

string