PublicKeyCredentialDescriptorJson Class

The JSON type of a credential descriptor (https://w3c.github.io/webauthn/#dictdef-publickeycredentialdescriptorjson).

public sealed class PublicKeyCredentialDescriptorJson

Constructors

NameDescription
PublicKeyCredentialDescriptorJson()

PublicKeyCredentialDescriptorJson()

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

No documentation is available.

Properties

NameDescription
IdGets the base64url encoding of the credential ID.
TransportsGets the transports, or null.
TypeGets the type of the credential.

Gets the base64url encoding of the credential ID.

public required string Id { get; init; }

Gets the transports, or null.

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

Gets the type of the credential.

public required string Type { get; init; }