PublicKeyCredentialDescriptor Class

Identifies a credential (https://w3c.github.io/webauthn/#dictdef-publickeycredentialdescriptor).

public sealed class PublicKeyCredentialDescriptor

Constructors

NameDescription
PublicKeyCredentialDescriptor()

PublicKeyCredentialDescriptor()

  • 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 PublicKeyCredentialDescriptor()

No documentation is available.

Properties

NameDescription
IdGets the credential ID.
TransportsGets the transports of the authenticator of the credential, or null.
TypeGets the type of the credential (public-key).

Gets the credential ID.

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

Gets the transports of the authenticator of the credential, or null.

public IReadOnlyList<string>? Transports { get; init; }

Gets the type of the credential (public-key).

public required string Type { get; init; }