AccountInfo type

다음 서명이 있는 계정 개체:

  • homeAccountId - 이 계정 개체의 홈 계정 식별자
  • environment - 발급자의 도메인이 나타내는 토큰을 발급한 엔터티(예: login.microsoftonline.com)
  • tenantId - 이 계정이 속한 전체 테넌트 또는 조직 ID
  • 사용자 이름 - 이 계정을 나타내는 id_token preferred_username 클레임
  • localAccountId - 일반적으로 레거시 사례에 사용되는 이 계정 개체에 대한 로컬 테넌트별 계정 identifer
  • name - 계정의 전체 이름(지정된 이름 및 가족 이름 포함)
  • idToken - 원시 ID 토큰
  • idTokenClaims - 개체에 ID 토큰의 클레임이 포함되어 있습니다.
  • nativeAccountId - 사용자의 네이티브 계정 ID
  • tenantProfiles - 계정이 브라우저에서 인증한 각 테넌트에 대한 테넌트 프로필 개체의 맵
  • dataBoundary - clientInfo에서 추출된 데이터 경계
type AccountInfo = {
  authorityType?: string
  dataBoundary?: DataBoundary
  environment: string
  homeAccountId: string
  idToken?: string
  idTokenClaims?: TokenClaims & {
    [key: string]: string | number | string[] | object | undefined | unknown
  }
  localAccountId: string
  loginHint?: string
  name?: string
  nativeAccountId?: string
  tenantId: string
  tenantProfiles?: Map<string, TenantProfile>
  username: string
}