@azure/msal-browser 3.1.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/IPublicClientApplication.d.ts.map +1 -1
- package/dist/app/IPublicClientApplication.mjs +20 -19
- package/dist/app/IPublicClientApplication.mjs.map +1 -1
- package/dist/app/PublicClientApplication.d.ts +14 -6
- package/dist/app/PublicClientApplication.d.ts.map +1 -1
- package/dist/app/PublicClientApplication.mjs +17 -7
- package/dist/app/PublicClientApplication.mjs.map +1 -1
- package/dist/broker/nativeBroker/NativeMessageHandler.d.ts +3 -4
- package/dist/broker/nativeBroker/NativeMessageHandler.d.ts.map +1 -1
- package/dist/broker/nativeBroker/NativeMessageHandler.mjs +13 -13
- package/dist/broker/nativeBroker/NativeMessageHandler.mjs.map +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.d.ts +8 -0
- package/dist/broker/nativeBroker/NativeStatusCodes.d.ts.map +1 -0
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +16 -0
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs.map +1 -0
- package/dist/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/cache/BrowserCacheManager.d.ts +3 -3
- package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
- package/dist/cache/BrowserCacheManager.mjs +8 -7
- package/dist/cache/BrowserCacheManager.mjs.map +1 -1
- package/dist/cache/BrowserStorage.d.ts.map +1 -1
- package/dist/cache/BrowserStorage.mjs +7 -9
- package/dist/cache/BrowserStorage.mjs.map +1 -1
- package/dist/cache/CryptoKeyStore.mjs +1 -1
- package/dist/cache/DatabaseStorage.mjs +1 -1
- package/dist/cache/MemoryStorage.mjs +1 -1
- package/dist/cache/TokenCache.mjs +1 -1
- package/dist/config/Configuration.d.ts.map +1 -1
- package/dist/config/Configuration.mjs +7 -7
- package/dist/config/Configuration.mjs.map +1 -1
- package/dist/controllers/ControllerFactory.mjs +1 -1
- package/dist/controllers/IController.d.ts +3 -2
- package/dist/controllers/IController.d.ts.map +1 -1
- package/dist/controllers/StandardController.d.ts +11 -6
- package/dist/controllers/StandardController.d.ts.map +1 -1
- package/dist/controllers/StandardController.mjs +53 -34
- package/dist/controllers/StandardController.mjs.map +1 -1
- package/dist/crypto/BrowserCrypto.d.ts +44 -49
- package/dist/crypto/BrowserCrypto.d.ts.map +1 -1
- package/dist/crypto/BrowserCrypto.mjs +76 -76
- package/dist/crypto/BrowserCrypto.mjs.map +1 -1
- package/dist/crypto/CryptoOps.d.ts +1 -7
- package/dist/crypto/CryptoOps.d.ts.map +1 -1
- package/dist/crypto/CryptoOps.mjs +11 -19
- package/dist/crypto/CryptoOps.mjs.map +1 -1
- package/dist/crypto/PkceGenerator.d.ts +6 -21
- package/dist/crypto/PkceGenerator.d.ts.map +1 -1
- package/dist/crypto/PkceGenerator.mjs +45 -46
- package/dist/crypto/PkceGenerator.mjs.map +1 -1
- package/dist/crypto/SignedHttpRequest.mjs +1 -1
- package/dist/encode/Base64Decode.d.ts.map +1 -1
- package/dist/encode/Base64Decode.mjs +18 -2
- package/dist/encode/Base64Decode.mjs.map +1 -1
- package/dist/encode/Base64Encode.mjs +1 -1
- package/dist/error/BrowserAuthError.d.ts +10 -1
- package/dist/error/BrowserAuthError.d.ts.map +1 -1
- package/dist/error/BrowserAuthError.mjs +12 -3
- package/dist/error/BrowserAuthError.mjs.map +1 -1
- package/dist/error/BrowserAuthErrorCodes.d.ts +1 -0
- package/dist/error/BrowserAuthErrorCodes.d.ts.map +1 -1
- package/dist/error/BrowserAuthErrorCodes.mjs +3 -2
- package/dist/error/BrowserAuthErrorCodes.mjs.map +1 -1
- package/dist/error/BrowserConfigurationAuthError.d.ts +9 -46
- package/dist/error/BrowserConfigurationAuthError.d.ts.map +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs +20 -73
- package/dist/error/BrowserConfigurationAuthError.mjs.map +1 -1
- package/dist/error/BrowserConfigurationAuthErrorCodes.d.ts +4 -0
- package/dist/error/BrowserConfigurationAuthErrorCodes.d.ts.map +1 -0
- package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +12 -0
- package/dist/error/BrowserConfigurationAuthErrorCodes.mjs.map +1 -0
- package/dist/error/NativeAuthError.d.ts +17 -45
- package/dist/error/NativeAuthError.d.ts.map +1 -1
- package/dist/error/NativeAuthError.mjs +47 -78
- package/dist/error/NativeAuthError.mjs.map +1 -1
- package/dist/error/NativeAuthErrorCodes.d.ts +3 -0
- package/dist/error/NativeAuthErrorCodes.d.ts.map +1 -0
- package/dist/error/NativeAuthErrorCodes.mjs +11 -0
- package/dist/error/NativeAuthErrorCodes.mjs.map +1 -0
- package/dist/event/EventHandler.d.ts.map +1 -1
- package/dist/event/EventHandler.mjs +3 -2
- package/dist/event/EventHandler.mjs.map +1 -1
- package/dist/event/EventMessage.mjs +1 -1
- package/dist/event/EventType.mjs +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/dist/interaction_client/BaseInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/BaseInteractionClient.mjs +7 -8
- package/dist/interaction_client/BaseInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/interaction_client/NativeInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/NativeInteractionClient.mjs +12 -10
- package/dist/interaction_client/NativeInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/PopupClient.mjs +1 -1
- package/dist/interaction_client/RedirectClient.mjs +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.mjs +5 -8
- package/dist/interaction_client/SilentAuthCodeClient.mjs.map +1 -1
- package/dist/interaction_client/SilentCacheClient.d.ts.map +1 -1
- package/dist/interaction_client/SilentCacheClient.mjs +10 -18
- package/dist/interaction_client/SilentCacheClient.mjs.map +1 -1
- package/dist/interaction_client/SilentIframeClient.mjs +2 -2
- package/dist/interaction_client/SilentRefreshClient.d.ts.map +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs +8 -18
- package/dist/interaction_client/SilentRefreshClient.mjs.map +1 -1
- package/dist/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +12 -33
- package/dist/interaction_client/StandardInteractionClient.mjs.map +1 -1
- package/dist/interaction_handler/InteractionHandler.d.ts.map +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +6 -9
- package/dist/interaction_handler/InteractionHandler.mjs.map +1 -1
- package/dist/interaction_handler/RedirectHandler.d.ts.map +1 -1
- package/dist/interaction_handler/RedirectHandler.mjs +3 -3
- package/dist/interaction_handler/RedirectHandler.mjs.map +1 -1
- package/dist/interaction_handler/SilentHandler.d.ts.map +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +3 -4
- package/dist/interaction_handler/SilentHandler.mjs.map +1 -1
- package/dist/navigation/NavigationClient.mjs +1 -1
- package/dist/network/FetchClient.mjs +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/operatingcontext/TeamsAppOperatingContext.mjs +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/utils/BrowserConstants.mjs +1 -1
- package/dist/utils/BrowserProtocolUtils.d.ts.map +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs +3 -3
- package/dist/utils/BrowserProtocolUtils.mjs.map +1 -1
- package/dist/utils/BrowserStringUtils.mjs +1 -1
- package/dist/utils/BrowserUtils.mjs +1 -1
- package/lib/msal-browser.cjs +1413 -1727
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +1413 -1727
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +68 -65
- package/package.json +2 -2
- package/src/app/IPublicClientApplication.ts +55 -18
- package/src/app/PublicClientApplication.ts +18 -6
- package/src/broker/nativeBroker/NativeMessageHandler.ts +12 -15
- package/src/broker/nativeBroker/NativeStatusCodes.ts +13 -0
- package/src/cache/BrowserCacheManager.ts +21 -6
- package/src/cache/BrowserStorage.ts +9 -11
- package/src/config/Configuration.ts +16 -8
- package/src/controllers/IController.ts +4 -1
- package/src/controllers/StandardController.ts +155 -92
- package/src/crypto/BrowserCrypto.ts +118 -102
- package/src/crypto/CryptoOps.ts +10 -22
- package/src/crypto/PkceGenerator.ts +93 -54
- package/src/encode/Base64Decode.ts +21 -1
- package/src/error/BrowserAuthError.ts +13 -1
- package/src/error/BrowserAuthErrorCodes.ts +1 -0
- package/src/error/BrowserConfigurationAuthError.ts +33 -102
- package/src/error/BrowserConfigurationAuthErrorCodes.ts +9 -0
- package/src/error/NativeAuthError.ts +73 -101
- package/src/error/NativeAuthErrorCodes.ts +7 -0
- package/src/event/EventHandler.ts +2 -1
- package/src/index.ts +5 -0
- package/src/interaction_client/BaseInteractionClient.ts +13 -7
- package/src/interaction_client/NativeInteractionClient.ts +29 -11
- package/src/interaction_client/SilentAuthCodeClient.ts +18 -16
- package/src/interaction_client/SilentCacheClient.ts +22 -30
- package/src/interaction_client/SilentIframeClient.ts +1 -1
- package/src/interaction_client/SilentRefreshClient.ts +26 -28
- package/src/interaction_client/StandardInteractionClient.ts +36 -67
- package/src/interaction_handler/InteractionHandler.ts +20 -15
- package/src/interaction_handler/RedirectHandler.ts +6 -2
- package/src/interaction_handler/SilentHandler.ts +6 -3
- package/src/packageMetadata.ts +1 -1
- package/src/utils/BrowserProtocolUtils.ts +3 -2
- package/dist/crypto/ISubtleCrypto.d.ts +0 -10
- package/dist/crypto/ISubtleCrypto.d.ts.map +0 -1
- package/dist/crypto/ModernBrowserCrypto.d.ts +0 -10
- package/dist/crypto/ModernBrowserCrypto.d.ts.map +0 -1
- package/dist/crypto/ModernBrowserCrypto.mjs +0 -31
- package/dist/crypto/ModernBrowserCrypto.mjs.map +0 -1
- package/src/crypto/ISubtleCrypto.ts +0 -30
- package/src/crypto/ModernBrowserCrypto.ts +0 -69
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NativeAuthErrorCodes.mjs","sources":["../../src/error/NativeAuthErrorCodes.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAKA;AACA;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventHandler.d.ts","sourceRoot":"","sources":["../../src/event/EventHandler.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,OAAO,EACP,MAAM,EAGT,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EACH,qBAAqB,EACrB,UAAU,EAEV,YAAY,EACf,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"EventHandler.d.ts","sourceRoot":"","sources":["../../src/event/EventHandler.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,OAAO,EACP,MAAM,EAGT,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EACH,qBAAqB,EACrB,UAAU,EAEV,YAAY,EACf,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,qBAAa,YAAY;IAErB,OAAO,CAAC,cAAc,CAAqC;IAC3D,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,aAAa,CAAU;IAC/B,OAAO,CAAC,wBAAwB,CAAU;gBAE9B,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO;IASlD;;;OAGG;IACH,gBAAgB,CAAC,QAAQ,EAAE,qBAAqB,GAAG,MAAM,GAAG,IAAI;IAchE;;;OAGG;IACH,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI;IAK7C;;OAEG;IACH,0BAA0B,IAAI,IAAI;IAclC;;OAEG;IACH,2BAA2B,IAAI,IAAI;IAiBnC;;;;;;OAMG;IACH,SAAS,CACL,SAAS,EAAE,SAAS,EACpB,eAAe,CAAC,EAAE,eAAe,EACjC,OAAO,CAAC,EAAE,YAAY,EACtB,KAAK,CAAC,EAAE,UAAU,GACnB,IAAI;IAuBP;;OAEG;IACH,OAAO,CAAC,wBAAwB;CAqCnC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
/*! @azure/msal-browser v3.
|
|
1
|
+
/*! @azure/msal-browser v3.2.0 2023-10-05 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AccountEntity, CacheManager } from '@azure/msal-common';
|
|
4
4
|
import { EventType } from './EventType.mjs';
|
|
5
|
+
import { createNewGuid } from '../crypto/BrowserCrypto.mjs';
|
|
5
6
|
|
|
6
7
|
/*
|
|
7
8
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -22,7 +23,7 @@ class EventHandler {
|
|
|
22
23
|
*/
|
|
23
24
|
addEventCallback(callback) {
|
|
24
25
|
if (typeof window !== "undefined") {
|
|
25
|
-
const callbackId =
|
|
26
|
+
const callbackId = createNewGuid();
|
|
26
27
|
this.eventCallbacks.set(callbackId, callback);
|
|
27
28
|
this.logger.verbose(`Event callback registered with id: ${callbackId}`);
|
|
28
29
|
return callbackId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventHandler.mjs","sources":["../../src/event/EventHandler.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EventHandler.mjs","sources":["../../src/event/EventHandler.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;AAKA;AAMA;AACA;AAMA;AAOW,kBAAc,CAAU;IAC/B,iCAA0C,EAAA;AAE9B,QAAA,IAAA,CAAA,cAAQ,GAAM,IAAE,GAAA,EAAA,CAAA;AAS5B,QAAA,IAAA,CAAA,MAAA,GAAA,MAAA,CAAA;;;AAGG,QAAA,IAAA,CAAA,wBAAA;AACH,YAAA,IAAA,CAAA,mCAAgD,CAAG;AAcnD,KAAA;;;AAGG;AACH;AAKA,IAAA,gBAAA,CAAA,QAAA,EAAA;;AAEG,YAAA,MAAA,UAAA,GAAA,aAAA,EAAA,CAAA;AACH,YAAA,IAAA,CAAA,kBAAkC,CAAA,UAAA,EAAA,QAAA,CAAA,CAAA;AAclC,YAAA,IAAA,CAAA,MAAA,CAAA,OAAA,CAAA,CAAA,mCAAA,EAAA,UAAA,CAAA,CAAA,CAAA,CAAA;;AAEG,SAAA;AACH,QAAA,OAAA,IAAA,CAAA;AAiBA,KAAA;;;;;;AAMG,QAAA,IAAA,CAAA,cAAA,CAAA,MAAA,CAAA,UAAA,CAAA,CAAA;QACM,IAAA,CAAA,cACM,CAAA,CAAA,eACI,EAAA,UAAkB,CAAA,SAAA,CAAA,CAAA,CAAA;AA0BrC,KAAA;;AAEG;AACH;AAqCH,IAAA,0BAAA,GAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/event/EventType.mjs
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export { Configuration, BrowserAuthOptions, CacheOptions, BrowserSystemOptions,
|
|
|
12
12
|
export { InteractionType, InteractionStatus, BrowserCacheLocation, WrapperSKU, ApiId, CacheLookupPolicy, } from "./utils/BrowserConstants";
|
|
13
13
|
export { BrowserUtils } from "./utils/BrowserUtils";
|
|
14
14
|
export { BrowserAuthError, BrowserAuthErrorMessage, BrowserAuthErrorCodes, } from "./error/BrowserAuthError";
|
|
15
|
-
export { BrowserConfigurationAuthError, BrowserConfigurationAuthErrorMessage, } from "./error/BrowserConfigurationAuthError";
|
|
15
|
+
export { BrowserConfigurationAuthError, BrowserConfigurationAuthErrorCodes, BrowserConfigurationAuthErrorMessage, } from "./error/BrowserConfigurationAuthError";
|
|
16
16
|
export { IPublicClientApplication, stubbedPublicClientApplication, } from "./app/IPublicClientApplication";
|
|
17
17
|
export { INavigationClient } from "./navigation/INavigationClient";
|
|
18
18
|
export { NavigationClient } from "./navigation/NavigationClient";
|
|
@@ -37,6 +37,6 @@ export { SignedHttpRequest, SignedHttpRequestOptions, } from "./crypto/SignedHtt
|
|
|
37
37
|
export { PopupWindowAttributes, PopupSize, PopupPosition, } from "./request/PopupWindowAttributes";
|
|
38
38
|
export { BrowserPerformanceClient } from "./telemetry/BrowserPerformanceClient";
|
|
39
39
|
export { BrowserPerformanceMeasurement } from "./telemetry/BrowserPerformanceMeasurement";
|
|
40
|
-
export { AuthenticationScheme, AccountInfo, AccountEntity, IdTokenClaims, AuthError, AuthErrorMessage, ClientAuthError, ClientAuthErrorMessage, ClientConfigurationError, ClientConfigurationErrorMessage, InteractionRequiredAuthError, InteractionRequiredAuthErrorMessage, ServerError, INetworkModule, NetworkResponse, NetworkRequestOptions, ILoggerCallback, Logger, LogLevel, ProtocolMode, ServerResponseType, PromptValue, ExternalTokenResponse, StringUtils, UrlString, AzureCloudInstance, AzureCloudOptions, AuthenticationHeaderParser, OIDC_DEFAULT_SCOPES, PerformanceCallbackFunction, PerformanceEvent, PerformanceEvents, InProgressPerformanceEvent, } from "@azure/msal-common";
|
|
40
|
+
export { AuthenticationScheme, AccountInfo, AccountEntity, IdTokenClaims, AuthError, AuthErrorCodes, AuthErrorMessage, ClientAuthError, ClientAuthErrorCodes, ClientAuthErrorMessage, ClientConfigurationError, ClientConfigurationErrorCodes, ClientConfigurationErrorMessage, InteractionRequiredAuthError, InteractionRequiredAuthErrorCodes, InteractionRequiredAuthErrorMessage, ServerError, INetworkModule, NetworkResponse, NetworkRequestOptions, ILoggerCallback, Logger, LogLevel, ProtocolMode, ServerResponseType, PromptValue, ExternalTokenResponse, StringUtils, UrlString, AzureCloudInstance, AzureCloudOptions, AuthenticationHeaderParser, OIDC_DEFAULT_SCOPES, PerformanceCallbackFunction, PerformanceEvent, PerformanceEvents, InProgressPerformanceEvent, } from "@azure/msal-common";
|
|
41
41
|
export { version } from "./packageMetadata";
|
|
42
42
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA;;;GAGG;AAEH;;;GAGG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EACH,aAAa,EACb,kBAAkB,EAClB,YAAY,EACZ,oBAAoB,EACpB,uBAAuB,EACvB,oBAAoB,EACpB,yBAAyB,GAC5B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACH,eAAe,EACf,iBAAiB,EACjB,oBAAoB,EACpB,UAAU,EACV,KAAK,EACL,iBAAiB,GACpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAQpD,OAAO,EACH,gBAAgB,EAChB,uBAAuB,EACvB,qBAAqB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACH,6BAA6B,EAC7B,oCAAoC,GACvC,MAAM,uCAAuC,CAAC;AAG/C,OAAO,EACH,wBAAwB,EACxB,8BAA8B,GACjC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D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AAc,EACd,gBAAgB,EAChB,eAAe,EACf,oBAAoB,EACpB,sBAAsB,EACtB,wBAAwB,EACxB,6BAA6B,EAC7B,+BAA+B,EAC/B,4BAA4B,EAC5B,iCAAiC,EACjC,mCAAmC,EACnC,WAAW,EAEX,cAAc,EACd,eAAe,EACf,qBAAqB,EAErB,eAAe,EACf,MAAM,EACN,QAAQ,EAER,YAAY,EACZ,kBAAkB,EAClB,WAAW,EAEX,qBAAqB,EAErB,WAAW,EACX,SAAS,EAET,kBAAkB,EAClB,iBAAiB,EACjB,0BAA0B,EAC1B,mBAAmB,EACnB,2BAA2B,EAC3B,gBAAgB,EAChB,iBAAiB,EAEjB,0BAA0B,GAC7B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v3.
|
|
1
|
+
/*! @azure/msal-browser v3.2.0 2023-10-05 */
|
|
2
2
|
'use strict';
|
|
3
3
|
export { PublicClientApplication } from './app/PublicClientApplication.mjs';
|
|
4
4
|
export { DEFAULT_IFRAME_TIMEOUT_MS } from './config/Configuration.mjs';
|
|
@@ -15,8 +15,10 @@ export { EventType } from './event/EventType.mjs';
|
|
|
15
15
|
export { SignedHttpRequest } from './crypto/SignedHttpRequest.mjs';
|
|
16
16
|
export { BrowserPerformanceClient } from './telemetry/BrowserPerformanceClient.mjs';
|
|
17
17
|
export { BrowserPerformanceMeasurement } from './telemetry/BrowserPerformanceMeasurement.mjs';
|
|
18
|
-
export { AccountEntity, AuthError, AuthErrorMessage, AuthenticationHeaderParser, AuthenticationScheme, AzureCloudInstance, ClientAuthError, ClientAuthErrorMessage, ClientConfigurationError, ClientConfigurationErrorMessage, InteractionRequiredAuthError, InteractionRequiredAuthErrorMessage, LogLevel, Logger, OIDC_DEFAULT_SCOPES, PerformanceEvents, PromptValue, ProtocolMode, ServerError, ServerResponseType, StringUtils, UrlString } from '@azure/msal-common';
|
|
18
|
+
export { AccountEntity, AuthError, AuthErrorCodes, AuthErrorMessage, AuthenticationHeaderParser, AuthenticationScheme, AzureCloudInstance, ClientAuthError, ClientAuthErrorCodes, ClientAuthErrorMessage, ClientConfigurationError, ClientConfigurationErrorCodes, ClientConfigurationErrorMessage, InteractionRequiredAuthError, InteractionRequiredAuthErrorCodes, InteractionRequiredAuthErrorMessage, LogLevel, Logger, OIDC_DEFAULT_SCOPES, PerformanceEvents, PromptValue, ProtocolMode, ServerError, ServerResponseType, StringUtils, UrlString } from '@azure/msal-common';
|
|
19
19
|
export { version } from './packageMetadata.mjs';
|
|
20
20
|
import * as BrowserAuthErrorCodes from './error/BrowserAuthErrorCodes.mjs';
|
|
21
21
|
export { BrowserAuthErrorCodes };
|
|
22
|
+
import * as BrowserConfigurationAuthErrorCodes from './error/BrowserConfigurationAuthErrorCodes.mjs';
|
|
23
|
+
export { BrowserConfigurationAuthErrorCodes };
|
|
22
24
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseInteractionClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/BaseInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,OAAO,EACP,cAAc,EACd,MAAM,EACN,WAAW,EAEX,eAAe,EAGf,sBAAsB,
|
|
1
|
+
{"version":3,"file":"BaseInteractionClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/BaseInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,OAAO,EACP,cAAc,EACd,MAAM,EACN,WAAW,EAEX,eAAe,EAGf,sBAAsB,EAItB,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Y,EAC1B,gBAAgB,EAAE,iBAAiB,EACnC,iBAAiB,EAAE,kBAAkB,EACrC,oBAAoB,CAAC,EAAE,oBAAoB,EAC3C,aAAa,CAAC,EAAE,MAAM;IAkB1B,QAAQ,CAAC,YAAY,CACjB,OAAO,EAAE,eAAe,GAAG,YAAY,GAAG,gBAAgB,GAC3D,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC;IAEvC,QAAQ,CAAC,MAAM,CACX,OAAO,EAAE,iBAAiB,GAAG,iBAAiB,GAAG,SAAS,GAC3D,OAAO,CAAC,IAAI,CAAC;cAEA,kBAAkB,CAC9B,OAAO,CAAC,EAAE,WAAW,GAAG,IAAI,GAC7B,OAAO,CAAC,IAAI,CAAC;IA2ChB;;;OAGG;cACa,qBAAqB,CACjC,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,EACjC,OAAO,CAAC,EAAE,WAAW,GACtB,OAAO,CAAC,eAAe,CAAC;IA6D3B;;;;;;OAMG;IACH,cAAc,CAAC,kBAAkB,CAAC,EAAE,MAAM,GAAG,MAAM;IAgB7C,wBAAwB,CAC1B,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,WAAW,GACrB,OAAO,CAAC,IAAI,CAAC;IAYhB;;;;;OAKG;IACH,SAAS,CAAC,gCAAgC,CACtC,KAAK,EAAE,MAAM,EACb,YAAY,CAAC,EAAE,OAAO,GACvB,sBAAsB;IAiBzB;;;;OAIG;cACa,sBAAsB,CAClC,gBAAgB,CAAC,EAAE,MAAM,GAC1B,OAAO,CAAC,SAAS,CAAC;CAkCxB"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
/*! @azure/msal-browser v3.
|
|
1
|
+
/*! @azure/msal-browser v3.2.0 2023-10-05 */
|
|
2
2
|
'use strict';
|
|
3
|
-
import { AccountEntity, PerformanceEvents, AuthenticationScheme,
|
|
3
|
+
import { AccountEntity, PerformanceEvents, AuthenticationScheme, createClientConfigurationError, ClientConfigurationErrorCodes, StringUtils, UrlString, ServerTelemetryManager, AuthorityFactory } from '@azure/msal-common';
|
|
4
4
|
import { version } from '../packageMetadata.mjs';
|
|
5
5
|
import { BrowserConstants } from '../utils/BrowserConstants.mjs';
|
|
6
6
|
import { BrowserUtils } from '../utils/BrowserUtils.mjs';
|
|
7
|
+
import { createNewGuid } from '../crypto/BrowserCrypto.mjs';
|
|
7
8
|
|
|
8
9
|
/*
|
|
9
10
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -18,8 +19,7 @@ class BaseInteractionClient {
|
|
|
18
19
|
this.eventHandler = eventHandler;
|
|
19
20
|
this.navigationClient = navigationClient;
|
|
20
21
|
this.nativeMessageHandler = nativeMessageHandler;
|
|
21
|
-
this.correlationId =
|
|
22
|
-
correlationId || this.browserCrypto.createNewGuid();
|
|
22
|
+
this.correlationId = correlationId || createNewGuid();
|
|
23
23
|
this.logger = logger.clone(BrowserConstants.MSAL_SKU, version, this.correlationId);
|
|
24
24
|
this.performanceClient = performanceClient;
|
|
25
25
|
}
|
|
@@ -57,7 +57,6 @@ class BaseInteractionClient {
|
|
|
57
57
|
*/
|
|
58
58
|
async initializeBaseRequest(request, account) {
|
|
59
59
|
this.performanceClient.addQueueMeasurement(PerformanceEvents.InitializeBaseRequest, request.correlationId);
|
|
60
|
-
this.logger.verbose("Initializing BaseAuthRequest");
|
|
61
60
|
const authority = request.authority || this.config.auth.authority;
|
|
62
61
|
if (account) {
|
|
63
62
|
await this.validateRequestAuthority(authority, account);
|
|
@@ -78,10 +77,10 @@ class BaseInteractionClient {
|
|
|
78
77
|
if (validatedRequest.authenticationScheme ===
|
|
79
78
|
AuthenticationScheme.SSH) {
|
|
80
79
|
if (!request.sshJwk) {
|
|
81
|
-
throw
|
|
80
|
+
throw createClientConfigurationError(ClientConfigurationErrorCodes.missingSshJwk);
|
|
82
81
|
}
|
|
83
82
|
if (!request.sshKid) {
|
|
84
|
-
throw
|
|
83
|
+
throw createClientConfigurationError(ClientConfigurationErrorCodes.missingSshKid);
|
|
85
84
|
}
|
|
86
85
|
}
|
|
87
86
|
this.logger.verbose(`Authentication Scheme set to "${validatedRequest.authenticationScheme}" as configured in Auth request`);
|
|
@@ -117,7 +116,7 @@ class BaseInteractionClient {
|
|
|
117
116
|
async validateRequestAuthority(authority, account) {
|
|
118
117
|
const discoveredAuthority = await this.getDiscoveredAuthority(authority);
|
|
119
118
|
if (!discoveredAuthority.isAlias(account.environment)) {
|
|
120
|
-
throw
|
|
119
|
+
throw createClientConfigurationError(ClientConfigurationErrorCodes.authorityMismatch);
|
|
121
120
|
}
|
|
122
121
|
}
|
|
123
122
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseInteractionClient.mjs","sources":["../../src/interaction_client/BaseInteractionClient.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BaseInteractionClient.mjs","sources":["../../src/interaction_client/BaseInteractionClient.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;AAKA;AAoBA;AACA;AACA;AASO,MAAE,qBAAsB,CAAA;AAC/B,IAAA,WAAS,CAAA,MAAA,EAAA,WAAsB,EAAM,mCAAmC,EAAA,gBAAA,EAAA,iBAAA,EAAA,oBAAA,EAAA,aAAA,EAAA;AACxE,QAAS,IAAA,CAAA,MAAA,GAAA,MAAmB,CAAA;AAG5B,QAAA,IAAA,CAAA,cAAA,GAAsB,WAAqB,CAAA;AACvC,QAAA,IAAA,CAAS,aAAS,GAAA,aAAoB,CAAC;AACvC,QAAA,IAAA,CAAS,aAAC,GAAgB,IAAA,CAAA,MAAA,CAAA,MAAA,CAAA,aAAoB,CAAA;AAC9C,QAAA,IAAA,CAAS,YAAC,GAAe,YAAQ,CAAA;AACjC,QAAA,IAAA,CAAS,gBAAgB,GAAA,gBAAe,CAAA;AACxC,QAAA,IAAA,CAAS,oBAAgB,GAAA,oBAAA,CAAA;AACzB,QAAA,IAAA,CAAS,aAAa,GAAE,aAAa,IAAA,aAAA,EAAA,CAAA;AAC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.d.ts","sourceRoot":"","sources":["../../src/interaction_client/NativeInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,MAAM,EACN,OAAO,EAIP,aAAa,EAEb,QAAQ,EAOR,kBAAkB,
|
|
1
|
+
{"version":3,"file":"NativeInteractionClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/NativeInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,MAAM,EACN,OAAO,EAIP,aAAa,EAEb,QAAQ,EAOR,kBAAkB,EASlB,WAAW,EAMd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,EAEH,KAAK,EAGR,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAEH,kBAAkB,EACrB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAO7E,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAKpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAQxE,qBAAa,uBAAwB,SAAQ,qBAAqB;IAC9D,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC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
'use strict';
|
|
3
|
-
import { PerformanceEvents, TimeUtils, ScopeSet,
|
|
3
|
+
import { PerformanceEvents, TimeUtils, ScopeSet, createClientAuthError, ClientAuthErrorCodes, AuthToken, AccountEntity, Constants, AuthorityType, AuthenticationScheme, PopTokenGenerator, IdTokenEntity, AccessTokenEntity, CacheRecord, createAuthError, AuthErrorCodes, UrlString, OIDC_DEFAULT_SCOPES, invokeAsync, AADServerParamKeys, PromptValue } from '@azure/msal-common';
|
|
4
4
|
import { BaseInteractionClient } from './BaseInteractionClient.mjs';
|
|
5
5
|
import { TemporaryCacheKeys, NativeConstants, NativeExtensionMethod, ApiId } from '../utils/BrowserConstants.mjs';
|
|
6
|
-
import { NativeAuthError } from '../error/NativeAuthError.mjs';
|
|
6
|
+
import { NativeAuthError, isFatalNativeAuthError, createNativeAuthError } from '../error/NativeAuthError.mjs';
|
|
7
7
|
import { createBrowserAuthError } from '../error/BrowserAuthError.mjs';
|
|
8
8
|
import { SilentCacheClient } from './SilentCacheClient.mjs';
|
|
9
9
|
import { base64Decode } from '../encode/Base64Decode.mjs';
|
|
10
|
+
import { userSwitch } from '../error/NativeAuthErrorCodes.mjs';
|
|
10
11
|
import { nativePromptNotSupported } from '../error/BrowserAuthErrorCodes.mjs';
|
|
11
12
|
|
|
12
13
|
/*
|
|
@@ -31,6 +32,7 @@ class NativeInteractionClient extends BaseInteractionClient {
|
|
|
31
32
|
* @param request
|
|
32
33
|
*/
|
|
33
34
|
async acquireToken(request) {
|
|
35
|
+
this.performanceClient.addQueueMeasurement(PerformanceEvents.NativeInteractionClientAcquireToken, request.correlationId);
|
|
34
36
|
this.logger.trace("NativeInteractionClient - acquireToken called.");
|
|
35
37
|
// start the perf measurement
|
|
36
38
|
const nativeATMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.NativeInteractionClientAcquireToken, request.correlationId);
|
|
@@ -101,14 +103,14 @@ class NativeInteractionClient extends BaseInteractionClient {
|
|
|
101
103
|
async acquireTokensFromCache(nativeAccountId, request) {
|
|
102
104
|
if (!nativeAccountId) {
|
|
103
105
|
this.logger.warning("NativeInteractionClient:acquireTokensFromCache - No nativeAccountId provided");
|
|
104
|
-
throw
|
|
106
|
+
throw createClientAuthError(ClientAuthErrorCodes.noAccountFound);
|
|
105
107
|
}
|
|
106
108
|
// fetch the account from browser cache
|
|
107
109
|
const account = this.browserStorage.getAccountInfoFilteredBy({
|
|
108
110
|
nativeAccountId,
|
|
109
111
|
});
|
|
110
112
|
if (!account) {
|
|
111
|
-
throw
|
|
113
|
+
throw createClientAuthError(ClientAuthErrorCodes.noAccountFound);
|
|
112
114
|
}
|
|
113
115
|
// leverage silent flow for cached tokens retrieval
|
|
114
116
|
try {
|
|
@@ -140,7 +142,7 @@ class NativeInteractionClient extends BaseInteractionClient {
|
|
|
140
142
|
}
|
|
141
143
|
catch (e) {
|
|
142
144
|
// Only throw fatal errors here to allow application to fallback to regular redirect. Otherwise proceed and the error will be thrown in handleRedirectPromise
|
|
143
|
-
if (e instanceof NativeAuthError && e
|
|
145
|
+
if (e instanceof NativeAuthError && isFatalNativeAuthError(e)) {
|
|
144
146
|
throw e;
|
|
145
147
|
}
|
|
146
148
|
}
|
|
@@ -211,7 +213,7 @@ class NativeInteractionClient extends BaseInteractionClient {
|
|
|
211
213
|
this.logger.trace("NativeInteractionClient - handleNativeResponse called.");
|
|
212
214
|
if (response.account.id !== request.accountId) {
|
|
213
215
|
// User switch in native broker prompt is not supported. All users must first sign in through web flow to ensure server state is in sync
|
|
214
|
-
throw
|
|
216
|
+
throw createNativeAuthError(userSwitch);
|
|
215
217
|
}
|
|
216
218
|
// Get the preferred_cache domain for the given authority
|
|
217
219
|
const authority = await this.getDiscoveredAuthority(request.authority);
|
|
@@ -282,7 +284,7 @@ class NativeInteractionClient extends BaseInteractionClient {
|
|
|
282
284
|
* PopTokenGenerator to query the full key for signing
|
|
283
285
|
*/
|
|
284
286
|
if (!request.keyId) {
|
|
285
|
-
throw
|
|
287
|
+
throw createClientAuthError(ClientAuthErrorCodes.keyIdMissing);
|
|
286
288
|
}
|
|
287
289
|
return await popTokenGenerator.signPopToken(response.access_token, request.keyId, shrParameters);
|
|
288
290
|
}
|
|
@@ -412,7 +414,7 @@ class NativeInteractionClient extends BaseInteractionClient {
|
|
|
412
414
|
return response;
|
|
413
415
|
}
|
|
414
416
|
else {
|
|
415
|
-
throw
|
|
417
|
+
throw createAuthError(AuthErrorCodes.unexpectedError, "Response missing expected properties.");
|
|
416
418
|
}
|
|
417
419
|
}
|
|
418
420
|
/**
|
|
@@ -515,7 +517,7 @@ class NativeInteractionClient extends BaseInteractionClient {
|
|
|
515
517
|
shrNonce: request.shrNonce,
|
|
516
518
|
};
|
|
517
519
|
const popTokenGenerator = new PopTokenGenerator(this.browserCrypto);
|
|
518
|
-
const reqCnfData = await popTokenGenerator.generateCnf(shrParameters);
|
|
520
|
+
const reqCnfData = await invokeAsync(popTokenGenerator.generateCnf.bind(popTokenGenerator), PerformanceEvents.PopTokenGenerateCnf, this.logger, this.performanceClient, this.correlationId)(shrParameters, this.logger);
|
|
519
521
|
// to reduce the URL length, it is recommended to send the hash of the req_cnf instead of the whole string
|
|
520
522
|
validatedRequest.reqCnf = reqCnfData.reqCnfHash;
|
|
521
523
|
validatedRequest.keyId = reqCnfData.kid;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeInteractionClient.mjs","sources":["../../src/interaction_client/NativeInteractionClient.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NativeInteractionClient.mjs","sources":["../../src/interaction_client/NativeInteractionClient.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAKA;AA+BA;AACA;AACA;AAgBA,MAAA,wBAA+B;AAO/B,IAAA,gBAAS,EAAA;AAET,IAAA,mBAAS,EAAA;AAKT,CAAA,CAAA;AACO,MAAE,uBAAsB;AAQ/B,IAAa,WAAA,CAAA,MAAA,EAAA,cAAA,EAAA,aAAgC,EAAqB,MAAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v3.
|
|
1
|
+
/*! @azure/msal-browser v3.2.0 2023-10-05 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { OIDC_DEFAULT_SCOPES, PerformanceEvents, Constants, UrlString, ThrottlingUtils, ProtocolUtils, AuthError, ProtocolMode, ServerResponseType } from '@azure/msal-common';
|
|
4
4
|
import { StandardInteractionClient } from './StandardInteractionClient.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v3.
|
|
1
|
+
/*! @azure/msal-browser v3.2.0 2023-10-05 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { PerformanceEvents, Constants, AuthError, UrlString, ProtocolUtils, ThrottlingUtils, ProtocolMode } from '@azure/msal-common';
|
|
4
4
|
import { StandardInteractionClient } from './StandardInteractionClient.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SilentAuthCodeClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/SilentAuthCodeClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,OAAO,EACP,MAAM,EAIN,kBAAkB,
|
|
1
|
+
{"version":3,"file":"SilentAuthCodeClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/SilentAuthCodeClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,OAAO,EACP,MAAM,EAIN,kBAAkB,EAGrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAKpE,OAAO,EAAmB,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAEnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAE/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,qBAAa,oBAAqB,SAAQ,yBAAyB;IAC/D,OAAO,CAAC,KAAK,CAAQ;gBAGjB,MAAM,EAAE,oBAAoB,EAC5B,WAAW,EAAE,mBAAmB,EAChC,aAAa,EAAE,OAAO,EACtB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,iBAAiB,EACnC,KAAK,EAAE,KAAK,EACZ,iBAAiB,EAAE,kBAAkB,EACrC,oBAAoB,CAAC,EAAE,oBAAoB,EAC3C,aAAa,CAAC,EAAE,MAAM;IAgB1B;;;OAGG;IACG,YAAY,CACd,OAAO,EAAE,wBAAwB,GAClC,OAAO,CAAC,oBAAoB,CAAC;IAsFhC;;OAEG;IACH,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;CAQ1B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! @azure/msal-browser v3.
|
|
1
|
+
/*! @azure/msal-browser v3.2.0 2023-10-05 */
|
|
2
2
|
'use strict';
|
|
3
|
-
import { PerformanceEvents, Constants, AuthError } from '@azure/msal-common';
|
|
3
|
+
import { invokeAsync, PerformanceEvents, Constants, AuthError } from '@azure/msal-common';
|
|
4
4
|
import { StandardInteractionClient } from './StandardInteractionClient.mjs';
|
|
5
5
|
import { createBrowserAuthError } from '../error/BrowserAuthError.mjs';
|
|
6
6
|
import { InteractionType } from '../utils/BrowserConstants.mjs';
|
|
@@ -22,14 +22,12 @@ class SilentAuthCodeClient extends StandardInteractionClient {
|
|
|
22
22
|
* @param request
|
|
23
23
|
*/
|
|
24
24
|
async acquireToken(request) {
|
|
25
|
-
this.logger.trace("SilentAuthCodeClient.acquireToken called");
|
|
26
25
|
// Auth code payload is required
|
|
27
26
|
if (!request.code) {
|
|
28
27
|
throw createBrowserAuthError(authCodeRequired);
|
|
29
28
|
}
|
|
30
29
|
// Create silent request
|
|
31
|
-
this.
|
|
32
|
-
const silentRequest = await this.initializeAuthorizationRequest(request, InteractionType.Silent);
|
|
30
|
+
const silentRequest = await invokeAsync(this.initializeAuthorizationRequest.bind(this), PerformanceEvents.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, request.correlationId)(request, InteractionType.Silent);
|
|
33
31
|
this.browserStorage.updateCacheEntries(silentRequest.state, silentRequest.nonce, silentRequest.authority, silentRequest.loginHint || Constants.EMPTY_STRING, silentRequest.account || null);
|
|
34
32
|
const serverTelemetryManager = this.initializeServerTelemetryManager(this.apiId);
|
|
35
33
|
try {
|
|
@@ -39,14 +37,13 @@ class SilentAuthCodeClient extends StandardInteractionClient {
|
|
|
39
37
|
code: request.code,
|
|
40
38
|
};
|
|
41
39
|
// Initialize the client
|
|
42
|
-
this.
|
|
43
|
-
const clientConfig = await this.getClientConfiguration(serverTelemetryManager, silentRequest.authority);
|
|
40
|
+
const clientConfig = await invokeAsync(this.getClientConfiguration.bind(this), PerformanceEvents.StandardInteractionClientGetClientConfiguration, this.logger, this.performanceClient, request.correlationId)(serverTelemetryManager, silentRequest.authority);
|
|
44
41
|
const authClient = new HybridSpaAuthorizationCodeClient(clientConfig);
|
|
45
42
|
this.logger.verbose("Auth code client created");
|
|
46
43
|
// Create silent handler
|
|
47
44
|
const silentHandler = new SilentHandler(authClient, this.browserStorage, authCodeRequest, this.logger, this.config.system, this.performanceClient);
|
|
48
45
|
// Handle auth code parameters from request
|
|
49
|
-
return silentHandler.handleCodeResponseFromServer({
|
|
46
|
+
return invokeAsync(silentHandler.handleCodeResponseFromServer.bind(silentHandler), PerformanceEvents.HandleCodeResponseFromServer, this.logger, this.performanceClient, request.correlationId)({
|
|
50
47
|
code: request.code,
|
|
51
48
|
msgraph_host: request.msGraphHost,
|
|
52
49
|
cloud_graph_host_name: request.cloudGraphHostName,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SilentAuthCodeClient.mjs","sources":["../../src/interaction_client/SilentAuthCodeClient.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;AAKA;
|
|
1
|
+
{"version":3,"file":"SilentAuthCodeClient.mjs","sources":["../../src/interaction_client/SilentAuthCodeClient.ts"],"sourcesContent":[null],"names":["BrowserAuthErrorCodes.authCodeRequired"],"mappings":";;;;;;;;;;AAKA;AAUA;AAEA;AACA;AAca,MAAA,oBAAA,kCAAsD,CAAA;IAC/D,kBAAqB,EAAA,WAAA,EAAA,aAAA,EAAA,MAAA,EAAA,YAAA,EAAA,gBAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,oBAAA,EAAA,aAAA,EAAA;AAGjB,QAAA,KAAA,CAAA,MAAA,EAAM,WAAsB,EAAA,aACjB,EAAA,MAAA,EAAA,8BACX,EAAA,iBACM,EAAA,oBACN,EAAA,aAA0B,CAAA,CAAA;AAqB9B,QAAA,IAAA,CAAA,KAAA,GAAA,KAAA,CAAA;;;AAGG;;AAyFH;;AAEG;AACH,QAAA,IAAU,CAAA,OAAA,CAAO,IAAC,EAAK;AAQ1B,YAAA,MAAA,sBAAA,CAAAA,gBAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SilentCacheClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/SilentCacheClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EACH,uBAAuB,EACvB,gBAAgB,EAChB,sBAAsB,EACtB,WAAW,EACX,iBAAiB,EAGpB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAMzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,qBAAa,iBAAkB,SAAQ,yBAAyB;IAC5D;;;OAGG;IACG,YAAY,CACd,aAAa,EAAE,uBAAuB,GACvC,OAAO,CAAC,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"SilentCacheClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/SilentCacheClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EACH,uBAAuB,EACvB,gBAAgB,EAChB,sBAAsB,EACtB,WAAW,EACX,iBAAiB,EAGpB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAMzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,qBAAa,iBAAkB,SAAQ,yBAAyB;IAC5D;;;OAGG;IACG,YAAY,CACd,aAAa,EAAE,uBAAuB,GACvC,OAAO,CAAC,oBAAoB,CAAC;IAuChC;;;OAGG;IACH,MAAM,CAAC,aAAa,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;IAMxD;;;;OAIG;cACa,sBAAsB,CAClC,sBAAsB,EAAE,sBAAsB,EAC9C,YAAY,CAAC,EAAE,MAAM,EACrB,iBAAiB,CAAC,EAAE,iBAAiB,GACtC,OAAO,CAAC,gBAAgB,CAAC;IAYtB,uBAAuB,CACzB,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,WAAW,GACrB,OAAO,CAAC,uBAAuB,CAAC;CAoBtC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! @azure/msal-browser v3.
|
|
1
|
+
/*! @azure/msal-browser v3.2.0 2023-10-05 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { StandardInteractionClient } from './StandardInteractionClient.mjs';
|
|
4
|
-
import {
|
|
4
|
+
import { invokeAsync, PerformanceEvents, SilentFlowClient } from '@azure/msal-common';
|
|
5
5
|
import { ApiId } from '../utils/BrowserConstants.mjs';
|
|
6
6
|
import { BrowserAuthError } from '../error/BrowserAuthError.mjs';
|
|
7
7
|
import { cryptoKeyNotFound } from '../error/BrowserAuthErrorCodes.mjs';
|
|
@@ -16,30 +16,23 @@ class SilentCacheClient extends StandardInteractionClient {
|
|
|
16
16
|
* @param silentRequest
|
|
17
17
|
*/
|
|
18
18
|
async acquireToken(silentRequest) {
|
|
19
|
-
const acquireTokenMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.SilentCacheClientAcquireToken, silentRequest.correlationId);
|
|
20
19
|
// Telemetry manager only used to increment cacheHits here
|
|
21
20
|
const serverTelemetryManager = this.initializeServerTelemetryManager(ApiId.acquireTokenSilent_silentFlow);
|
|
22
21
|
const silentAuthClient = await this.createSilentFlowClient(serverTelemetryManager, silentRequest.authority, silentRequest.azureCloudOptions);
|
|
23
22
|
this.logger.verbose("Silent auth client created");
|
|
24
23
|
try {
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
const response = await silentAuthClient.acquireCachedToken(silentRequest);
|
|
25
|
+
const authResponse = response[0];
|
|
26
|
+
this.performanceClient.addFields({
|
|
28
27
|
fromCache: true,
|
|
29
|
-
});
|
|
30
|
-
return
|
|
28
|
+
}, silentRequest.correlationId);
|
|
29
|
+
return authResponse;
|
|
31
30
|
}
|
|
32
31
|
catch (error) {
|
|
33
32
|
if (error instanceof BrowserAuthError &&
|
|
34
33
|
error.errorCode === cryptoKeyNotFound) {
|
|
35
34
|
this.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair.");
|
|
36
35
|
}
|
|
37
|
-
acquireTokenMeasurement.end({
|
|
38
|
-
errorCode: (error instanceof AuthError && error.errorCode) ||
|
|
39
|
-
undefined,
|
|
40
|
-
subErrorCode: (error instanceof AuthError && error.subError) || undefined,
|
|
41
|
-
success: false,
|
|
42
|
-
});
|
|
43
36
|
throw error;
|
|
44
37
|
}
|
|
45
38
|
}
|
|
@@ -59,16 +52,15 @@ class SilentCacheClient extends StandardInteractionClient {
|
|
|
59
52
|
*/
|
|
60
53
|
async createSilentFlowClient(serverTelemetryManager, authorityUrl, azureCloudOptions) {
|
|
61
54
|
// Create auth module.
|
|
62
|
-
this.
|
|
63
|
-
const clientConfig = await this.getClientConfiguration(serverTelemetryManager, authorityUrl, azureCloudOptions);
|
|
55
|
+
const clientConfig = await invokeAsync(this.getClientConfiguration.bind(this), PerformanceEvents.StandardInteractionClientGetClientConfiguration, this.logger, this.performanceClient, this.correlationId)(serverTelemetryManager, authorityUrl, azureCloudOptions);
|
|
64
56
|
return new SilentFlowClient(clientConfig, this.performanceClient);
|
|
65
57
|
}
|
|
66
58
|
async initializeSilentRequest(request, account) {
|
|
67
59
|
this.performanceClient.addQueueMeasurement(PerformanceEvents.InitializeSilentRequest, this.correlationId);
|
|
68
|
-
this.
|
|
60
|
+
const baseRequest = await invokeAsync(this.initializeBaseRequest.bind(this), PerformanceEvents.InitializeBaseRequest, this.logger, this.performanceClient, this.correlationId)(request, account);
|
|
69
61
|
return {
|
|
70
62
|
...request,
|
|
71
|
-
...
|
|
63
|
+
...baseRequest,
|
|
72
64
|
account: account,
|
|
73
65
|
forceRefresh: request.forceRefresh || false,
|
|
74
66
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SilentCacheClient.mjs","sources":["../../src/interaction_client/SilentCacheClient.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;AAKA;AACA;AASA;AAMA;;AAOO;;
|
|
1
|
+
{"version":3,"file":"SilentCacheClient.mjs","sources":["../../src/interaction_client/SilentCacheClient.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;AAKA;AACA;AASA;AAMA;;AAOO;;AA0CH;;;AAGG;QACG,oCAAkC,gCAAgB,CAAA,KAAA,CAAA,6BAAA,CAAA,CAAA;AAMxD,QAAA,MAAA,gBAAA,GAAA,MAAA,IAAA,CAAA,sBAAA,CAAA,sBAAA,EAAA,aAAA,CAAA,SAAA,EAAA,aAAA,CAAA,iBAAA,CAAA,CAAA;;;;AAIG,YAAA,MAAA,YAAA,GAAA,QAAA,CAAA,CAAA,CAAA,CAAA;AACa,YAAA,IAAA,CAAA,iBAAA,CAAA,SACU,CAAA;AAepB,gBAAA,SAAA,EAAuB,IACzB;AAsBP,aAAA,EAAA,aAAA,CAAA,aAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v3.
|
|
1
|
+
/*! @azure/msal-browser v3.2.0 2023-10-05 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { PerformanceEvents, PromptValue, invokeAsync, Constants, AuthError, UrlString, ProtocolUtils } from '@azure/msal-common';
|
|
4
4
|
import { StandardInteractionClient } from './StandardInteractionClient.mjs';
|
|
@@ -85,7 +85,7 @@ class SilentIframeClient extends StandardInteractionClient {
|
|
|
85
85
|
// Get the frame handle for the silent request
|
|
86
86
|
const msalFrame = await invokeAsync(silentHandler.initiateAuthRequest.bind(silentHandler), PerformanceEvents.SilentHandlerInitiateAuthRequest, this.logger, this.performanceClient, silentRequest.correlationId)(navigateUrl);
|
|
87
87
|
// Monitor the window for the hash. Return the string value and close the popup when the hash is received. Default timeout is 60 seconds.
|
|
88
|
-
const hash = await invokeAsync(silentHandler.monitorIframeForHash.bind(silentHandler), PerformanceEvents.
|
|
88
|
+
const hash = await invokeAsync(silentHandler.monitorIframeForHash.bind(silentHandler), PerformanceEvents.SilentHandlerMonitorIframeForHash, this.logger, this.performanceClient, silentRequest.correlationId)(msalFrame, this.config.system.iframeHashTimeout);
|
|
89
89
|
// Deserialize hash fragment response parameters.
|
|
90
90
|
const serverParams = UrlString.getDeserializedHash(hash);
|
|
91
91
|
const state = this.validateAndExtractStateFromHash(serverParams, InteractionType.Silent, authCodeRequest.correlationId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SilentRefreshClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/SilentRefreshClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EACH,uBAAuB,EACvB,sBAAsB,EACtB,kBAAkB,EAElB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"SilentRefreshClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/SilentRefreshClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EACH,uBAAuB,EACvB,sBAAsB,EACtB,kBAAkB,EAElB,iBAAiB,EAGpB,MAAM,oBAAoB,CAAC;AAM5B,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,qBAAa,mBAAoB,SAAQ,yBAAyB;IAC9D;;;OAGG;IACG,YAAY,CACd,OAAO,EAAE,uBAAuB,GACjC,OAAO,CAAC,oBAAoB,CAAC;IAwDhC;;OAEG;IACH,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IASvB;;;;OAIG;cACa,wBAAwB,CACpC,sBAAsB,EAAE,sBAAsB,EAC9C,YAAY,CAAC,EAAE,MAAM,EACrB,iBAAiB,CAAC,EAAE,iBAAiB,GACtC,OAAO,CAAC,kBAAkB,CAAC;CAWjC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! @azure/msal-browser v3.
|
|
1
|
+
/*! @azure/msal-browser v3.2.0 2023-10-05 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { StandardInteractionClient } from './StandardInteractionClient.mjs';
|
|
4
|
-
import { PerformanceEvents, RefreshTokenClient } from '@azure/msal-common';
|
|
4
|
+
import { PerformanceEvents, invokeAsync, RefreshTokenClient } from '@azure/msal-common';
|
|
5
5
|
import { ApiId } from '../utils/BrowserConstants.mjs';
|
|
6
6
|
import { createBrowserAuthError } from '../error/BrowserAuthError.mjs';
|
|
7
7
|
import { silentLogoutUnsupported } from '../error/BrowserAuthErrorCodes.mjs';
|
|
@@ -17,36 +17,27 @@ class SilentRefreshClient extends StandardInteractionClient {
|
|
|
17
17
|
*/
|
|
18
18
|
async acquireToken(request) {
|
|
19
19
|
this.performanceClient.addQueueMeasurement(PerformanceEvents.SilentRefreshClientAcquireToken, request.correlationId);
|
|
20
|
-
this.
|
|
20
|
+
const baseRequest = await invokeAsync(this.initializeBaseRequest.bind(this), PerformanceEvents.InitializeBaseRequest, this.logger, this.performanceClient, request.correlationId)(request, request.account);
|
|
21
21
|
const silentRequest = {
|
|
22
22
|
...request,
|
|
23
|
-
...
|
|
23
|
+
...baseRequest,
|
|
24
24
|
};
|
|
25
|
-
const acquireTokenMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.SilentRefreshClientAcquireToken, silentRequest.correlationId);
|
|
26
25
|
const serverTelemetryManager = this.initializeServerTelemetryManager(ApiId.acquireTokenSilent_silentFlow);
|
|
27
26
|
const refreshTokenClient = await this.createRefreshTokenClient(serverTelemetryManager, silentRequest.authority, silentRequest.azureCloudOptions);
|
|
28
27
|
this.logger.verbose("Refresh token client created");
|
|
29
28
|
// Send request to renew token. Auth module will throw errors if token cannot be renewed.
|
|
30
|
-
|
|
31
|
-
return refreshTokenClient
|
|
32
|
-
.acquireTokenByRefreshToken(silentRequest)
|
|
29
|
+
return invokeAsync(refreshTokenClient.acquireTokenByRefreshToken.bind(refreshTokenClient), PerformanceEvents.RefreshTokenClientAcquireTokenByRefreshToken, this.logger, this.performanceClient, request.correlationId)(silentRequest)
|
|
33
30
|
.then((result) => result)
|
|
34
31
|
.then((result) => {
|
|
35
|
-
|
|
36
|
-
success: true,
|
|
32
|
+
this.performanceClient.addFields({
|
|
37
33
|
fromCache: result.fromCache,
|
|
38
34
|
requestId: result.requestId,
|
|
39
|
-
});
|
|
35
|
+
}, request.correlationId);
|
|
40
36
|
return result;
|
|
41
37
|
})
|
|
42
38
|
.catch((e) => {
|
|
43
39
|
e.setCorrelationId(this.correlationId);
|
|
44
40
|
serverTelemetryManager.cacheFailedRequest(e);
|
|
45
|
-
acquireTokenMeasurement.end({
|
|
46
|
-
errorCode: e.errorCode,
|
|
47
|
-
subErrorCode: e.subError,
|
|
48
|
-
success: false,
|
|
49
|
-
});
|
|
50
41
|
throw e;
|
|
51
42
|
});
|
|
52
43
|
}
|
|
@@ -64,8 +55,7 @@ class SilentRefreshClient extends StandardInteractionClient {
|
|
|
64
55
|
*/
|
|
65
56
|
async createRefreshTokenClient(serverTelemetryManager, authorityUrl, azureCloudOptions) {
|
|
66
57
|
// Create auth module.
|
|
67
|
-
this.
|
|
68
|
-
const clientConfig = await this.getClientConfiguration(serverTelemetryManager, authorityUrl, azureCloudOptions);
|
|
58
|
+
const clientConfig = await invokeAsync(this.getClientConfiguration.bind(this), PerformanceEvents.StandardInteractionClientGetClientConfiguration, this.logger, this.performanceClient, this.correlationId)(serverTelemetryManager, authorityUrl, azureCloudOptions);
|
|
69
59
|
return new RefreshTokenClient(clientConfig, this.performanceClient);
|
|
70
60
|
}
|
|
71
61
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SilentRefreshClient.mjs","sources":["../../src/interaction_client/SilentRefreshClient.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;AAKA;AACA;
|
|
1
|
+
{"version":3,"file":"SilentRefreshClient.mjs","sources":["../../src/interaction_client/SilentRefreshClient.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;AAKA;AACA;AAcA;AAEA;AAKsB,MAAA,mBACL,SAAA;AAyDb;;AAEG;AACH;AASA,IAAA,MAAA,YAAA,CAAA,OAAA,EAAA;;;;AAIG,YAAA,GAAA,OAAA;AACa,YAAA,GAAA,WAAA;AAenB,SAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StandardInteractionClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/StandardInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,sBAAsB,EACtB,8BAA8B,EAE9B,uBAAuB,EACvB,mBAAmB,EAEnB,SAAS,EAET,+BAA+B,EAE/B,uBAAuB,EAIvB,WAAW,EACX,iBAAiB,
|
|
1
|
+
{"version":3,"file":"StandardInteractionClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/StandardInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,sBAAsB,EACtB,8BAA8B,EAE9B,uBAAuB,EACvB,mBAAmB,EAEnB,SAAS,EAET,+BAA+B,EAE/B,uBAAuB,EAIvB,WAAW,EACX,iBAAiB,EAIpB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAoB,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAU9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAI/D;;GAEG;AACH,8BAAsB,yB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