AccountInfo type
Oggetto Account con la firma seguente:
- homeAccountId - Identificatore dell'account home per questo oggetto account
- environment - Entità che ha emesso il token rappresentato dal dominio dell'autorità emittente (ad esempio, login.microsoftonline.com)
- tenantId: tenant completo o ID organizzazione a cui appartiene l'account
- username : preferred_username attestazione del id_token che rappresenta questo account
- localAccountId - Identificatore di account locale e specifico del tenant per questo oggetto account, in genere usato nei casi legacy
- name - Nome completo per l'account, inclusi il nome e il nome della famiglia specificati
- idToken - token ID non elaborato
- idTokenClaims - L'oggetto contiene attestazioni dal token ID
- nativeAccountId - ID dell'account nativo dell'utente
- tenantProfiles : mappa degli oggetti profilo tenant per ogni tenant con cui l'account è stato autenticato nel browser
- dataBoundary - Limite dati estratto da 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
}