@azure/msal-browser
Version:
Microsoft Authentication Library for js
44 lines (42 loc) • 1.32 kB
JavaScript
/*! @azure/msal-browser v5.7.0 2026-04-16 */
;
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
const INTERACTION_TYPE = {
SIGNOUT: "signout",
};
/**
* Temporary cache keys for MSAL, deleted after any request.
*/
const TemporaryCacheKeys = {
ORIGIN_URI: "request.origin",
URL_HASH: "urlHash",
REQUEST_PARAMS: "request.params",
VERIFIER: "code.verifier",
INTERACTION_STATUS_KEY: "interaction.status",
NATIVE_REQUEST: "request.native",
};
/**
* API Codes for Telemetry purposes.
* Before adding a new code you must claim it in the MSAL Telemetry tracker as these number spaces are shared across all MSALs
* 0-99 Silent Flow
* 800-899 Auth Code Flow
* 900-999 Misc
*/
const ApiId = {
handleRedirectPromise: 865,
logout: 961};
/*
* Interaction type of the API - used for state and telemetry
*/
var InteractionType;
(function (InteractionType) {
InteractionType["Redirect"] = "redirect";
InteractionType["Popup"] = "popup";
InteractionType["Silent"] = "silent";
InteractionType["None"] = "none";
})(InteractionType || (InteractionType = {}));
export { ApiId, INTERACTION_TYPE, InteractionType, TemporaryCacheKeys };
//# sourceMappingURL=BrowserConstants.mjs.map