Microsoft.Identity.Client.Account
Contains information about a single account. A user can be present in multiple directories and thus have multiple accounts.
This information is used for token cache lookup and enforcing the user session on the STS authorize endpoint.
namespace Microsoft.Identity.Client
{
internal sealed class Account : IAccount
{
public string Username { get; }
public string Environment { get; }
public string AccountSource { get; }
public AccountId HomeAccountId { get; }
public IEnumerable<TenantProfile> TenantProfiles { get; }
public Account(string homeAccountId, string username, string environment, string accountsource = null, IDictionary<string, string> wamAccountIds = null, IEnumerable<TenantProfile> tenantProfiles = null);
}
}