@azure/msal-browser 4.0.2 → 4.1.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.mjs +1 -1
- package/dist/app/PublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientNext.mjs +1 -1
- package/dist/broker/nativeBroker/NativeMessageHandler.mjs +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/cache/AccountManager.mjs +1 -1
- package/dist/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/cache/BrowserCacheManager.mjs +1 -1
- package/dist/cache/CacheHelpers.mjs +1 -1
- package/dist/cache/CookieStorage.mjs +1 -1
- package/dist/cache/DatabaseStorage.mjs +1 -1
- package/dist/cache/LocalStorage.mjs +1 -1
- package/dist/cache/MemoryStorage.mjs +1 -1
- package/dist/cache/SessionStorage.mjs +1 -1
- package/dist/cache/TokenCache.mjs +1 -1
- package/dist/config/Configuration.mjs +1 -1
- package/dist/controllers/ControllerFactory.mjs +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +1 -1
- package/dist/controllers/StandardController.mjs +1 -1
- package/dist/controllers/UnknownOperatingContextController.mjs +1 -1
- package/dist/crypto/BrowserCrypto.mjs +1 -1
- package/dist/crypto/CryptoOps.mjs +1 -1
- package/dist/crypto/PkceGenerator.mjs +1 -1
- package/dist/crypto/SignedHttpRequest.mjs +1 -1
- package/dist/encode/Base64Decode.mjs +1 -1
- package/dist/encode/Base64Encode.mjs +1 -1
- package/dist/error/BrowserAuthError.mjs +1 -1
- package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/error/NativeAuthError.mjs +1 -1
- package/dist/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/error/NestedAppAuthError.mjs +1 -1
- package/dist/event/EventHandler.mjs +1 -1
- package/dist/event/EventMessage.mjs +1 -1
- package/dist/event/EventType.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/interaction_client/NativeInteractionClient.mjs +1 -1
- package/dist/interaction_client/PopupClient.d.ts.map +1 -1
- package/dist/interaction_client/PopupClient.mjs +2 -1
- package/dist/interaction_client/PopupClient.mjs.map +1 -1
- package/dist/interaction_client/RedirectClient.mjs +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/dist/interaction_client/SilentCacheClient.mjs +1 -1
- package/dist/interaction_client/SilentIframeClient.mjs +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/interaction_handler/RedirectHandler.mjs +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/naa/BridgeError.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs +1 -1
- package/dist/naa/BridgeStatusCode.mjs +1 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs +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/NestedAppOperatingContext.mjs +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/request/RequestHelpers.mjs +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- 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.mjs +1 -1
- package/dist/utils/BrowserUtils.mjs +1 -1
- package/lib/msal-browser.cjs +84 -110
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +84 -110
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +59 -59
- package/lib/types/interaction_client/PopupClient.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/package.json +2 -2
- package/src/interaction_client/PopupClient.ts +5 -0
- package/src/packageMetadata.ts +1 -1
package/lib/msal-browser.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.0
|
|
1
|
+
/*! @azure/msal-browser v4.1.0 2025-02-03 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
|
-
/*! @azure/msal-common v15.0
|
|
5
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
6
6
|
/*
|
|
7
7
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8
8
|
* Licensed under the MIT License.
|
|
@@ -306,7 +306,7 @@ const JsonWebTokenTypes = {
|
|
|
306
306
|
// Token renewal offset default in seconds
|
|
307
307
|
const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
308
308
|
|
|
309
|
-
/*! @azure/msal-common v15.0
|
|
309
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
310
310
|
/*
|
|
311
311
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
312
312
|
* Licensed under the MIT License.
|
|
@@ -323,7 +323,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
323
323
|
unexpectedError: unexpectedError
|
|
324
324
|
});
|
|
325
325
|
|
|
326
|
-
/*! @azure/msal-common v15.0
|
|
326
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
327
327
|
|
|
328
328
|
/*
|
|
329
329
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -372,7 +372,7 @@ function createAuthError(code, additionalMessage) {
|
|
|
372
372
|
: AuthErrorMessages[code]);
|
|
373
373
|
}
|
|
374
374
|
|
|
375
|
-
/*! @azure/msal-common v15.0
|
|
375
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
376
376
|
/*
|
|
377
377
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
378
378
|
* Licensed under the MIT License.
|
|
@@ -470,7 +470,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
470
470
|
userTimeoutReached: userTimeoutReached
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
/*! @azure/msal-common v15.0
|
|
473
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
474
474
|
|
|
475
475
|
/*
|
|
476
476
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -722,7 +722,7 @@ function createClientAuthError(errorCode, additionalMessage) {
|
|
|
722
722
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
723
723
|
}
|
|
724
724
|
|
|
725
|
-
/*! @azure/msal-common v15.0
|
|
725
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
726
726
|
|
|
727
727
|
/*
|
|
728
728
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -761,7 +761,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
761
761
|
},
|
|
762
762
|
};
|
|
763
763
|
|
|
764
|
-
/*! @azure/msal-common v15.0
|
|
764
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
765
765
|
|
|
766
766
|
/*
|
|
767
767
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -952,12 +952,12 @@ class Logger {
|
|
|
952
952
|
}
|
|
953
953
|
}
|
|
954
954
|
|
|
955
|
-
/*! @azure/msal-common v15.0
|
|
955
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
956
956
|
/* eslint-disable header/header */
|
|
957
957
|
const name$1 = "@azure/msal-common";
|
|
958
|
-
const version$1 = "15.0
|
|
958
|
+
const version$1 = "15.1.0";
|
|
959
959
|
|
|
960
|
-
/*! @azure/msal-common v15.0
|
|
960
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
961
961
|
/*
|
|
962
962
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
963
963
|
* Licensed under the MIT License.
|
|
@@ -977,7 +977,7 @@ const AzureCloudInstance = {
|
|
|
977
977
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
978
978
|
};
|
|
979
979
|
|
|
980
|
-
/*! @azure/msal-common v15.0
|
|
980
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
981
981
|
|
|
982
982
|
/*
|
|
983
983
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1038,7 +1038,7 @@ function checkMaxAge(authTime, maxAge) {
|
|
|
1038
1038
|
}
|
|
1039
1039
|
}
|
|
1040
1040
|
|
|
1041
|
-
/*! @azure/msal-common v15.0
|
|
1041
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
1042
1042
|
/*
|
|
1043
1043
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1044
1044
|
* Licensed under the MIT License.
|
|
@@ -1075,7 +1075,7 @@ function wasClockTurnedBack(cachedAt) {
|
|
|
1075
1075
|
return cachedAtSec > nowSeconds();
|
|
1076
1076
|
}
|
|
1077
1077
|
|
|
1078
|
-
/*! @azure/msal-common v15.0
|
|
1078
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
1079
1079
|
|
|
1080
1080
|
/*
|
|
1081
1081
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1402,7 +1402,7 @@ function isAuthorityMetadataExpired(metadata) {
|
|
|
1402
1402
|
return metadata.expiresAt <= nowSeconds();
|
|
1403
1403
|
}
|
|
1404
1404
|
|
|
1405
|
-
/*! @azure/msal-common v15.0
|
|
1405
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
1406
1406
|
/*
|
|
1407
1407
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1408
1408
|
* Licensed under the MIT License.
|
|
@@ -1456,7 +1456,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
1456
1456
|
urlParseError: urlParseError
|
|
1457
1457
|
});
|
|
1458
1458
|
|
|
1459
|
-
/*! @azure/msal-common v15.0
|
|
1459
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
1460
1460
|
|
|
1461
1461
|
/*
|
|
1462
1462
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1594,7 +1594,7 @@ function createClientConfigurationError(errorCode) {
|
|
|
1594
1594
|
return new ClientConfigurationError(errorCode);
|
|
1595
1595
|
}
|
|
1596
1596
|
|
|
1597
|
-
/*! @azure/msal-common v15.0
|
|
1597
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
1598
1598
|
/*
|
|
1599
1599
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1600
1600
|
* Licensed under the MIT License.
|
|
@@ -1691,7 +1691,7 @@ class StringUtils {
|
|
|
1691
1691
|
}
|
|
1692
1692
|
}
|
|
1693
1693
|
|
|
1694
|
-
/*! @azure/msal-common v15.0
|
|
1694
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
1695
1695
|
|
|
1696
1696
|
/*
|
|
1697
1697
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1882,7 +1882,7 @@ class ScopeSet {
|
|
|
1882
1882
|
}
|
|
1883
1883
|
}
|
|
1884
1884
|
|
|
1885
|
-
/*! @azure/msal-common v15.0
|
|
1885
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
1886
1886
|
|
|
1887
1887
|
/*
|
|
1888
1888
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1922,7 +1922,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
1922
1922
|
};
|
|
1923
1923
|
}
|
|
1924
1924
|
|
|
1925
|
-
/*! @azure/msal-common v15.0
|
|
1925
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
1926
1926
|
/*
|
|
1927
1927
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1928
1928
|
* Licensed under the MIT License.
|
|
@@ -2001,7 +2001,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
2001
2001
|
return updatedAccountInfo;
|
|
2002
2002
|
}
|
|
2003
2003
|
|
|
2004
|
-
/*! @azure/msal-common v15.0
|
|
2004
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
2005
2005
|
/*
|
|
2006
2006
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2007
2007
|
* Licensed under the MIT License.
|
|
@@ -2016,7 +2016,7 @@ const AuthorityType = {
|
|
|
2016
2016
|
Ciam: 3,
|
|
2017
2017
|
};
|
|
2018
2018
|
|
|
2019
|
-
/*! @azure/msal-common v15.0
|
|
2019
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
2020
2020
|
/*
|
|
2021
2021
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2022
2022
|
* Licensed under the MIT License.
|
|
@@ -2038,7 +2038,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
2038
2038
|
return null;
|
|
2039
2039
|
}
|
|
2040
2040
|
|
|
2041
|
-
/*! @azure/msal-common v15.0
|
|
2041
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
2042
2042
|
/*
|
|
2043
2043
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2044
2044
|
* Licensed under the MIT License.
|
|
@@ -2051,7 +2051,7 @@ const ProtocolMode = {
|
|
|
2051
2051
|
OIDC: "OIDC",
|
|
2052
2052
|
};
|
|
2053
2053
|
|
|
2054
|
-
/*! @azure/msal-common v15.0
|
|
2054
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
2055
2055
|
|
|
2056
2056
|
/*
|
|
2057
2057
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2294,7 +2294,7 @@ class AccountEntity {
|
|
|
2294
2294
|
}
|
|
2295
2295
|
}
|
|
2296
2296
|
|
|
2297
|
-
/*! @azure/msal-common v15.0
|
|
2297
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
2298
2298
|
|
|
2299
2299
|
/*
|
|
2300
2300
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2341,7 +2341,7 @@ function getDeserializedResponse(responseString) {
|
|
|
2341
2341
|
return null;
|
|
2342
2342
|
}
|
|
2343
2343
|
|
|
2344
|
-
/*! @azure/msal-common v15.0
|
|
2344
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
2345
2345
|
|
|
2346
2346
|
/*
|
|
2347
2347
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2505,7 +2505,7 @@ class UrlString {
|
|
|
2505
2505
|
}
|
|
2506
2506
|
}
|
|
2507
2507
|
|
|
2508
|
-
/*! @azure/msal-common v15.0
|
|
2508
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
2509
2509
|
|
|
2510
2510
|
/*
|
|
2511
2511
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2645,7 +2645,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2645
2645
|
return null;
|
|
2646
2646
|
}
|
|
2647
2647
|
|
|
2648
|
-
/*! @azure/msal-common v15.0
|
|
2648
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
2649
2649
|
/*
|
|
2650
2650
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2651
2651
|
* Licensed under the MIT License.
|
|
@@ -2653,7 +2653,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2653
2653
|
const cacheQuotaExceededErrorCode = "cache_quota_exceeded";
|
|
2654
2654
|
const cacheUnknownErrorCode = "cache_error_unknown";
|
|
2655
2655
|
|
|
2656
|
-
/*! @azure/msal-common v15.0
|
|
2656
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
2657
2657
|
|
|
2658
2658
|
/*
|
|
2659
2659
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2680,7 +2680,7 @@ class CacheError extends Error {
|
|
|
2680
2680
|
}
|
|
2681
2681
|
}
|
|
2682
2682
|
|
|
2683
|
-
/*! @azure/msal-common v15.0
|
|
2683
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
2684
2684
|
|
|
2685
2685
|
/*
|
|
2686
2686
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3865,7 +3865,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3865
3865
|
}
|
|
3866
3866
|
}
|
|
3867
3867
|
|
|
3868
|
-
/*! @azure/msal-common v15.0
|
|
3868
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
3869
3869
|
|
|
3870
3870
|
/*
|
|
3871
3871
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3964,7 +3964,7 @@ function isOidcProtocolMode(config) {
|
|
|
3964
3964
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
3965
3965
|
}
|
|
3966
3966
|
|
|
3967
|
-
/*! @azure/msal-common v15.0
|
|
3967
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
3968
3968
|
/*
|
|
3969
3969
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3970
3970
|
* Licensed under the MIT License.
|
|
@@ -3974,7 +3974,7 @@ const CcsCredentialType = {
|
|
|
3974
3974
|
UPN: "UPN",
|
|
3975
3975
|
};
|
|
3976
3976
|
|
|
3977
|
-
/*! @azure/msal-common v15.0
|
|
3977
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
3978
3978
|
/*
|
|
3979
3979
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3980
3980
|
* Licensed under the MIT License.
|
|
@@ -4024,7 +4024,7 @@ const X_CLIENT_EXTRA_SKU = "x-client-xtra-sku";
|
|
|
4024
4024
|
const BROKER_CLIENT_ID = "brk_client_id";
|
|
4025
4025
|
const BROKER_REDIRECT_URI = "brk_redirect_uri";
|
|
4026
4026
|
|
|
4027
|
-
/*! @azure/msal-common v15.0
|
|
4027
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
4028
4028
|
|
|
4029
4029
|
/*
|
|
4030
4030
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4091,7 +4091,7 @@ class RequestValidator {
|
|
|
4091
4091
|
}
|
|
4092
4092
|
}
|
|
4093
4093
|
|
|
4094
|
-
/*! @azure/msal-common v15.0
|
|
4094
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
4095
4095
|
|
|
4096
4096
|
/*
|
|
4097
4097
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4499,7 +4499,7 @@ class RequestParameterBuilder {
|
|
|
4499
4499
|
}
|
|
4500
4500
|
}
|
|
4501
4501
|
|
|
4502
|
-
/*! @azure/msal-common v15.0
|
|
4502
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
4503
4503
|
/*
|
|
4504
4504
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4505
4505
|
* Licensed under the MIT License.
|
|
@@ -4511,7 +4511,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
4511
4511
|
response.hasOwnProperty("jwks_uri"));
|
|
4512
4512
|
}
|
|
4513
4513
|
|
|
4514
|
-
/*! @azure/msal-common v15.0
|
|
4514
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
4515
4515
|
/*
|
|
4516
4516
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4517
4517
|
* Licensed under the MIT License.
|
|
@@ -4521,7 +4521,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
4521
4521
|
response.hasOwnProperty("metadata"));
|
|
4522
4522
|
}
|
|
4523
4523
|
|
|
4524
|
-
/*! @azure/msal-common v15.0
|
|
4524
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
4525
4525
|
/*
|
|
4526
4526
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4527
4527
|
* Licensed under the MIT License.
|
|
@@ -4531,7 +4531,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
4531
4531
|
response.hasOwnProperty("error_description"));
|
|
4532
4532
|
}
|
|
4533
4533
|
|
|
4534
|
-
/*! @azure/msal-common v15.0
|
|
4534
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
4535
4535
|
/*
|
|
4536
4536
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4537
4537
|
* Licensed under the MIT License.
|
|
@@ -5038,7 +5038,7 @@ const IntFields = new Set([
|
|
|
5038
5038
|
"encryptedCacheExpiredCount",
|
|
5039
5039
|
]);
|
|
5040
5040
|
|
|
5041
|
-
/*! @azure/msal-common v15.0
|
|
5041
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
5042
5042
|
/*
|
|
5043
5043
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5044
5044
|
* Licensed under the MIT License.
|
|
@@ -5134,7 +5134,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
5134
5134
|
};
|
|
5135
5135
|
};
|
|
5136
5136
|
|
|
5137
|
-
/*! @azure/msal-common v15.0
|
|
5137
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
5138
5138
|
|
|
5139
5139
|
/*
|
|
5140
5140
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5243,7 +5243,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
5243
5243
|
},
|
|
5244
5244
|
};
|
|
5245
5245
|
|
|
5246
|
-
/*! @azure/msal-common v15.0
|
|
5246
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
5247
5247
|
|
|
5248
5248
|
/*
|
|
5249
5249
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6082,7 +6082,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
6082
6082
|
};
|
|
6083
6083
|
}
|
|
6084
6084
|
|
|
6085
|
-
/*! @azure/msal-common v15.0
|
|
6085
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
6086
6086
|
|
|
6087
6087
|
/*
|
|
6088
6088
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6113,7 +6113,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
6113
6113
|
}
|
|
6114
6114
|
}
|
|
6115
6115
|
|
|
6116
|
-
/*! @azure/msal-common v15.0
|
|
6116
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
6117
6117
|
|
|
6118
6118
|
/*
|
|
6119
6119
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6132,7 +6132,7 @@ class ServerError extends AuthError {
|
|
|
6132
6132
|
}
|
|
6133
6133
|
}
|
|
6134
6134
|
|
|
6135
|
-
/*! @azure/msal-common v15.0
|
|
6135
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
6136
6136
|
|
|
6137
6137
|
/*
|
|
6138
6138
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6230,7 +6230,7 @@ class ThrottlingUtils {
|
|
|
6230
6230
|
}
|
|
6231
6231
|
}
|
|
6232
6232
|
|
|
6233
|
-
/*! @azure/msal-common v15.0
|
|
6233
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
6234
6234
|
|
|
6235
6235
|
/*
|
|
6236
6236
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6260,7 +6260,7 @@ function createNetworkError(error, httpStatus, responseHeaders) {
|
|
|
6260
6260
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
6261
6261
|
}
|
|
6262
6262
|
|
|
6263
|
-
/*! @azure/msal-common v15.0
|
|
6263
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
6264
6264
|
|
|
6265
6265
|
/*
|
|
6266
6266
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6410,7 +6410,7 @@ class BaseClient {
|
|
|
6410
6410
|
}
|
|
6411
6411
|
}
|
|
6412
6412
|
|
|
6413
|
-
/*! @azure/msal-common v15.0
|
|
6413
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
6414
6414
|
/*
|
|
6415
6415
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6416
6416
|
* Licensed under the MIT License.
|
|
@@ -6436,7 +6436,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
6436
6436
|
refreshTokenExpired: refreshTokenExpired
|
|
6437
6437
|
});
|
|
6438
6438
|
|
|
6439
|
-
/*! @azure/msal-common v15.0
|
|
6439
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
6440
6440
|
|
|
6441
6441
|
/*
|
|
6442
6442
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6524,7 +6524,7 @@ function createInteractionRequiredAuthError(errorCode) {
|
|
|
6524
6524
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
6525
6525
|
}
|
|
6526
6526
|
|
|
6527
|
-
/*! @azure/msal-common v15.0
|
|
6527
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
6528
6528
|
|
|
6529
6529
|
/*
|
|
6530
6530
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6596,7 +6596,7 @@ class ProtocolUtils {
|
|
|
6596
6596
|
}
|
|
6597
6597
|
}
|
|
6598
6598
|
|
|
6599
|
-
/*! @azure/msal-common v15.0
|
|
6599
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
6600
6600
|
|
|
6601
6601
|
/*
|
|
6602
6602
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6680,7 +6680,7 @@ class PopTokenGenerator {
|
|
|
6680
6680
|
}
|
|
6681
6681
|
}
|
|
6682
6682
|
|
|
6683
|
-
/*! @azure/msal-common v15.0
|
|
6683
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
6684
6684
|
/*
|
|
6685
6685
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6686
6686
|
* Licensed under the MIT License.
|
|
@@ -6707,7 +6707,7 @@ class PopTokenGenerator {
|
|
|
6707
6707
|
}
|
|
6708
6708
|
}
|
|
6709
6709
|
|
|
6710
|
-
/*! @azure/msal-common v15.0
|
|
6710
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
6711
6711
|
|
|
6712
6712
|
/*
|
|
6713
6713
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7084,7 +7084,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
7084
7084
|
return baseAccount;
|
|
7085
7085
|
}
|
|
7086
7086
|
|
|
7087
|
-
/*! @azure/msal-common v15.0
|
|
7087
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
7088
7088
|
/*
|
|
7089
7089
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7090
7090
|
* Licensed under the MIT License.
|
|
@@ -7102,7 +7102,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
7102
7102
|
}
|
|
7103
7103
|
}
|
|
7104
7104
|
|
|
7105
|
-
/*! @azure/msal-common v15.0
|
|
7105
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
7106
7106
|
|
|
7107
7107
|
/*
|
|
7108
7108
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7388,7 +7388,9 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
7388
7388
|
}
|
|
7389
7389
|
if (request.domainHint) {
|
|
7390
7390
|
parameterBuilder.addDomainHint(request.domainHint);
|
|
7391
|
+
this.performanceClient?.addFields({ domainHintFromRequest: true }, correlationId);
|
|
7391
7392
|
}
|
|
7393
|
+
this.performanceClient?.addFields({ prompt: request.prompt }, correlationId);
|
|
7392
7394
|
// Add sid or loginHint with preference for login_hint claim (in request) -> sid -> loginHint (upn/email) -> username of AccountInfo object
|
|
7393
7395
|
if (request.prompt !== PromptValue.SELECT_ACCOUNT) {
|
|
7394
7396
|
// AAD will throw if prompt=select_account is passed with an account hint
|
|
@@ -7396,6 +7398,7 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
7396
7398
|
// SessionID is only used in silent calls
|
|
7397
7399
|
this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from request");
|
|
7398
7400
|
parameterBuilder.addSid(request.sid);
|
|
7401
|
+
this.performanceClient?.addFields({ sidFromRequest: true }, correlationId);
|
|
7399
7402
|
}
|
|
7400
7403
|
else if (request.account) {
|
|
7401
7404
|
const accountSid = this.extractAccountSid(request.account);
|
|
@@ -7408,6 +7411,7 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
7408
7411
|
if (accountLoginHintClaim) {
|
|
7409
7412
|
this.logger.verbose("createAuthCodeUrlQueryString: login_hint claim present on account");
|
|
7410
7413
|
parameterBuilder.addLoginHint(accountLoginHintClaim);
|
|
7414
|
+
this.performanceClient?.addFields({ loginHintFromClaim: true }, correlationId);
|
|
7411
7415
|
try {
|
|
7412
7416
|
const clientInfo = buildClientInfoFromHomeAccountId(request.account.homeAccountId);
|
|
7413
7417
|
parameterBuilder.addCcsOid(clientInfo);
|
|
@@ -7423,6 +7427,7 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
7423
7427
|
*/
|
|
7424
7428
|
this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from account");
|
|
7425
7429
|
parameterBuilder.addSid(accountSid);
|
|
7430
|
+
this.performanceClient?.addFields({ sidFromClaim: true }, correlationId);
|
|
7426
7431
|
try {
|
|
7427
7432
|
const clientInfo = buildClientInfoFromHomeAccountId(request.account.homeAccountId);
|
|
7428
7433
|
parameterBuilder.addCcsOid(clientInfo);
|
|
@@ -7435,11 +7440,13 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
7435
7440
|
this.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from request");
|
|
7436
7441
|
parameterBuilder.addLoginHint(request.loginHint);
|
|
7437
7442
|
parameterBuilder.addCcsUpn(request.loginHint);
|
|
7443
|
+
this.performanceClient?.addFields({ loginHintFromRequest: true }, correlationId);
|
|
7438
7444
|
}
|
|
7439
7445
|
else if (request.account.username) {
|
|
7440
7446
|
// Fallback to account username if provided
|
|
7441
7447
|
this.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from account");
|
|
7442
7448
|
parameterBuilder.addLoginHint(request.account.username);
|
|
7449
|
+
this.performanceClient?.addFields({ loginHintFromUpn: true }, correlationId);
|
|
7443
7450
|
try {
|
|
7444
7451
|
const clientInfo = buildClientInfoFromHomeAccountId(request.account.homeAccountId);
|
|
7445
7452
|
parameterBuilder.addCcsOid(clientInfo);
|
|
@@ -7453,6 +7460,7 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
7453
7460
|
this.logger.verbose("createAuthCodeUrlQueryString: No account, adding login_hint from request");
|
|
7454
7461
|
parameterBuilder.addLoginHint(request.loginHint);
|
|
7455
7462
|
parameterBuilder.addCcsUpn(request.loginHint);
|
|
7463
|
+
this.performanceClient?.addFields({ loginHintFromRequest: true }, correlationId);
|
|
7456
7464
|
}
|
|
7457
7465
|
}
|
|
7458
7466
|
else {
|
|
@@ -7544,7 +7552,7 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
7544
7552
|
}
|
|
7545
7553
|
}
|
|
7546
7554
|
|
|
7547
|
-
/*! @azure/msal-common v15.0
|
|
7555
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
7548
7556
|
|
|
7549
7557
|
/*
|
|
7550
7558
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7624,6 +7632,7 @@ class RefreshTokenClient extends BaseClient {
|
|
|
7624
7632
|
if (refreshToken.expiresOn &&
|
|
7625
7633
|
isTokenExpired(refreshToken.expiresOn, request.refreshTokenExpirationOffsetSeconds ||
|
|
7626
7634
|
DEFAULT_REFRESH_TOKEN_EXPIRATION_OFFSET_SECONDS)) {
|
|
7635
|
+
this.performanceClient?.addFields({ rtExpiresOnMs: Number(refreshToken.expiresOn) }, request.correlationId);
|
|
7627
7636
|
throw createInteractionRequiredAuthError(refreshTokenExpired);
|
|
7628
7637
|
}
|
|
7629
7638
|
// attach cached RT size to the current measurement
|
|
@@ -7640,12 +7649,14 @@ class RefreshTokenClient extends BaseClient {
|
|
|
7640
7649
|
return await invokeAsync(this.acquireToken.bind(this), PerformanceEvents.RefreshTokenClientAcquireToken, this.logger, this.performanceClient, request.correlationId)(refreshTokenRequest);
|
|
7641
7650
|
}
|
|
7642
7651
|
catch (e) {
|
|
7643
|
-
if (e instanceof InteractionRequiredAuthError
|
|
7644
|
-
|
|
7645
|
-
|
|
7646
|
-
|
|
7647
|
-
|
|
7648
|
-
|
|
7652
|
+
if (e instanceof InteractionRequiredAuthError) {
|
|
7653
|
+
this.performanceClient?.addFields({ rtExpiresOnMs: Number(refreshToken.expiresOn) }, request.correlationId);
|
|
7654
|
+
if (e.subError === badToken) {
|
|
7655
|
+
// Remove bad refresh token from cache
|
|
7656
|
+
this.logger.verbose("acquireTokenWithRefreshToken: bad refresh token, removing from cache");
|
|
7657
|
+
const badRefreshTokenKey = generateCredentialKey(refreshToken);
|
|
7658
|
+
this.cacheManager.removeRefreshToken(badRefreshTokenKey);
|
|
7659
|
+
}
|
|
7649
7660
|
}
|
|
7650
7661
|
throw e;
|
|
7651
7662
|
}
|
|
@@ -7764,7 +7775,7 @@ class RefreshTokenClient extends BaseClient {
|
|
|
7764
7775
|
}
|
|
7765
7776
|
}
|
|
7766
7777
|
|
|
7767
|
-
/*! @azure/msal-common v15.0
|
|
7778
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
7768
7779
|
|
|
7769
7780
|
/*
|
|
7770
7781
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7775,44 +7786,6 @@ class SilentFlowClient extends BaseClient {
|
|
|
7775
7786
|
constructor(configuration, performanceClient) {
|
|
7776
7787
|
super(configuration, performanceClient);
|
|
7777
7788
|
}
|
|
7778
|
-
/**
|
|
7779
|
-
* Retrieves a token from cache if it is still valid, or uses the cached refresh token to renew
|
|
7780
|
-
* the given token and returns the renewed token
|
|
7781
|
-
* @param request
|
|
7782
|
-
*/
|
|
7783
|
-
async acquireToken(request) {
|
|
7784
|
-
try {
|
|
7785
|
-
const [authResponse, cacheOutcome] = await this.acquireCachedToken({
|
|
7786
|
-
...request,
|
|
7787
|
-
scopes: request.scopes?.length
|
|
7788
|
-
? request.scopes
|
|
7789
|
-
: [...OIDC_DEFAULT_SCOPES],
|
|
7790
|
-
});
|
|
7791
|
-
// if the token is not expired but must be refreshed; get a new one in the background
|
|
7792
|
-
if (cacheOutcome === CacheOutcome.PROACTIVELY_REFRESHED) {
|
|
7793
|
-
this.logger.info("SilentFlowClient:acquireCachedToken - Cached access token's refreshOn property has been exceeded'. It's not expired, but must be refreshed.");
|
|
7794
|
-
// refresh the access token in the background
|
|
7795
|
-
const refreshTokenClient = new RefreshTokenClient(this.config, this.performanceClient);
|
|
7796
|
-
refreshTokenClient
|
|
7797
|
-
.acquireTokenByRefreshToken(request)
|
|
7798
|
-
.catch(() => {
|
|
7799
|
-
// do nothing, this is running in the background and no action is to be taken upon success or failure
|
|
7800
|
-
});
|
|
7801
|
-
}
|
|
7802
|
-
// return the cached token
|
|
7803
|
-
return authResponse;
|
|
7804
|
-
}
|
|
7805
|
-
catch (e) {
|
|
7806
|
-
if (e instanceof ClientAuthError &&
|
|
7807
|
-
e.errorCode === tokenRefreshRequired) {
|
|
7808
|
-
const refreshTokenClient = new RefreshTokenClient(this.config, this.performanceClient);
|
|
7809
|
-
return refreshTokenClient.acquireTokenByRefreshToken(request);
|
|
7810
|
-
}
|
|
7811
|
-
else {
|
|
7812
|
-
throw e;
|
|
7813
|
-
}
|
|
7814
|
-
}
|
|
7815
|
-
}
|
|
7816
7789
|
/**
|
|
7817
7790
|
* Retrieves token from cache or throws an error if it must be refreshed.
|
|
7818
7791
|
* @param request
|
|
@@ -7900,7 +7873,7 @@ class SilentFlowClient extends BaseClient {
|
|
|
7900
7873
|
}
|
|
7901
7874
|
}
|
|
7902
7875
|
|
|
7903
|
-
/*! @azure/msal-common v15.0
|
|
7876
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
7904
7877
|
|
|
7905
7878
|
/*
|
|
7906
7879
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7915,7 +7888,7 @@ const StubbedNetworkModule = {
|
|
|
7915
7888
|
},
|
|
7916
7889
|
};
|
|
7917
7890
|
|
|
7918
|
-
/*! @azure/msal-common v15.0
|
|
7891
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
7919
7892
|
|
|
7920
7893
|
/*
|
|
7921
7894
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7973,7 +7946,7 @@ class AuthenticationHeaderParser {
|
|
|
7973
7946
|
}
|
|
7974
7947
|
}
|
|
7975
7948
|
|
|
7976
|
-
/*! @azure/msal-common v15.0
|
|
7949
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
7977
7950
|
|
|
7978
7951
|
/*
|
|
7979
7952
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8236,7 +8209,7 @@ class ServerTelemetryManager {
|
|
|
8236
8209
|
}
|
|
8237
8210
|
}
|
|
8238
8211
|
|
|
8239
|
-
/*! @azure/msal-common v15.0
|
|
8212
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
8240
8213
|
/*
|
|
8241
8214
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8242
8215
|
* Licensed under the MIT License.
|
|
@@ -8244,7 +8217,7 @@ class ServerTelemetryManager {
|
|
|
8244
8217
|
const missingKidError = "missing_kid_error";
|
|
8245
8218
|
const missingAlgError = "missing_alg_error";
|
|
8246
8219
|
|
|
8247
|
-
/*! @azure/msal-common v15.0
|
|
8220
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
8248
8221
|
|
|
8249
8222
|
/*
|
|
8250
8223
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8269,7 +8242,7 @@ function createJoseHeaderError(code) {
|
|
|
8269
8242
|
return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
|
|
8270
8243
|
}
|
|
8271
8244
|
|
|
8272
|
-
/*! @azure/msal-common v15.0
|
|
8245
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
8273
8246
|
|
|
8274
8247
|
/*
|
|
8275
8248
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8309,7 +8282,7 @@ class JoseHeader {
|
|
|
8309
8282
|
}
|
|
8310
8283
|
}
|
|
8311
8284
|
|
|
8312
|
-
/*! @azure/msal-common v15.0
|
|
8285
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
8313
8286
|
|
|
8314
8287
|
/*
|
|
8315
8288
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8388,7 +8361,7 @@ class StubPerformanceClient {
|
|
|
8388
8361
|
}
|
|
8389
8362
|
}
|
|
8390
8363
|
|
|
8391
|
-
/*! @azure/msal-common v15.0
|
|
8364
|
+
/*! @azure/msal-common v15.1.0 2025-02-03 */
|
|
8392
8365
|
|
|
8393
8366
|
/*
|
|
8394
8367
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -10425,7 +10398,7 @@ function buildConfiguration({ auth: userInputAuth, cache: userInputCache, system
|
|
|
10425
10398
|
|
|
10426
10399
|
/* eslint-disable header/header */
|
|
10427
10400
|
const name = "@azure/msal-browser";
|
|
10428
|
-
const version = "4.0
|
|
10401
|
+
const version = "4.1.0";
|
|
10429
10402
|
|
|
10430
10403
|
/*
|
|
10431
10404
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -14501,6 +14474,7 @@ class PopupClient extends StandardInteractionClient {
|
|
|
14501
14474
|
popupWindowAttributes: request.popupWindowAttributes || {},
|
|
14502
14475
|
popupWindowParent: request.popupWindowParent ?? window,
|
|
14503
14476
|
};
|
|
14477
|
+
this.performanceClient.addFields({ isAsyncPopup: this.config.system.asyncPopups }, this.correlationId);
|
|
14504
14478
|
// asyncPopups flag is true. Acquires token without first opening popup. Popup will be opened later asynchronously.
|
|
14505
14479
|
if (this.config.system.asyncPopups) {
|
|
14506
14480
|
this.logger.verbose("asyncPopups set to true, acquiring token");
|