Skip to content

Latest commit

 

History

History
85 lines (54 loc) · 2.55 KB

DSInternals.Win32.WebAuthn.UserInformation.md

File metadata and controls

85 lines (54 loc) · 2.55 KB

Class UserInformation

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

Information about a user rntity.

public sealed class UserInformation

Inheritance

objectUserInformation

Inherited Members

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

Remarks

Corresponds to WEBAUTHN_USER_ENTITY_INFORMATION.

Properties

DisplayName

Contains the friendly name associated with the user account by the Relying Party, such as "John P. Smith".

[JsonPropertyName("displayName")]
public string DisplayName { get; set; }

Property Value

string

Icon

Optional URL that can be used to retrieve an image containing the user's current avatar, or a data URI that contains the image data.

[JsonPropertyName("icon")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string Icon { get; set; }

Property Value

string

Id

Identifier for the user.

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

Property Value

byte[]

Name

Contains a detailed name for this account, such as "[email protected]".

[JsonPropertyName("name")]
public string Name { get; set; }

Property Value

string