Skip to content

Latest commit

 

History

History
87 lines (56 loc) · 2.67 KB

File metadata and controls

87 lines (56 loc) · 2.67 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")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
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 "john.p.smith@example.com".

[JsonPropertyName("name")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Name { get; set; }

Property Value

string?