Edit

Share via


@azure/msal-common package

Classes

PerformanceClient
AuthError

General error class thrown by the MSAL.js library.

AuthenticationHeaderParser

This is a helper class that parses supported HTTP response authentication headers to extract and return header challenge values that can be used outside the basic authorization flows.

CacheError

Error thrown when there is an error with the cache

ClientAuthError

Error thrown when there is an error in the client code running on the browser.

ClientConfigurationError

Error thrown when there is an error in configuration of the MSAL.js library.

InteractionRequiredAuthError

Error thrown when user interaction is required.

Logger

Class which facilitates logging of messages to a specific place.

NetworkError

Represents network related errors

PlatformBrokerError

Error class for MSAL Runtime errors that preserves detailed broker information

ScopeSet

The ScopeSet class creates a set of scopes. Scopes are case-insensitive, unique values, so the Set object in JS makes the most sense to implement for this class. All scopes are trimmed and converted to lower case strings in intersection and union functions to ensure uniqueness of strings.

ServerError

Error thrown when there is an error with the server code, for example, unavailability.

StubPerformanceClient
UrlString

Url object class which can perform various transformations on url strings.

TokenCacheContext

This class instance helps track the memory changes facilitating decisions to read from and write to the persistent cache

Interfaces

IPerformanceClient
IPerformanceMeasurement
ICrypto

Interface for crypto functions used by library

ILoggerCallback
INetworkModule

Client network interface to send backend requests.

IUri

Interface which describes URI components.

IAppTokenProvider
ICachePlugin
IGuidGenerator
INativeBrokerPlugin
ISerializableTokenCache

Type Aliases

ExternalTokenResponse

Response object used for loading external tokens to cache.

  • token_type: Indicates the token type value. The only type that Azure AD supports is Bearer.
  • scope: The scopes that the access_token is valid for.
  • expires_in: How long the access token is valid (in seconds).
  • id_token: A JSON Web Token (JWT). The app can decode the segments of this token to request information about the user who signed in.
  • refresh_token: An OAuth 2.0 refresh token. The app can use this token acquire additional access tokens after the current access token expires.
  • access_token: The requested access token. The app can use this token to authenticate to the secured resource, such as a web API.
  • client_info: Client info object
InProgressPerformanceEvent
PerformanceCallbackFunction
PerformanceEvent

Performance measurement taken by the library, including metadata about the request and application.

ShrOptions
SignedHttpRequest
SubMeasurement
AADAuthority
AuthenticationScheme
AuthorityMetadataSource
CacheOutcome
CacheType
ClaimsRequestKeys
CredentialType
EncodingTypes
GrantType
HeaderNames
HttpMethod
JsonWebTokenTypes
OAuthResponseType
PasswordGrantConstants
PersistentCacheKeys
RegionDiscoveryOutcomes
RegionDiscoverySources
ResponseMode
AccessTokenEntity

Access token cache type

AccountFilter

Account: <home_account_id>-<environment>-<realm*>

AccountInfo

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
  • nativeAccountId - The user's native account ID
  • tenantProfiles - Map of tenant profile objects for each tenant that the account has authenticated with in the browser
  • dataBoundary - Data boundary extracted from clientInfo
ActiveAccountFilters
AppMetadataEntity

App Metadata Cache Type

ApplicationTelemetry

Telemetry information sent on request

  • appName: Unique string name of an application
  • appVersion: Version of the application using MSAL
AuthenticationResult

Result returned from the authority's token endpoint.

  • uniqueId - oid or sub claim from ID token
  • tenantId - tid claim from ID token
  • scopes - Scopes that are validated for the respective token
  • account - An account object representation of the currently signed-in user
  • idToken - Id token received as part of the response
  • idTokenClaims - MSAL-relevant ID token claims
  • accessToken - Access token or SSH certificate received as part of the response
  • fromCache - Boolean denoting whether token came from cache
  • expiresOn - Javascript Date object representing relative expiration of access token
  • extExpiresOn - Javascript Date object representing extended relative expiration of access token in case of server outage
  • refreshOn - Javascript Date object representing relative time until an access token must be refreshed
  • state - Value passed in by user in request
  • familyId - Family ID identifier, usually only used for refresh tokens
  • requestId - Request ID returned as part of the response
AuthorityOptions
AuthorizationCodePayload

Response returned after processing the code response query string or fragment.

AuthorizeResponse

Response properties that may be returned by the /authorize endpoint

