@azure/msal-browser 3.0.0 → 3.0.1
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/README.md +19 -59
- package/dist/app/{IPublicClientApplication.js → IPublicClientApplication.mjs} +3 -3
- package/dist/app/IPublicClientApplication.mjs.map +1 -0
- package/dist/app/{PublicClientApplication.js → PublicClientApplication.mjs} +5 -5
- package/dist/app/PublicClientApplication.mjs.map +1 -0
- package/dist/broker/nativeBroker/{NativeMessageHandler.js → NativeMessageHandler.mjs} +5 -5
- package/dist/broker/nativeBroker/NativeMessageHandler.mjs.map +1 -0
- package/dist/cache/{AsyncMemoryStorage.js → AsyncMemoryStorage.mjs} +5 -5
- package/dist/cache/AsyncMemoryStorage.mjs.map +1 -0
- package/dist/cache/{BrowserCacheManager.js → BrowserCacheManager.mjs} +7 -7
- package/dist/cache/BrowserCacheManager.mjs.map +1 -0
- package/dist/cache/{BrowserStorage.js → BrowserStorage.mjs} +4 -4
- package/dist/cache/BrowserStorage.mjs.map +1 -0
- package/dist/cache/{CryptoKeyStore.js → CryptoKeyStore.mjs} +3 -3
- package/dist/cache/CryptoKeyStore.mjs.map +1 -0
- package/dist/cache/{DatabaseStorage.js → DatabaseStorage.mjs} +4 -4
- package/dist/cache/DatabaseStorage.mjs.map +1 -0
- package/dist/cache/{MemoryStorage.js → MemoryStorage.mjs} +2 -2
- package/dist/cache/MemoryStorage.mjs.map +1 -0
- package/dist/cache/{TokenCache.js → TokenCache.mjs} +3 -3
- package/dist/cache/TokenCache.mjs.map +1 -0
- package/dist/config/{Configuration.js → Configuration.mjs} +6 -6
- package/dist/config/Configuration.mjs.map +1 -0
- package/dist/controllers/{ControllerFactory.js → ControllerFactory.mjs} +7 -7
- package/dist/controllers/ControllerFactory.mjs.map +1 -0
- package/dist/controllers/{StandardController.js → StandardController.mjs} +20 -20
- package/dist/controllers/StandardController.mjs.map +1 -0
- package/dist/crypto/{BrowserCrypto.js → BrowserCrypto.mjs} +5 -5
- package/dist/crypto/BrowserCrypto.mjs.map +1 -0
- package/dist/crypto/{CryptoOps.js → CryptoOps.mjs} +10 -10
- package/dist/crypto/CryptoOps.mjs.map +1 -0
- package/dist/crypto/{GuidGenerator.js → GuidGenerator.mjs} +3 -3
- package/dist/crypto/GuidGenerator.mjs.map +1 -0
- package/dist/crypto/{ModernBrowserCrypto.js → ModernBrowserCrypto.mjs} +3 -3
- package/dist/crypto/ModernBrowserCrypto.mjs.map +1 -0
- package/dist/crypto/{PkceGenerator.js → PkceGenerator.mjs} +4 -4
- package/dist/crypto/PkceGenerator.mjs.map +1 -0
- package/dist/crypto/{SignedHttpRequest.js → SignedHttpRequest.mjs} +4 -4
- package/dist/crypto/SignedHttpRequest.mjs.map +1 -0
- package/dist/encode/{Base64Decode.js → Base64Decode.mjs} +3 -3
- package/dist/encode/Base64Decode.mjs.map +1 -0
- package/dist/encode/{Base64Encode.js → Base64Encode.mjs} +3 -3
- package/dist/encode/Base64Encode.mjs.map +1 -0
- package/dist/error/{BrowserAuthError.js → BrowserAuthError.mjs} +2 -2
- package/dist/error/BrowserAuthError.mjs.map +1 -0
- package/dist/error/{BrowserConfigurationAuthError.js → BrowserConfigurationAuthError.mjs} +2 -2
- package/dist/error/BrowserConfigurationAuthError.mjs.map +1 -0
- package/dist/error/{NativeAuthError.js → NativeAuthError.mjs} +3 -3
- package/dist/error/NativeAuthError.mjs.map +1 -0
- package/dist/event/{EventHandler.js → EventHandler.mjs} +3 -3
- package/dist/event/EventHandler.mjs.map +1 -0
- package/dist/event/{EventMessage.js → EventMessage.mjs} +4 -4
- package/dist/event/EventMessage.mjs.map +1 -0
- package/dist/event/{EventType.js → EventType.mjs} +2 -2
- package/dist/event/EventType.mjs.map +1 -0
- package/dist/{index.js → index.mjs} +17 -17
- package/dist/index.mjs.map +1 -0
- package/dist/interaction_client/{BaseInteractionClient.js → BaseInteractionClient.mjs} +5 -5
- package/dist/interaction_client/BaseInteractionClient.mjs.map +1 -0
- package/dist/interaction_client/{HybridSpaAuthorizationCodeClient.js → HybridSpaAuthorizationCodeClient.mjs} +2 -2
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs.map +1 -0
- package/dist/interaction_client/NativeInteractionClient.d.ts +6 -0
- package/dist/interaction_client/NativeInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/{NativeInteractionClient.js → NativeInteractionClient.mjs} +39 -9
- package/dist/interaction_client/NativeInteractionClient.mjs.map +1 -0
- package/dist/interaction_client/{PopupClient.js → PopupClient.mjs} +10 -10
- package/dist/interaction_client/PopupClient.mjs.map +1 -0
- package/dist/interaction_client/{RedirectClient.js → RedirectClient.mjs} +10 -10
- package/dist/interaction_client/RedirectClient.mjs.map +1 -0
- package/dist/interaction_client/{SilentAuthCodeClient.js → SilentAuthCodeClient.mjs} +7 -7
- package/dist/interaction_client/SilentAuthCodeClient.mjs.map +1 -0
- package/dist/interaction_client/{SilentCacheClient.js → SilentCacheClient.mjs} +5 -5
- package/dist/interaction_client/SilentCacheClient.mjs.map +1 -0
- package/dist/interaction_client/{SilentIframeClient.js → SilentIframeClient.mjs} +8 -8
- package/dist/interaction_client/SilentIframeClient.mjs.map +1 -0
- package/dist/interaction_client/{SilentRefreshClient.js → SilentRefreshClient.mjs} +5 -5
- package/dist/interaction_client/SilentRefreshClient.mjs.map +1 -0
- package/dist/interaction_client/{StandardInteractionClient.js → StandardInteractionClient.mjs} +8 -8
- package/dist/interaction_client/StandardInteractionClient.mjs.map +1 -0
- package/dist/interaction_handler/{InteractionHandler.js → InteractionHandler.mjs} +4 -4
- package/dist/interaction_handler/InteractionHandler.mjs.map +1 -0
- package/dist/interaction_handler/{RedirectHandler.js → RedirectHandler.mjs} +5 -5
- package/dist/interaction_handler/RedirectHandler.mjs.map +1 -0
- package/dist/interaction_handler/{SilentHandler.js → SilentHandler.mjs} +5 -5
- package/dist/interaction_handler/SilentHandler.mjs.map +1 -0
- package/dist/{internals.js → internals.mjs} +16 -16
- package/dist/internals.mjs.map +1 -0
- package/dist/navigation/{NavigationClient.js → NavigationClient.mjs} +2 -2
- package/dist/navigation/NavigationClient.mjs.map +1 -0
- package/dist/network/{FetchClient.js → FetchClient.mjs} +4 -4
- package/dist/network/FetchClient.mjs.map +1 -0
- package/dist/network/{XhrClient.js → XhrClient.mjs} +4 -4
- package/dist/network/XhrClient.mjs.map +1 -0
- package/dist/operatingcontext/{BaseOperatingContext.js → BaseOperatingContext.mjs} +4 -4
- package/dist/operatingcontext/BaseOperatingContext.mjs.map +1 -0
- package/dist/operatingcontext/{StandardOperatingContext.js → StandardOperatingContext.mjs} +3 -3
- package/dist/operatingcontext/StandardOperatingContext.mjs.map +1 -0
- package/dist/operatingcontext/{TeamsAppOperatingContext.js → TeamsAppOperatingContext.mjs} +3 -3
- package/dist/operatingcontext/TeamsAppOperatingContext.mjs.map +1 -0
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.mjs +8 -0
- package/dist/packageMetadata.mjs.map +1 -0
- package/dist/request/PopupRequest.d.ts +3 -1
- package/dist/request/PopupRequest.d.ts.map +1 -1
- package/dist/request/RedirectRequest.d.ts +3 -1
- package/dist/request/RedirectRequest.d.ts.map +1 -1
- package/dist/request/SilentRequest.d.ts +2 -0
- package/dist/request/SilentRequest.d.ts.map +1 -1
- package/dist/request/SsoSilentRequest.d.ts +5 -2
- package/dist/request/SsoSilentRequest.d.ts.map +1 -1
- package/dist/telemetry/{BrowserPerformanceClient.js → BrowserPerformanceClient.mjs} +6 -6
- package/dist/telemetry/BrowserPerformanceClient.mjs.map +1 -0
- package/dist/telemetry/{BrowserPerformanceMeasurement.js → BrowserPerformanceMeasurement.mjs} +2 -2
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs.map +1 -0
- package/dist/utils/{BrowserConstants.js → BrowserConstants.mjs} +2 -2
- package/dist/utils/BrowserConstants.mjs.map +1 -0
- package/dist/utils/{BrowserProtocolUtils.js → BrowserProtocolUtils.mjs} +2 -2
- package/dist/utils/BrowserProtocolUtils.mjs.map +1 -0
- package/dist/utils/{BrowserStringUtils.js → BrowserStringUtils.mjs} +2 -2
- package/dist/utils/BrowserStringUtils.mjs.map +1 -0
- package/dist/utils/{BrowserUtils.js → BrowserUtils.mjs} +6 -6
- package/dist/utils/BrowserUtils.mjs.map +1 -0
- package/dist/utils/{MathUtils.js → MathUtils.mjs} +2 -2
- package/dist/utils/MathUtils.mjs.map +1 -0
- package/lib/{msal-browser.cjs.js → msal-browser.cjs} +107 -67
- package/lib/msal-browser.cjs.map +1 -0
- package/lib/msal-browser.js +106 -66
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +55 -55
- package/package.json +13 -14
- package/dist/app/IPublicClientApplication.js.map +0 -1
- package/dist/app/PublicClientApplication.js.map +0 -1
- package/dist/broker/nativeBroker/NativeMessageHandler.js.map +0 -1
- package/dist/cache/AsyncMemoryStorage.js.map +0 -1
- package/dist/cache/BrowserCacheManager.js.map +0 -1
- package/dist/cache/BrowserStorage.js.map +0 -1
- package/dist/cache/CryptoKeyStore.js.map +0 -1
- package/dist/cache/DatabaseStorage.js.map +0 -1
- package/dist/cache/MemoryStorage.js.map +0 -1
- package/dist/cache/TokenCache.js.map +0 -1
- package/dist/cache/entities/CacheRecord.d.ts +0 -6
- package/dist/cache/entities/CacheRecord.d.ts.map +0 -1
- package/dist/config/Configuration.js.map +0 -1
- package/dist/controllers/ControllerFactory.js.map +0 -1
- package/dist/controllers/StandardController.js.map +0 -1
- package/dist/crypto/BrowserCrypto.js.map +0 -1
- package/dist/crypto/CryptoOps.js.map +0 -1
- package/dist/crypto/GuidGenerator.js.map +0 -1
- package/dist/crypto/ModernBrowserCrypto.js.map +0 -1
- package/dist/crypto/PkceGenerator.js.map +0 -1
- package/dist/crypto/SignedHttpRequest.js.map +0 -1
- package/dist/encode/Base64Decode.js.map +0 -1
- package/dist/encode/Base64Encode.js.map +0 -1
- package/dist/error/BrowserAuthError.js.map +0 -1
- package/dist/error/BrowserConfigurationAuthError.js.map +0 -1
- package/dist/error/NativeAuthError.js.map +0 -1
- package/dist/event/EventHandler.js.map +0 -1
- package/dist/event/EventMessage.js.map +0 -1
- package/dist/event/EventType.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/interaction_client/BaseInteractionClient.js.map +0 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.js.map +0 -1
- package/dist/interaction_client/NativeInteractionClient.js.map +0 -1
- package/dist/interaction_client/PopupClient.js.map +0 -1
- package/dist/interaction_client/RedirectClient.js.map +0 -1
- package/dist/interaction_client/SilentAuthCodeClient.js.map +0 -1
- package/dist/interaction_client/SilentCacheClient.js.map +0 -1
- package/dist/interaction_client/SilentIframeClient.js.map +0 -1
- package/dist/interaction_client/SilentRefreshClient.js.map +0 -1
- package/dist/interaction_client/StandardInteractionClient.js.map +0 -1
- package/dist/interaction_handler/InteractionHandler.js.map +0 -1
- package/dist/interaction_handler/RedirectHandler.js.map +0 -1
- package/dist/interaction_handler/SilentHandler.js.map +0 -1
- package/dist/internals.js.map +0 -1
- package/dist/navigation/NavigationClient.js.map +0 -1
- package/dist/network/FetchClient.js.map +0 -1
- package/dist/network/XhrClient.js.map +0 -1
- package/dist/operatingcontext/BaseOperatingContext.js.map +0 -1
- package/dist/operatingcontext/StandardOperatingContext.js.map +0 -1
- package/dist/operatingcontext/TeamsAppOperatingContext.js.map +0 -1
- package/dist/packageMetadata.js +0 -8
- package/dist/packageMetadata.js.map +0 -1
- package/dist/telemetry/BrowserPerformanceClient.js.map +0 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.js.map +0 -1
- package/dist/utils/BrowserConstants.js.map +0 -1
- package/dist/utils/BrowserProtocolUtils.js.map +0 -1
- package/dist/utils/BrowserStringUtils.js.map +0 -1
- package/dist/utils/BrowserUtils.js.map +0 -1
- package/dist/utils/MathUtils.js.map +0 -1
- package/lib/msal-browser.cjs.js.map +0 -1
package/lib/msal-browser.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v3.0.
|
|
1
|
+
/*! @azure/msal-browser v3.0.1 2023-08-11 */
|
|
2
2
|
'use strict';
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.msal = {}));
|
|
7
7
|
})(this, (function (exports) { 'use strict';
|
|
8
8
|
|
|
9
|
-
/*! @azure/msal-common v14.0.
|
|
9
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
10
10
|
/*
|
|
11
11
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
12
12
|
* Licensed under the MIT License.
|
|
@@ -366,7 +366,7 @@
|
|
|
366
366
|
Pop: "pop",
|
|
367
367
|
};
|
|
368
368
|
|
|
369
|
-
/*! @azure/msal-common v14.0.
|
|
369
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
370
370
|
|
|
371
371
|
/*
|
|
372
372
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -420,7 +420,7 @@
|
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
422
|
|
|
423
|
-
/*! @azure/msal-common v14.0.
|
|
423
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
424
424
|
|
|
425
425
|
/*
|
|
426
426
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -465,7 +465,7 @@
|
|
|
465
465
|
},
|
|
466
466
|
};
|
|
467
467
|
|
|
468
|
-
/*! @azure/msal-common v14.0.
|
|
468
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
469
469
|
|
|
470
470
|
/*
|
|
471
471
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -987,7 +987,7 @@
|
|
|
987
987
|
}
|
|
988
988
|
}
|
|
989
989
|
|
|
990
|
-
/*! @azure/msal-common v14.0.
|
|
990
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
991
991
|
|
|
992
992
|
/*
|
|
993
993
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1114,7 +1114,7 @@
|
|
|
1114
1114
|
}
|
|
1115
1115
|
}
|
|
1116
1116
|
|
|
1117
|
-
/*! @azure/msal-common v14.0.
|
|
1117
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
1118
1118
|
|
|
1119
1119
|
/*
|
|
1120
1120
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1314,12 +1314,12 @@
|
|
|
1314
1314
|
}
|
|
1315
1315
|
}
|
|
1316
1316
|
|
|
1317
|
-
/*! @azure/msal-common v14.0.
|
|
1317
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
1318
1318
|
/* eslint-disable header/header */
|
|
1319
1319
|
const name$1 = "@azure/msal-common";
|
|
1320
|
-
const version$1 = "14.0.
|
|
1320
|
+
const version$1 = "14.0.1";
|
|
1321
1321
|
|
|
1322
|
-
/*! @azure/msal-common v14.0.
|
|
1322
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
1323
1323
|
/*
|
|
1324
1324
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1325
1325
|
* Licensed under the MIT License.
|
|
@@ -1339,7 +1339,7 @@
|
|
|
1339
1339
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
1340
1340
|
};
|
|
1341
1341
|
|
|
1342
|
-
/*! @azure/msal-common v14.0.
|
|
1342
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
1343
1343
|
|
|
1344
1344
|
/*
|
|
1345
1345
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1621,7 +1621,7 @@
|
|
|
1621
1621
|
}
|
|
1622
1622
|
}
|
|
1623
1623
|
|
|
1624
|
-
/*! @azure/msal-common v14.0.
|
|
1624
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
1625
1625
|
|
|
1626
1626
|
/*
|
|
1627
1627
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1821,7 +1821,7 @@
|
|
|
1821
1821
|
}
|
|
1822
1822
|
}
|
|
1823
1823
|
|
|
1824
|
-
/*! @azure/msal-common v14.0.
|
|
1824
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
1825
1825
|
|
|
1826
1826
|
/*
|
|
1827
1827
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1861,7 +1861,7 @@
|
|
|
1861
1861
|
};
|
|
1862
1862
|
}
|
|
1863
1863
|
|
|
1864
|
-
/*! @azure/msal-common v14.0.
|
|
1864
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
1865
1865
|
/*
|
|
1866
1866
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1867
1867
|
* Licensed under the MIT License.
|
|
@@ -1876,7 +1876,7 @@
|
|
|
1876
1876
|
Ciam: 3,
|
|
1877
1877
|
};
|
|
1878
1878
|
|
|
1879
|
-
/*! @azure/msal-common v14.0.
|
|
1879
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
1880
1880
|
/*
|
|
1881
1881
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1882
1882
|
* Licensed under the MIT License.
|
|
@@ -1889,7 +1889,7 @@
|
|
|
1889
1889
|
OIDC: "OIDC",
|
|
1890
1890
|
};
|
|
1891
1891
|
|
|
1892
|
-
/*! @azure/msal-common v14.0.
|
|
1892
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
1893
1893
|
|
|
1894
1894
|
/*
|
|
1895
1895
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2112,7 +2112,7 @@
|
|
|
2112
2112
|
}
|
|
2113
2113
|
}
|
|
2114
2114
|
|
|
2115
|
-
/*! @azure/msal-common v14.0.
|
|
2115
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
2116
2116
|
|
|
2117
2117
|
/*
|
|
2118
2118
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2163,7 +2163,7 @@
|
|
|
2163
2163
|
}
|
|
2164
2164
|
}
|
|
2165
2165
|
|
|
2166
|
-
/*! @azure/msal-common v14.0.
|
|
2166
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
2167
2167
|
|
|
2168
2168
|
/*
|
|
2169
2169
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2657,7 +2657,11 @@
|
|
|
2657
2657
|
return null;
|
|
2658
2658
|
}
|
|
2659
2659
|
else if (numIdTokens > 1) {
|
|
2660
|
-
|
|
2660
|
+
this.commonLogger.info("CacheManager:getIdToken - Multiple id tokens found, clearing them");
|
|
2661
|
+
idTokens.forEach((idToken) => {
|
|
2662
|
+
this.removeIdToken(idToken.generateCredentialKey());
|
|
2663
|
+
});
|
|
2664
|
+
return null;
|
|
2661
2665
|
}
|
|
2662
2666
|
this.commonLogger.info("CacheManager:getIdToken - Returning id token");
|
|
2663
2667
|
return idTokens[0];
|
|
@@ -2767,7 +2771,11 @@
|
|
|
2767
2771
|
return null;
|
|
2768
2772
|
}
|
|
2769
2773
|
else if (numAccessTokens > 1) {
|
|
2770
|
-
|
|
2774
|
+
this.commonLogger.info("CacheManager:getAccessToken - Multiple access tokens found, clearing them");
|
|
2775
|
+
accessTokens.forEach((accessToken) => {
|
|
2776
|
+
this.removeAccessToken(accessToken.generateCredentialKey());
|
|
2777
|
+
});
|
|
2778
|
+
return null;
|
|
2771
2779
|
}
|
|
2772
2780
|
this.commonLogger.info("CacheManager:getAccessToken - Returning access token");
|
|
2773
2781
|
return accessTokens[0];
|
|
@@ -3178,7 +3186,7 @@
|
|
|
3178
3186
|
}
|
|
3179
3187
|
}
|
|
3180
3188
|
|
|
3181
|
-
/*! @azure/msal-common v14.0.
|
|
3189
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
3182
3190
|
|
|
3183
3191
|
/*
|
|
3184
3192
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3280,7 +3288,7 @@
|
|
|
3280
3288
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
3281
3289
|
}
|
|
3282
3290
|
|
|
3283
|
-
/*! @azure/msal-common v14.0.
|
|
3291
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
3284
3292
|
|
|
3285
3293
|
/*
|
|
3286
3294
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3297,7 +3305,7 @@
|
|
|
3297
3305
|
}
|
|
3298
3306
|
}
|
|
3299
3307
|
|
|
3300
|
-
/*! @azure/msal-common v14.0.
|
|
3308
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
3301
3309
|
|
|
3302
3310
|
/*
|
|
3303
3311
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3394,7 +3402,7 @@
|
|
|
3394
3402
|
}
|
|
3395
3403
|
}
|
|
3396
3404
|
|
|
3397
|
-
/*! @azure/msal-common v14.0.
|
|
3405
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
3398
3406
|
|
|
3399
3407
|
/*
|
|
3400
3408
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3430,7 +3438,7 @@
|
|
|
3430
3438
|
}
|
|
3431
3439
|
}
|
|
3432
3440
|
|
|
3433
|
-
/*! @azure/msal-common v14.0.
|
|
3441
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
3434
3442
|
/*
|
|
3435
3443
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3436
3444
|
* Licensed under the MIT License.
|
|
@@ -3440,7 +3448,7 @@
|
|
|
3440
3448
|
UPN: "UPN",
|
|
3441
3449
|
};
|
|
3442
3450
|
|
|
3443
|
-
/*! @azure/msal-common v14.0.
|
|
3451
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
3444
3452
|
|
|
3445
3453
|
/*
|
|
3446
3454
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3525,7 +3533,7 @@
|
|
|
3525
3533
|
}
|
|
3526
3534
|
}
|
|
3527
3535
|
|
|
3528
|
-
/*! @azure/msal-common v14.0.
|
|
3536
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
3529
3537
|
|
|
3530
3538
|
/*
|
|
3531
3539
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3908,7 +3916,7 @@
|
|
|
3908
3916
|
}
|
|
3909
3917
|
}
|
|
3910
3918
|
|
|
3911
|
-
/*! @azure/msal-common v14.0.
|
|
3919
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
3912
3920
|
|
|
3913
3921
|
/*
|
|
3914
3922
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4003,7 +4011,7 @@
|
|
|
4003
4011
|
}
|
|
4004
4012
|
}
|
|
4005
4013
|
|
|
4006
|
-
/*! @azure/msal-common v14.0.
|
|
4014
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
4007
4015
|
|
|
4008
4016
|
/*
|
|
4009
4017
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4142,7 +4150,7 @@
|
|
|
4142
4150
|
}
|
|
4143
4151
|
}
|
|
4144
4152
|
|
|
4145
|
-
/*! @azure/msal-common v14.0.
|
|
4153
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
4146
4154
|
|
|
4147
4155
|
/*
|
|
4148
4156
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4201,7 +4209,7 @@
|
|
|
4201
4209
|
}
|
|
4202
4210
|
}
|
|
4203
4211
|
|
|
4204
|
-
/*! @azure/msal-common v14.0.
|
|
4212
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
4205
4213
|
/*
|
|
4206
4214
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4207
4215
|
* Licensed under the MIT License.
|
|
@@ -4248,7 +4256,7 @@
|
|
|
4248
4256
|
}
|
|
4249
4257
|
}
|
|
4250
4258
|
|
|
4251
|
-
/*! @azure/msal-common v14.0.
|
|
4259
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
4252
4260
|
|
|
4253
4261
|
/*
|
|
4254
4262
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4362,7 +4370,7 @@
|
|
|
4362
4370
|
}
|
|
4363
4371
|
}
|
|
4364
4372
|
|
|
4365
|
-
/*! @azure/msal-common v14.0.
|
|
4373
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
4366
4374
|
|
|
4367
4375
|
/*
|
|
4368
4376
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4424,7 +4432,7 @@
|
|
|
4424
4432
|
}
|
|
4425
4433
|
}
|
|
4426
4434
|
|
|
4427
|
-
/*! @azure/msal-common v14.0.
|
|
4435
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
4428
4436
|
|
|
4429
4437
|
/*
|
|
4430
4438
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4505,7 +4513,7 @@
|
|
|
4505
4513
|
}
|
|
4506
4514
|
}
|
|
4507
4515
|
|
|
4508
|
-
/*! @azure/msal-common v14.0.
|
|
4516
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
4509
4517
|
/*
|
|
4510
4518
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4511
4519
|
* Licensed under the MIT License.
|
|
@@ -4520,7 +4528,7 @@
|
|
|
4520
4528
|
}
|
|
4521
4529
|
}
|
|
4522
4530
|
|
|
4523
|
-
/*! @azure/msal-common v14.0.
|
|
4531
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
4524
4532
|
|
|
4525
4533
|
/*
|
|
4526
4534
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4594,7 +4602,7 @@
|
|
|
4594
4602
|
}
|
|
4595
4603
|
}
|
|
4596
4604
|
|
|
4597
|
-
/*! @azure/msal-common v14.0.
|
|
4605
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
4598
4606
|
|
|
4599
4607
|
/*
|
|
4600
4608
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4878,7 +4886,7 @@
|
|
|
4878
4886
|
}
|
|
4879
4887
|
}
|
|
4880
4888
|
|
|
4881
|
-
/*! @azure/msal-common v14.0.
|
|
4889
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
4882
4890
|
/*
|
|
4883
4891
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4884
4892
|
* Licensed under the MIT License.
|
|
@@ -5106,7 +5114,7 @@
|
|
|
5106
5114
|
"status",
|
|
5107
5115
|
]);
|
|
5108
5116
|
|
|
5109
|
-
/*! @azure/msal-common v14.0.
|
|
5117
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
5110
5118
|
|
|
5111
5119
|
/*
|
|
5112
5120
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5191,7 +5199,7 @@
|
|
|
5191
5199
|
}
|
|
5192
5200
|
}
|
|
5193
5201
|
|
|
5194
|
-
/*! @azure/msal-common v14.0.
|
|
5202
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
5195
5203
|
|
|
5196
5204
|
/*
|
|
5197
5205
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5260,7 +5268,7 @@
|
|
|
5260
5268
|
}
|
|
5261
5269
|
}
|
|
5262
5270
|
|
|
5263
|
-
/*! @azure/msal-common v14.0.
|
|
5271
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
5264
5272
|
/*
|
|
5265
5273
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5266
5274
|
* Licensed under the MIT License.
|
|
@@ -5287,7 +5295,7 @@
|
|
|
5287
5295
|
}
|
|
5288
5296
|
}
|
|
5289
5297
|
|
|
5290
|
-
/*! @azure/msal-common v14.0.
|
|
5298
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
5291
5299
|
|
|
5292
5300
|
/*
|
|
5293
5301
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5581,7 +5589,7 @@
|
|
|
5581
5589
|
}
|
|
5582
5590
|
}
|
|
5583
5591
|
|
|
5584
|
-
/*! @azure/msal-common v14.0.
|
|
5592
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
5585
5593
|
|
|
5586
5594
|
/*
|
|
5587
5595
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5742,7 +5750,8 @@
|
|
|
5742
5750
|
async createTokenRequestBody(request) {
|
|
5743
5751
|
this.performanceClient?.addQueueMeasurement(PerformanceEvents.AuthClientCreateTokenRequestBody, request.correlationId);
|
|
5744
5752
|
const parameterBuilder = new RequestParameterBuilder();
|
|
5745
|
-
parameterBuilder.addClientId(
|
|
5753
|
+
parameterBuilder.addClientId(request.tokenBodyParameters?.[AADServerParamKeys.CLIENT_ID] ||
|
|
5754
|
+
this.config.authOptions.clientId);
|
|
5746
5755
|
/*
|
|
5747
5756
|
* For hybrid spa flow, there will be a code but no verifier
|
|
5748
5757
|
* In this scenario, don't include redirect uri as auth code will not be bound to redirect URI
|
|
@@ -5857,7 +5866,8 @@
|
|
|
5857
5866
|
async createAuthCodeUrlQueryString(request) {
|
|
5858
5867
|
this.performanceClient?.addQueueMeasurement(PerformanceEvents.AuthClientCreateQueryString, request.correlationId);
|
|
5859
5868
|
const parameterBuilder = new RequestParameterBuilder();
|
|
5860
|
-
parameterBuilder.addClientId(
|
|
5869
|
+
parameterBuilder.addClientId(request.extraQueryParameters?.[AADServerParamKeys.CLIENT_ID] ||
|
|
5870
|
+
this.config.authOptions.clientId);
|
|
5861
5871
|
const requestScopes = [
|
|
5862
5872
|
...(request.scopes || []),
|
|
5863
5873
|
...(request.extraScopesToConsent || []),
|
|
@@ -6019,7 +6029,7 @@
|
|
|
6019
6029
|
}
|
|
6020
6030
|
}
|
|
6021
6031
|
|
|
6022
|
-
/*! @azure/msal-common v14.0.
|
|
6032
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
6023
6033
|
|
|
6024
6034
|
/*
|
|
6025
6035
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6261,7 +6271,7 @@
|
|
|
6261
6271
|
}
|
|
6262
6272
|
}
|
|
6263
6273
|
|
|
6264
|
-
/*! @azure/msal-common v14.0.
|
|
6274
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
6265
6275
|
|
|
6266
6276
|
/*
|
|
6267
6277
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6364,7 +6374,7 @@
|
|
|
6364
6374
|
}
|
|
6365
6375
|
}
|
|
6366
6376
|
|
|
6367
|
-
/*! @azure/msal-common v14.0.
|
|
6377
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
6368
6378
|
/*
|
|
6369
6379
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6370
6380
|
* Licensed under the MIT License.
|
|
@@ -6376,7 +6386,7 @@
|
|
|
6376
6386
|
response.hasOwnProperty("jwks_uri"));
|
|
6377
6387
|
}
|
|
6378
6388
|
|
|
6379
|
-
/*! @azure/msal-common v14.0.
|
|
6389
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
6380
6390
|
/*
|
|
6381
6391
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6382
6392
|
* Licensed under the MIT License.
|
|
@@ -7262,7 +7272,7 @@
|
|
|
7262
7272
|
}
|
|
7263
7273
|
}
|
|
7264
7274
|
|
|
7265
|
-
/*! @azure/msal-common v14.0.
|
|
7275
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
7266
7276
|
|
|
7267
7277
|
/*
|
|
7268
7278
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7342,7 +7352,7 @@
|
|
|
7342
7352
|
}
|
|
7343
7353
|
}
|
|
7344
7354
|
|
|
7345
|
-
/*! @azure/msal-common v14.0.
|
|
7355
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
7346
7356
|
/*
|
|
7347
7357
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7348
7358
|
* Licensed under the MIT License.
|
|
@@ -7352,7 +7362,7 @@
|
|
|
7352
7362
|
response.hasOwnProperty("metadata"));
|
|
7353
7363
|
}
|
|
7354
7364
|
|
|
7355
|
-
/*! @azure/msal-common v14.0.
|
|
7365
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
7356
7366
|
/*
|
|
7357
7367
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7358
7368
|
* Licensed under the MIT License.
|
|
@@ -7362,7 +7372,7 @@
|
|
|
7362
7372
|
response.hasOwnProperty("error_description"));
|
|
7363
7373
|
}
|
|
7364
7374
|
|
|
7365
|
-
/*! @azure/msal-common v14.0.
|
|
7375
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
7366
7376
|
|
|
7367
7377
|
/*
|
|
7368
7378
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7473,7 +7483,7 @@
|
|
|
7473
7483
|
},
|
|
7474
7484
|
};
|
|
7475
7485
|
|
|
7476
|
-
/*! @azure/msal-common v14.0.
|
|
7486
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
7477
7487
|
|
|
7478
7488
|
/*
|
|
7479
7489
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8237,7 +8247,7 @@
|
|
|
8237
8247
|
AADAuthorityConstants.ORGANIZATIONS,
|
|
8238
8248
|
]);
|
|
8239
8249
|
|
|
8240
|
-
/*! @azure/msal-common v14.0.
|
|
8250
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
8241
8251
|
|
|
8242
8252
|
/*
|
|
8243
8253
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8287,7 +8297,7 @@
|
|
|
8287
8297
|
}
|
|
8288
8298
|
}
|
|
8289
8299
|
|
|
8290
|
-
/*! @azure/msal-common v14.0.
|
|
8300
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
8291
8301
|
|
|
8292
8302
|
/*
|
|
8293
8303
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8317,7 +8327,7 @@
|
|
|
8317
8327
|
}
|
|
8318
8328
|
}
|
|
8319
8329
|
|
|
8320
|
-
/*! @azure/msal-common v14.0.
|
|
8330
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
8321
8331
|
|
|
8322
8332
|
/*
|
|
8323
8333
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8343,7 +8353,7 @@
|
|
|
8343
8353
|
}
|
|
8344
8354
|
}
|
|
8345
8355
|
|
|
8346
|
-
/*! @azure/msal-common v14.0.
|
|
8356
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
8347
8357
|
|
|
8348
8358
|
/*
|
|
8349
8359
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8360,7 +8370,7 @@
|
|
|
8360
8370
|
},
|
|
8361
8371
|
};
|
|
8362
8372
|
|
|
8363
|
-
/*! @azure/msal-common v14.0.
|
|
8373
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
8364
8374
|
|
|
8365
8375
|
/*
|
|
8366
8376
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8402,7 +8412,7 @@
|
|
|
8402
8412
|
}
|
|
8403
8413
|
}
|
|
8404
8414
|
|
|
8405
|
-
/*! @azure/msal-common v14.0.
|
|
8415
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
8406
8416
|
|
|
8407
8417
|
/*
|
|
8408
8418
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8441,7 +8451,7 @@
|
|
|
8441
8451
|
}
|
|
8442
8452
|
}
|
|
8443
8453
|
|
|
8444
|
-
/*! @azure/msal-common v14.0.
|
|
8454
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
8445
8455
|
|
|
8446
8456
|
/*
|
|
8447
8457
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8499,7 +8509,7 @@
|
|
|
8499
8509
|
}
|
|
8500
8510
|
}
|
|
8501
8511
|
|
|
8502
|
-
/*! @azure/msal-common v14.0.
|
|
8512
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
8503
8513
|
|
|
8504
8514
|
/*
|
|
8505
8515
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8698,7 +8708,7 @@
|
|
|
8698
8708
|
}
|
|
8699
8709
|
}
|
|
8700
8710
|
|
|
8701
|
-
/*! @azure/msal-common v14.0.
|
|
8711
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
8702
8712
|
|
|
8703
8713
|
/*
|
|
8704
8714
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -9109,7 +9119,7 @@
|
|
|
9109
9119
|
}
|
|
9110
9120
|
}
|
|
9111
9121
|
|
|
9112
|
-
/*! @azure/msal-common v14.0.
|
|
9122
|
+
/*! @azure/msal-common v14.0.1 2023-08-11 */
|
|
9113
9123
|
|
|
9114
9124
|
/*
|
|
9115
9125
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -11354,7 +11364,7 @@
|
|
|
11354
11364
|
|
|
11355
11365
|
/* eslint-disable header/header */
|
|
11356
11366
|
const name = "@azure/msal-browser";
|
|
11357
|
-
const version = "3.0.
|
|
11367
|
+
const version = "3.0.1";
|
|
11358
11368
|
|
|
11359
11369
|
/*
|
|
11360
11370
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -12578,6 +12588,10 @@
|
|
|
12578
12588
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
12579
12589
|
* Licensed under the MIT License.
|
|
12580
12590
|
*/
|
|
12591
|
+
const BrokerServerParamKeys = {
|
|
12592
|
+
BROKER_CLIENT_ID: "brk_client_id",
|
|
12593
|
+
BROKER_REDIRECT_URI: "brk_redirect_uri",
|
|
12594
|
+
};
|
|
12581
12595
|
class NativeInteractionClient extends BaseInteractionClient {
|
|
12582
12596
|
constructor(config, browserStorage, browserCrypto, logger, eventHandler, navigationClient, apiId, performanceClient, provider, accountId, nativeStorageImpl, correlationId) {
|
|
12583
12597
|
super(config, browserStorage, browserCrypto, logger, eventHandler, navigationClient, performanceClient, provider, correlationId);
|
|
@@ -13069,10 +13083,14 @@
|
|
|
13069
13083
|
extraParameters: {
|
|
13070
13084
|
...request.extraQueryParameters,
|
|
13071
13085
|
...request.tokenQueryParameters,
|
|
13072
|
-
telemetry: NativeConstants.MATS_TELEMETRY,
|
|
13073
13086
|
},
|
|
13074
13087
|
extendedExpiryToken: false, // Make this configurable?
|
|
13075
13088
|
};
|
|
13089
|
+
this.handleExtraBrokerParams(validatedRequest);
|
|
13090
|
+
validatedRequest.extraParameters =
|
|
13091
|
+
validatedRequest.extraParameters || {};
|
|
13092
|
+
validatedRequest.extraParameters.telemetry =
|
|
13093
|
+
NativeConstants.MATS_TELEMETRY;
|
|
13076
13094
|
if (request.authenticationScheme === AuthenticationScheme.POP) {
|
|
13077
13095
|
// add POP request type
|
|
13078
13096
|
const shrParameters = {
|
|
@@ -13089,6 +13107,28 @@
|
|
|
13089
13107
|
}
|
|
13090
13108
|
return validatedRequest;
|
|
13091
13109
|
}
|
|
13110
|
+
/**
|
|
13111
|
+
* Handles extra broker request parameters
|
|
13112
|
+
* @param request {NativeTokenRequest}
|
|
13113
|
+
* @private
|
|
13114
|
+
*/
|
|
13115
|
+
handleExtraBrokerParams(request) {
|
|
13116
|
+
if (!request.extraParameters) {
|
|
13117
|
+
return;
|
|
13118
|
+
}
|
|
13119
|
+
if (request.extraParameters.hasOwnProperty(BrokerServerParamKeys.BROKER_CLIENT_ID) &&
|
|
13120
|
+
request.extraParameters.hasOwnProperty(BrokerServerParamKeys.BROKER_REDIRECT_URI) &&
|
|
13121
|
+
request.extraParameters.hasOwnProperty(AADServerParamKeys.CLIENT_ID)) {
|
|
13122
|
+
const child_client_id = request.extraParameters[AADServerParamKeys.CLIENT_ID];
|
|
13123
|
+
const child_redirect_uri = request.redirectUri;
|
|
13124
|
+
const brk_redirect_uri = request.extraParameters[BrokerServerParamKeys.BROKER_REDIRECT_URI];
|
|
13125
|
+
request.extraParameters = {
|
|
13126
|
+
child_client_id,
|
|
13127
|
+
child_redirect_uri,
|
|
13128
|
+
};
|
|
13129
|
+
request.redirectUri = brk_redirect_uri;
|
|
13130
|
+
}
|
|
13131
|
+
}
|
|
13092
13132
|
}
|
|
13093
13133
|
|
|
13094
13134
|
/*
|