AccountInfo: {
    authorityType?: string;
    environment: string;
    homeAccountId: string;
    idToken?: string;
    idTokenClaims?: IdTokenClaims & {
        [key: string]: string | number | string[] | object | undefined | unknown;
    };
    localAccountId: string;
    name?: string;
    nativeAccountId?: string;
    tenantId: string;
    tenantProfiles?: Map<string, TenantProfile>;
    username: string;
}

Account object with the following signature:

  • homeAccountId - Home account identifier for this account object
  • environment - Entity which issued the token represented by the domain of the issuer (e.g. login.microsoftonline.com)
  • tenantId - Full tenant or organizational id that this account belongs to
  • username - preferred_username claim of the id_token that represents this account
  • localAccountId - Local, tenant-specific account identifer for this account object, usually used in legacy cases
  • name - Full name for the account, including given name and family name
  • idToken - raw ID token
  • idTokenClaims - Object contains claims from ID token
  • nativeAccountId - The user's native account ID
  • tenantProfiles - Map of tenant profile objects for each tenant that the account has authenticated with in the browser

Type declaration

  • Optional authorityType?: string
  • environment: string
  • homeAccountId: string
  • Optional idToken?: string
  • Optional idTokenClaims?: IdTokenClaims & {
        [key: string]: string | number | string[] | object | undefined | unknown;
    }
  • localAccountId: string
  • Optional name?: string
  • Optional nativeAccountId?: string
  • tenantId: string
  • Optional tenantProfiles?: Map<string, TenantProfile>
  • username: string

Generated using TypeDoc