AzureCloudOptions

AzureCloudInstance specific options

  • azureCloudInstance - string enum providing short notation for soverign and public cloud authorities
  • tenant - provision to provide the tenant info
AzureRegion
AzureRegionConfiguration
BaseAuthRequest

BaseAuthRequest

CcsCredential
ClientInfo

Client info object which consists of: uid: user id utid: tenant id xms_tdbr: optional, only for non-US tenants

CommonAuthorizationCodeRequest

Request object passed by user to acquire a token from the server exchanging a valid authorization code (second leg of OAuth2.0 Authorization Code flow)

CommonAuthorizationUrlRequest

Request object passed by user to retrieve a Code from the server (first leg of authorization code grant flow)

CommonEndSessionRequest

CommonEndSessionRequest

CommonRefreshTokenRequest

CommonRefreshTokenRequest

CommonSilentFlowRequest

SilentFlow parameters passed by the user to retrieve credentials silently

CredentialEntity

Credential Cache Type

CredentialFilter

Credential: <home_account_id*>-<environment>-<credential_type>-<client_id>-<realm*>-<target*>-<scheme*>

IdTokenEntity

Id Token Cache Type

LibraryStateObject

Type which defines library state

LoggerOptions

Use this to configure the logging that MSAL does, by configuring logger options in the Configuration object

  • loggerCallback - Callback for logger
  • piiLoggingEnabled - Sets whether pii logging is enabled
  • logLevel - Sets the level at which logging happens
  • correlationId - Sets the correlationId printed by the logger
NetworkRequestOptions

Options allowed by network request APIs.

NetworkResponse
OIDCOptions

Options for the OIDC protocol mode.

PkceCodes

The PkceCodes type describes the structure of objects that contain PKCE code challenge and verifier pairs

RefreshTokenEntity

Refresh Token Cache Type

RequestStateObject

Type which defines the stringified and encoded state object sent to the service in the authorize request.

RequestThumbprint

Type representing a unique request thumbprint.

ServerAuthorizationTokenResponse

Deserialized response object from server authorization code request.

  • token_type: Indicates the token type value. Can be either Bearer or pop.
  • scope: The scopes that the access_token is valid for.
  • expires_in: How long the access token is valid (in seconds).
  • refresh_in: Duration afer which a token should be renewed, regardless of expiration.
  • ext_expires_in: How long the access token is valid (in seconds) if the server isn't responding.
  • access_token: The requested access token. The app can use this token to authenticate to the secured resource, such as a web API.
  • refresh_token: An OAuth 2.0 refresh token. The app can use this token acquire additional access tokens after the current access token expires.
  • id_token: A JSON Web Token (JWT). The app can decode the segments of this token to request information about the user who signed in.
  • key_id: A string that uniquely identifies a public key that the request is bound to.

In case of error:

  • error: An error code string that can be used to classify types of errors that occur, and can be used to react to errors.
  • error_description: A specific error message that can help a developer identify the root cause of an authentication error.
  • error_codes: A list of STS-specific error codes that can help in diagnostics.
  • timestamp: The time at which the error occurred.
  • trace_id: A unique identifier for the request that can help in diagnostics.
  • correlation_id: A unique identifier for the request that can help in diagnostics across components.
  • status: the network request's response status
ServerTelemetryEntity
ServerTelemetryRequest
SignedHttpRequestParameters
StaticAuthorityOptions
StoreInCache

Controls whether tokens should be stored in the cache or not. If set to false, tokens may still be acquired and returned but will not be cached for later retrieval.

StringDict

Key-Value type to support queryParams, extraQueryParams and claims

SystemOptions

Use this to configure token renewal info in the Configuration object

  • tokenRenewalOffsetSeconds - Sets the window of offset needed to renew the token before expiry
  • protocolMode - Enum that represents the protocol that msal follows. Used for configuring proper endpoints.
TenantProfile

Account details that vary across tenants for the same user

ThrottlingEntity
TokenClaims

Type which describes Id Token claims known by MSAL.

TokenKeys
AppTokenProviderParameters

Input object for the IAppTokenProvider extensiblity. MSAL will create this object, which can be used to help create an AppTokenProviderResult.

  • correlationId - the correlation Id associated with the request
  • tenantId - the tenant Id for which the token must be provided
  • scopes - the scopes for which the token must be provided
  • claims - any extra claims that the token must satisfy
AppTokenProviderResult

