Edit

Share via


PerformanceEvents enum

Enumeration of operations that are instrumented by have their performance measured by the PerformanceClient.

Fields

AcquireTokenByBroker

Time taken for token acquisition by broker

AcquireTokenByCode

acquireTokenByCode API (msal-browser and msal-node). Used to acquire tokens by trading an authorization code against the token endpoint.

AcquireTokenByCodeAsync
AcquireTokenByRefreshToken

acquireTokenByRefreshToken API (msal-browser and msal-node). Used to renew an access token using a refresh token against the token endpoint.

AcquireTokenByRefreshTokenInBroker

acquireTokenByRefreshToken API in BrokerClientApplication (PW-Broker) .

AcquireTokenBySilentIframe

acquireTokenBySilentIframe (msal-browser). Internal API for acquiring token by silent Iframe

AcquireTokenFromCache

acquireTokenFromCache (msal-browser). Internal API for acquiring token from cache

AcquireTokenPopup

acquireTokenPopup (msal-browser). Used to acquire a new access token interactively through pop ups

AcquireTokenPreRedirect

acquireTokenPreRedirect (msal-browser). First part of the redirect flow. Used to acquire a new access token interactively through redirects.

AcquireTokenRedirect

acquireTokenRedirect (msal-browser). Second part of the redirect flow. Used to acquire a new access token interactively through redirects.

AcquireTokenSilent

acquireTokenSilent API (msal-browser and msal-node). Used to silently acquire a new access token (from the cache or the network).

AcquireTokenSilentAsync

acquireTokenSilentAsync (msal-browser). Internal API for acquireTokenSilent.

AuthClientAcquireToken

APIs in Authorization Code Client (msal-common)

AuthClientCreateTokenRequestBody
AuthClientExecuteTokenRequest
AuthorityFactoryCreateDiscoveredInstance

Authority functions

AuthorityGetCloudDiscoveryMetadataFromNetwork
AuthorityGetEndpointMetadataFromNetwork
AuthorityResolveEndpointsAsync
AuthorityResolveEndpointsFromLocalSources
AuthorityUpdateCloudDiscoveryMetadata
AuthorityUpdateEndpointMetadata
AuthorityUpdateMetadataWithRegionalInformation
AuthorizationCodeClientExecutePostToTokenEndpoint
AwaitConcurrentIframe
Base64Decode
BaseClientCreateTokenRequestHeaders

Time spent creating default headers for requests to token endpoint

BrokerHandhshake

Used to measure the time taken for completing embedded-broker handshake (PW-Broker).

CacheManagerGetRefreshToken
ClearTokensAndKeysWithClaims

Cache operations

CryptoOptsGetPublicKeyThumbprint

getPublicKeyThumbprint API in CryptoOpts class (msal-browser). Used to generate a public/private keypair and generate a public key thumbprint for pop requests.

CryptoOptsSignJwt

signJwt API in CryptoOpts class (msal-browser). Used to signed a pop token.

Decrypt
DecryptEarResponse
DeserializeResponse
Encrypt
FetchAccountIdWithNativeBroker

acquireToken APIs in msal-browser. Used to make an /authorize endpoint call with native brokering enabled.

GenerateBaseKey
GenerateCodeChallengeFromVerifier
GenerateCodeVerifier
GenerateEarKey
GenerateHKDF
GeneratePkceCodes

Crypto Operations

GetAuthCodeUrl

getAuthCodeUrl API (msal-browser and msal-node).

GetCloudDiscoveryMetadataFromNetworkMeasurement
GetEndpointMetadataFromNetwork
GetRandomValues
GetStandardParams
HandleCodeResponse
HandleCodeResponseFromServer

Functions from InteractionHandler (msal-browser)

HandleNativeRedirectPromiseMeasurement
HandleRedirectPromiseMeasurement
HandleResponseCode
HandleResponseEar
HandleResponsePlatformBroker
HandleServerTokenResponse

handleServerTokenResponse API in ResponseHandler (msal-common)

ImportExistingCache
InitializeBaseRequest

Internal API for initializing base request in BaseInteractionClient (msal-browser)

InitializeCache
InitializeClientApplication
InitializeSilentRequest

Internal API for initializing silent request in SilentCacheClient (msal-browser)

LocalStorageUpdated
NativeGenerateAuthResult
NativeInteractionClientAcquireToken

acquireToken API in NativeInteractionClient class (msal-browser). Used to acquire a token from Native component when native brokering is enabled.

NativeMessageHandlerHandshake
NetworkClientSendPostRequestAsync

Time spent sending/waiting for the response of a request to the token endpoint

PopTokenGenerateCnf

Generate functions in PopTokenGenerator (msal-common)

PopTokenGenerateKid
RefreshTokenClientAcquireToken

Time taken for acquiring refresh token , records RT size

RefreshTokenClientAcquireTokenByRefreshToken

acquireTokenByRefreshToken API in RefreshTokenClient (msal-common).

RefreshTokenClientAcquireTokenWithCachedRefreshToken

Time taken for acquiring cached refresh token

RefreshTokenClientCreateTokenRequestBody

Helper function to create token request body in RefreshTokenClient (msal-common).

RefreshTokenClientExecutePostToTokenEndpoint
RefreshTokenClientExecuteTokenRequest

Time spent on the network for refresh token acquisition

RegionDiscoveryDetectRegion

Region Discovery functions

RegionDiscoveryGetCurrentVersion
RegionDiscoveryGetRegionFromIMDS
RemoveHiddenIframe
SetUserData
Sha256Digest
SilentCacheClientAcquireToken

acquireToken API in the SilentCacheClient class (msal-browser). Used to read access tokens from the cache.

SilentFlowClientAcquireCachedToken
SilentFlowClientGenerateResultFromCacheRecord
SilentHandlerInitiateAuthRequest

SilentHandler

SilentHandlerLoadFrame
SilentHandlerLoadFrameSync
SilentHandlerMonitorIframeForHash
SilentIframeClientAcquireToken

acquireToken API in the SilentIframeClient class (msal-browser). Used to acquire a new set of tokens from the authorize endpoint in a hidden iframe.

SilentIframeClientTokenHelper

Helper function in SilentIframeClient class (msal-browser).

SilentRefreshClientAcquireToken

acquireToken API in SilentRereshClient (msal-browser). Used to acquire a new set of tokens from the token endpoint using a refresh token.

SsoSilent

ssoSilent API (msal-browser). Used to silently acquire an authorization code and set of tokens using a hidden iframe.

StandardInteractionClientCreateAuthCodeClient

Helper functions in StandardInteractionClient class (msal-browser)

StandardInteractionClientGetClientConfiguration
StandardInteractionClientGetDiscoveredAuthority

getDiscoveredAuthority API in StandardInteractionClient class (msal-browser). Used to load authority metadata for a request.

StandardInteractionClientInitializeAuthorizationRequest
UpdateCloudDiscoveryMetadataMeasurement
UpdateTokenEndpointAuthority
UrlEncodeArr
UsernamePasswordClientAcquireToken