msal
Version:
Microsoft Authentication Library for js
29 lines (24 loc) • 1.14 kB
text/typescript
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
export const EVENT_NAME_PREFIX = "msal.";
export const EVENT_NAME_KEY = "event_name";
export const START_TIME_KEY = "start_time";
export const ELAPSED_TIME_KEY = "elapsed_time";
export const TELEMETRY_BLOB_EVENT_NAMES = {
MsalCorrelationIdConstStrKey: "Microsoft.MSAL.correlation_id",
ApiTelemIdConstStrKey: "msal.api_telem_id",
ApiIdConstStrKey: "msal.api_id",
BrokerAppConstStrKey: "Microsoft_MSAL_broker_app",
CacheEventCountConstStrKey: "Microsoft_MSAL_cache_event_count",
HttpEventCountTelemetryBatchKey: "Microsoft_MSAL_http_event_count",
IdpConstStrKey: "Microsoft_MSAL_idp",
IsSilentTelemetryBatchKey: "",
IsSuccessfulConstStrKey: "Microsoft_MSAL_is_successful",
ResponseTimeConstStrKey: "Microsoft_MSAL_response_time",
TenantIdConstStrKey: "Microsoft_MSAL_tenant_id",
UiEventCountTelemetryBatchKey: "Microsoft_MSAL_ui_event_count"
};
// This is used to replace the real tenant in telemetry info
export const TENANT_PLACEHOLDER = "<tenant>";