Output object for IAppTokenProvider extensiblity.

  • accessToken - the actual access token, typically in JWT format, that satisfies the request data AppTokenProviderParameters
  • expiresInSeconds - how long the tokens has before expiry, in seconds. Similar to the "expires_in" field in an AAD token response.
  • refreshInSeconds - how long the token has before it should be proactively refreshed. Similar to the "refresh_in" field in an AAD token response.
ClientAssertion

Client Assertion credential for Confidential Clients

ClientAssertionCallback
ClientAssertionConfig
CommonClientConfiguration
DeviceCodeResponse

DeviceCode returned by the security token service device code endpoint containing information necessary for device code flow.

  • userCode: code which user needs to provide when authenticating at the verification URI
  • deviceCode: code which should be included in the request for the access token
  • verificationUri: URI where user can authenticate
  • expiresIn: expiration time of the device code in seconds
  • interval: interval at which the STS should be polled at
  • message: message which should be displayed to the user
NativeRequest
NativeSignOutRequest
ServerDeviceCodeResponse

Enums

PerformanceEventStatus

State of the performance event.

LogLevel

Log message level.

Functions

buildAccountToCache(CacheManager, Authority, string, (input: string) => string, string, TokenClaims, string, string, null | string, AuthorizationCodePayload, string, Logger)
buildClientInfo(string, (input: string) => string)

Function to build a client info object from server clientInfo string

buildClientInfoFromHomeAccountId(string)

Function to build a client info object from cached homeAccountId string

buildStaticAuthorityOptions(Partial<AuthorityOptions>)
buildTenantProfile(string, string, string, TokenClaims)

Build tenant profile

createAuthError(string, string)
createCacheError(unknown)

Helper function to wrap browser errors in a CacheError object

createClientAuthError(string, string)
createClientConfigurationError(string)
createInteractionRequiredAuthError(string, string)

Creates an InteractionRequiredAuthError

createNetworkError(AuthError, number, Record<string, string>, Error)

Creates NetworkError object for a failed network request

formatAuthorityUri(string)
getRequestThumbprint(string, BaseAuthRequest, string)
getTenantIdFromIdTokenClaims(TokenClaims)

Gets tenantId from available ID token claims to set as credential realm with the following precedence:

  1. tid - if the token is acquired from an Azure AD tenant tid will be present
  2. tfp - if the token is acquired from a modern B2C tenant tfp should be present
  3. acr - if the token is acquired from a legacy B2C tenant acr should be present Downcased to match the realm case-insensitive comparison requirements
tenantIdMatchesHomeTenant(string, string)

Returns true if tenantId matches the utid portion of homeAccountId

updateAccountTenantProfileData(AccountInfo, TenantProfile, TokenClaims, string)

Replaces account info that varies by tenant profile sourced from the ID token claims passed in with the tenant-specific account info

buildAccountToCache(CacheManager, Authority, string, (input: string) => string, string, TokenClaims, string, string, null | string, AuthorizationCodePayload, string, Logger)
buildClientConfiguration(ClientConfiguration)

Function that sets the default options when not explicitly configured from app developer

buildClientInfo(string, (input: string) => string)

Function to build a client info object from server clientInfo string

buildClientInfoFromHomeAccountId(string)

Function to build a client info object from cached homeAccountId string

buildStaticAuthorityOptions(Partial<AuthorityOptions>)
buildTenantProfile(string, string, string, TokenClaims)

Build tenant profile

createAuthError(string, string)
createCacheError(unknown)

Helper function to wrap browser errors in a CacheError object

createClientAuthError(string, string)
createClientConfigurationError(string)
createInteractionRequiredAuthError(string, string)

Creates an InteractionRequiredAuthError

createNetworkError(AuthError, number, Record<string, string>, Error)

Creates NetworkError object for a failed network request

formatAuthorityUri(string)
getRequestThumbprint(string, BaseAuthRequest, string)
getTenantIdFromIdTokenClaims(TokenClaims)

Gets tenantId from available ID token claims to set as credential realm with the following precedence:

  1. tid - if the token is acquired from an Azure AD tenant tid will be present
  2. tfp - if the token is acquired from a modern B2C tenant tfp should be present
  3. acr - if the token is acquired from a legacy B2C tenant acr should be present Downcased to match the realm case-insensitive comparison requirements
tenantIdMatchesHomeTenant(string, string)

Returns true if tenantId matches the utid portion of homeAccountId

updateAccountTenantProfileData(AccountInfo, TenantProfile, TokenClaims, string)

