Office.AuthContext interface

Represents the user information which can be passed to msal.js.

Properties

authorityBaseUrl

The URL that indicates a directory that MSAL can request tokens from.

authorityType

The identity type by its identity provider (IdP) for this account. "aad" represents an organization account and "msa" represents a Microsoft personal account.

loginHint

An optional claim that provides a hint about the user account attempting to sign in.

tenantId

The full tenant or organizational ID that this account belongs to.

userObjectId

The unique ID of the account.

userPrincipalName

The user's internet-style login name, based on the Internet standard RFC. Also known as UPN.

Property Details

authorityBaseUrl

The URL that indicates a directory that MSAL can request tokens from.

authorityBaseUrl: string;

Property Value

string

authorityType

The identity type by its identity provider (IdP) for this account. "aad" represents an organization account and "msa" represents a Microsoft personal account.

authorityType: "aad" | "msa" | "other";

Property Value

"aad" | "msa" | "other"

loginHint

An optional claim that provides a hint about the user account attempting to sign in.

loginHint: string;

Property Value

string

tenantId

The full tenant or organizational ID that this account belongs to.

tenantId: string;

Property Value

string

userObjectId

The unique ID of the account.

userObjectId: string;

Property Value

string

userPrincipalName

The user's internet-style login name, based on the Internet standard RFC. Also known as UPN.

userPrincipalName: string;

Property Value

string