AccountInfo: {
    authorityType?: string;
    environment: string;
    homeAccountId: string;
    idToken?: string;
    idTokenClaims?: TokenClaims & {
        [key: string]: string | number | string[] | object | undefined | unknown;
    };
    localAccountId: string;
    name?: string;
    nativeAccountId?: string;
    tenantId: string;
    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
  • localAccountId - The user's account ID
  • nativeAccountId - The user's native account ID

Type declaration

  • Optional authorityType?: string
  • environment: string
  • homeAccountId: string
  • Optional idToken?: string
  • Optional idTokenClaims?: TokenClaims & {
        [key: string]: string | number | string[] | object | undefined | unknown;
    }
  • localAccountId: string
  • Optional name?: string
  • Optional nativeAccountId?: string
  • tenantId: string
  • username: string

Generated using TypeDoc