Replaces account info that varies by tenant profile sourced from the ID token claims passed in with the tenant-specific account info

Variables

IntFields
AuthorityType

Authority types supported by MSAL.

AzureCloudInstance
CcsCredentialType
ProtocolMode

Protocol modes supported by MSAL.

DEFAULT_CRYPTO_IMPLEMENTATION
DEFAULT_SYSTEM_OPTIONS
StubbedNetworkModule
version

Function Details

buildAccountToCache(CacheManager, Authority, string, (input: string) => string, string, TokenClaims, string, string, null | string, AuthorizationCodePayload, string, Logger)

function buildAccountToCache(cacheStorage: CacheManager, authority: Authority, homeAccountId: string, base64Decode: (input: string) => string, correlationId: string, idTokenClaims?: TokenClaims, clientInfo?: string, environment?: string, claimsTenantId?: null | string, authCodePayload?: AuthorizationCodePayload, nativeAccountId?: string, logger?: Logger): AccountEntity

Parameters

cacheStorage

CacheManager

authority

Authority

homeAccountId

string

base64Decode

(input: string) => string

correlationId

string

idTokenClaims
TokenClaims
clientInfo

string

environment

string

claimsTenantId

null | string

authCodePayload
AuthorizationCodePayload
nativeAccountId

string

logger
Logger

Returns

AccountEntity

buildClientInfo(string, (input: string) => string)

Function to build a client info object from server clientInfo string

function buildClientInfo(rawClientInfo: string, base64Decode: (input: string) => string): ClientInfo

Parameters

rawClientInfo

string

base64Decode

(input: string) => string

Returns

buildClientInfoFromHomeAccountId(string)

Function to build a client info object from cached homeAccountId string

function buildClientInfoFromHomeAccountId(homeAccountId: string): ClientInfo

Parameters

homeAccountId

string

Returns

buildStaticAuthorityOptions(Partial<AuthorityOptions>)

function buildStaticAuthorityOptions(authOptions: Partial<AuthorityOptions>): StaticAuthorityOptions

Parameters

authOptions

Partial<AuthorityOptions>

Returns

buildTenantProfile(string, string, string, TokenClaims)

Build tenant profile

function buildTenantProfile(homeAccountId: string, localAccountId: string, tenantId: string, idTokenClaims?: TokenClaims): TenantProfile

Parameters

homeAccountId

string

Home account identifier for this account object

localAccountId

string

Local account identifer for this account object

tenantId

string

Full tenant or organizational id that this account belongs to

idTokenClaims
TokenClaims

Claims from the ID token

Returns

createAuthError(string, string)

function createAuthError(code: string, additionalMessage?: string): AuthError

Parameters

code

string

additionalMessage

string

Returns

createCacheError(unknown)

Helper function to wrap browser errors in a CacheError object

function createCacheError(e: unknown): CacheError

Parameters

e

unknown

Returns

createClientAuthError(string, string)

function createClientAuthError(errorCode: string, additionalMessage?: string): ClientAuthError

Parameters

errorCode

string

additionalMessage

string

Returns

createClientConfigurationError(string)

function createClientConfigurationError(errorCode: string): ClientConfigurationError

Parameters

errorCode

string

Returns

createInteractionRequiredAuthError(string, string)

Creates an InteractionRequiredAuthError

function createInteractionRequiredAuthError(errorCode: string, errorMessage?: string): InteractionRequiredAuthError

Parameters

errorCode

string

errorMessage

string

Returns

createNetworkError(AuthError, number, Record<string, string>, Error)

Creates NetworkError object for a failed network request

function createNetworkError(error: AuthError, httpStatus?: number, responseHeaders?: Record<string, string>, additionalError?: Error): NetworkError

Parameters

error
AuthError

Error to be thrown back to the caller

httpStatus

number

Status code of the network request

responseHeaders

Record<string, string>

Response headers of the network request, when available

additionalError

Error

Returns

NetworkError object

formatAuthorityUri(string)

function formatAuthorityUri(authorityUri: string): string

Parameters

authorityUri

string

Returns

string

getRequestThumbprint(string, BaseAuthRequest, string)

function getRequestThumbprint(clientId: string, request: BaseAuthRequest, homeAccountId?: string): RequestThumbprint

Parameters

clientId

string

request
BaseAuthRequest
homeAccountId

string

Returns

getTenantIdFromIdTokenClaims(TokenClaims)

