AccountInfo type
次のシグネチャを持つ Account オブジェクト:
- homeAccountId - このアカウント オブジェクトのホーム アカウント識別子
- environment - 発行者のドメインによって表されるトークンを発行したエンティティ (例: login.microsoftonline.com)
- tenantId - このアカウントが属する完全なテナントまたは組織 ID
- username - preferred_usernameこのアカウントを表すid_tokenの要求
- 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
}