Skip to content

Latest commit

 

History

History
83 lines (53 loc) · 3.04 KB

DSInternals.Win32.WebAuthn.PublicKeyCredentialDescriptor.md

File metadata and controls

83 lines (53 loc) · 3.04 KB

Class PublicKeyCredentialDescriptor

Namespace: DSInternals.Win32.WebAuthn
Assembly: DSInternals.Win32.WebAuthn.dll

public class PublicKeyCredentialDescriptor

Inheritance

objectPublicKeyCredentialDescriptor

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

PublicKeyCredentialDescriptor(byte[], AuthenticatorTransport, string)

[JsonConstructor]
public PublicKeyCredentialDescriptor(byte[] id, AuthenticatorTransport transports = AuthenticatorTransport.NoRestrictions, string type = "public-key")

Parameters

id byte[]

transports AuthenticatorTransport

type string

Properties

Id

This member contains the credential ID of the public key credential the caller is referring to.

[JsonPropertyName("id")]
[JsonConverter(typeof(Base64UrlConverter))]
public byte[] Id { get; }

Property Value

byte[]

Transports

This member contains a hint as to how the client might communicate with the managing authenticator of the public key credential the caller is referring to.

[JsonPropertyName("transports")]
public AuthenticatorTransport Transports { get; }

Property Value

AuthenticatorTransport

Type

This member contains the type of the public key credential the caller is referring to.

[JsonPropertyName("type")]
public string Type { get; }

Property Value

string