Gets tenantId from available ID token claims to set as credential realm with the following precedence:

  1. tid - if the token is acquired from an Azure AD tenant tid will be present
  2. tfp - if the token is acquired from a modern B2C tenant tfp should be present
  3. acr - if the token is acquired from a legacy B2C tenant acr should be present Downcased to match the realm case-insensitive comparison requirements
function getTenantIdFromIdTokenClaims(idTokenClaims?: TokenClaims): string | null

Parameters

idTokenClaims
TokenClaims

Returns

string | null

tenantIdMatchesHomeTenant(string, string)

Returns true if tenantId matches the utid portion of homeAccountId

function tenantIdMatchesHomeTenant(tenantId?: string, homeAccountId?: string): boolean

Parameters

tenantId

string

homeAccountId

string

Returns

boolean

updateAccountTenantProfileData(AccountInfo, TenantProfile, TokenClaims, string)

Replaces account info that varies by tenant profile sourced from the ID token claims passed in with the tenant-specific account info

function updateAccountTenantProfileData(baseAccountInfo: AccountInfo, tenantProfile?: TenantProfile, idTokenClaims?: TokenClaims, idTokenSecret?: string): AccountInfo

Parameters

baseAccountInfo
AccountInfo
tenantProfile
TenantProfile
idTokenClaims
TokenClaims
idTokenSecret

string

Returns

buildAccountToCache(CacheManager, Authority, string, (input: string) => string, string, TokenClaims, string, string, null | string, AuthorizationCodePayload, string, Logger)

function buildAccountToCache(cacheStorage: CacheManager, authority: Authority, homeAccountId: string, base64Decode: (input: string) => string, correlationId: string, idTokenClaims?: TokenClaims, clientInfo?: string, environment?: string, claimsTenantId?: null | string, authCodePayload?: AuthorizationCodePayload, nativeAccountId?: string, logger?: Logger): AccountEntity

Parameters

cacheStorage

CacheManager

authority

Authority

homeAccountId

string

base64Decode

(input: string) => string

correlationId

string

idTokenClaims
TokenClaims
clientInfo

string

environment

string

claimsTenantId

null | string

authCodePayload
AuthorizationCodePayload
nativeAccountId

string

logger
Logger

Returns

AccountEntity

buildClientConfiguration(ClientConfiguration)

Function that sets the default options when not explicitly configured from app developer

function buildClientConfiguration(Configuration: ClientConfiguration): CommonClientConfiguration

Parameters

Configuration

ClientConfiguration

Returns

Configuration

buildClientInfo(string, (input: string) => string)

Function to build a client info object from server clientInfo string

function buildClientInfo(rawClientInfo: string, base64Decode: (input: string) => string): ClientInfo

Parameters

rawClientInfo

string

base64Decode

(input: string) => string

Returns

buildClientInfoFromHomeAccountId(string)

Function to build a client info object from cached homeAccountId string

function buildClientInfoFromHomeAccountId(homeAccountId: string): ClientInfo

Parameters

homeAccountId

string

Returns

buildStaticAuthorityOptions(Partial<AuthorityOptions>)

function buildStaticAuthorityOptions(authOptions: Partial<AuthorityOptions>): StaticAuthorityOptions

Parameters

authOptions

Partial<AuthorityOptions>

Returns

buildTenantProfile(string, string, string, TokenClaims)

Build tenant profile

function buildTenantProfile(homeAccountId: string, localAccountId: string, tenantId: string, idTokenClaims?: TokenClaims): TenantProfile

Parameters

homeAccountId

string

Home account identifier for this account object

localAccountId

string

Local account identifer for this account object

tenantId

string

Full tenant or organizational id that this account belongs to

idTokenClaims
TokenClaims

Claims from the ID token

Returns

createAuthError(string, string)

function createAuthError(code: string, additionalMessage?: string): AuthError

Parameters

code

string

additionalMessage

string

Returns

createCacheError(unknown)

Helper function to wrap browser errors in a CacheError object

function createCacheError(e: unknown): CacheError

Parameters

e

unknown

Returns

createClientAuthError(string, string)

function createClientAuthError(errorCode: string, additionalMessage?: string): ClientAuthError

Parameters

errorCode

string

additionalMessage

string

Returns

createClientConfigurationError(string)

function createClientConfigurationError(errorCode: string): ClientConfigurationError

Parameters

errorCode

string

Returns

createInteractionRequiredAuthError(string, string)

