Table of Contents

Class UnifiedUserIdentity

Namespace
FoundationaLLM.Common.Models.Authentication
Assembly
FoundationaLLM.Common.dll

Represents strongly-typed user identity information, regardless of the identity provider.

public class UnifiedUserIdentity
Inheritance
UnifiedUserIdentity
Inherited Members
Extension Methods

Properties

AssociatedWithAccessToken

Indicates whether the identity is associated with an agent access token.

[JsonPropertyName("associated_with_access_token")]
public bool AssociatedWithAccessToken { get; set; }

Property Value

bool

GroupIds

The list of the identifiers of the groups to which the user belongs.

[JsonPropertyName("group_ids")]
public List<string> GroupIds { get; set; }

Property Value

List<string>

Name

The user's display name.

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

Property Value

string

UPN

The User Principal Name (UPN) of the user.

[JsonPropertyName("upn")]
public string? UPN { get; set; }

Property Value

string

UserId

The unique identifier of the user.

[JsonPropertyName("user_id")]
public string? UserId { get; set; }

Property Value

string

Username

The username of the user used to authenticate.

[JsonPropertyName("user_name")]
public string? Username { get; set; }

Property Value

string