Creates an InteractionRequiredAuthError

function createInteractionRequiredAuthError(errorCode: string, errorMessage?: string): InteractionRequiredAuthError

Parameters

errorCode

string

errorMessage

string

Returns

createNetworkError(AuthError, number, Record<string, string>, Error)

Creates NetworkError object for a failed network request

function createNetworkError(error: AuthError, httpStatus?: number, responseHeaders?: Record<string, string>, additionalError?: Error): NetworkError

Parameters

error
AuthError

Error to be thrown back to the caller

httpStatus

number

Status code of the network request

responseHeaders

Record<string, string>

Response headers of the network request, when available

additionalError

Error

Returns

NetworkError object

formatAuthorityUri(string)

function formatAuthorityUri(authorityUri: string): string

Parameters

authorityUri

string

Returns

string

getRequestThumbprint(string, BaseAuthRequest, string)

function getRequestThumbprint(clientId: string, request: BaseAuthRequest, homeAccountId?: string): RequestThumbprint

Parameters

clientId

string

request
BaseAuthRequest
homeAccountId

string

Returns

getTenantIdFromIdTokenClaims(TokenClaims)

Gets tenantId from available ID token claims to set as credential realm with the following precedence:

  1. tid - if the token is acquired from an Azure AD tenant tid will be present
  2. tfp - if the token is acquired from a modern B2C tenant tfp should be present
  3. acr - if the token is acquired from a legacy B2C tenant acr should be present Downcased to match the realm case-insensitive comparison requirements
function getTenantIdFromIdTokenClaims(idTokenClaims?: TokenClaims): string | null

Parameters

idTokenClaims
TokenClaims

Returns

string | null

tenantIdMatchesHomeTenant(string, string)

Returns true if tenantId matches the utid portion of homeAccountId

function tenantIdMatchesHomeTenant(tenantId?: string, homeAccountId?: string): boolean

Parameters

tenantId

string

homeAccountId

string

Returns

boolean

updateAccountTenantProfileData(AccountInfo, TenantProfile, TokenClaims, string)

Replaces account info that varies by tenant profile sourced from the ID token claims passed in with the tenant-specific account info

function updateAccountTenantProfileData(baseAccountInfo: AccountInfo, tenantProfile?: TenantProfile, idTokenClaims?: TokenClaims, idTokenSecret?: string): AccountInfo

Parameters

baseAccountInfo
AccountInfo
tenantProfile
TenantProfile
idTokenClaims
TokenClaims
idTokenSecret

string

Returns

Variable Details

IntFields

IntFields: ReadonlySet<string>

Type

ReadonlySet<string>

AuthorityType

Authority types supported by MSAL.

AuthorityType: { Adfs: 1, Ciam: 3, Default: 0, Dsts: 2 }

Type

{ Adfs: 1, Ciam: 3, Default: 0, Dsts: 2 }

AzureCloudInstance

AzureCloudInstance: { AzureChina: "https://login.chinacloudapi.cn", AzureGermany: "https://login.microsoftonline.de", AzurePpe: "https://login.windows-ppe.net", AzurePublic: "https://login.microsoftonline.com", AzureUsGovernment: "https://login.microsoftonline.us", None: "none" }

Type

{ AzureChina: "https://login.chinacloudapi.cn", AzureGermany: "https://login.microsoftonline.de", AzurePpe: "https://login.windows-ppe.net", AzurePublic: "https://login.microsoftonline.com", AzureUsGovernment: "https://login.microsoftonline.us", None: "none" }

CcsCredentialType

CcsCredentialType: { HOME_ACCOUNT_ID: "home_account_id", UPN: "UPN" }

Type

{ HOME_ACCOUNT_ID: "home_account_id", UPN: "UPN" }

ProtocolMode

Protocol modes supported by MSAL.

ProtocolMode: { AAD: "AAD", EAR: "EAR", OIDC: "OIDC" }

Type

{ AAD: "AAD", EAR: "EAR", OIDC: "OIDC" }

DEFAULT_CRYPTO_IMPLEMENTATION

DEFAULT_CRYPTO_IMPLEMENTATION: ICrypto

Type

DEFAULT_SYSTEM_OPTIONS

DEFAULT_SYSTEM_OPTIONS: Required<SystemOptions>

Type

Required<SystemOptions>

StubbedNetworkModule

StubbedNetworkModule: INetworkModule

Type

version

version: "16.0.3"

Type

"16.0.3"