@azure/msal-browser 4.9.0 → 4.9.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/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 +2 -2
- 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.d.ts.map +1 -1
- package/dist/config/Configuration.mjs +3 -12
- package/dist/config/Configuration.mjs.map +1 -1
- package/dist/controllers/ControllerFactory.mjs +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +1 -1
- package/dist/controllers/StandardController.mjs +2 -2
- 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 +2 -2
- package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs +2 -2
- 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.mjs +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/SilentHandler.mjs +3 -3
- 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 +2 -2
- 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/protocol/Authorize.mjs +1 -1
- 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 -5
- package/dist/utils/BrowserConstants.mjs.map +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/utils/BrowserUtils.mjs +1 -1
- package/lib/msal-browser.cjs +72 -120
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +72 -120
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +64 -64
- package/lib/types/config/Configuration.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/package.json +1 -1
- package/src/config/Configuration.ts +0 -12
- package/src/packageMetadata.ts +1 -1
package/lib/msal-browser.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.9.
|
|
1
|
+
/*! @azure/msal-browser v4.9.1 2025-03-26 */
|
|
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 v15.4.0 2025-03-
|
|
9
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
10
10
|
/*
|
|
11
11
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
12
12
|
* Licensed under the MIT License.
|
|
@@ -66,25 +66,10 @@
|
|
|
66
66
|
INVALID_INSTANCE: "invalid_instance",
|
|
67
67
|
};
|
|
68
68
|
const HttpStatus = {
|
|
69
|
-
SUCCESS: 200,
|
|
70
|
-
SUCCESS_RANGE_START: 200,
|
|
71
|
-
SUCCESS_RANGE_END: 299,
|
|
72
|
-
REDIRECT: 302,
|
|
73
|
-
CLIENT_ERROR: 400,
|
|
74
69
|
CLIENT_ERROR_RANGE_START: 400,
|
|
75
|
-
BAD_REQUEST: 400,
|
|
76
|
-
UNAUTHORIZED: 401,
|
|
77
|
-
NOT_FOUND: 404,
|
|
78
|
-
REQUEST_TIMEOUT: 408,
|
|
79
|
-
TOO_MANY_REQUESTS: 429,
|
|
80
70
|
CLIENT_ERROR_RANGE_END: 499,
|
|
81
|
-
SERVER_ERROR: 500,
|
|
82
71
|
SERVER_ERROR_RANGE_START: 500,
|
|
83
|
-
|
|
84
|
-
GATEWAY_TIMEOUT: 504,
|
|
85
|
-
SERVER_ERROR_RANGE_END: 599,
|
|
86
|
-
MULTI_SIDED_ERROR: 600,
|
|
87
|
-
};
|
|
72
|
+
SERVER_ERROR_RANGE_END: 599};
|
|
88
73
|
const OIDC_DEFAULT_SCOPES = [
|
|
89
74
|
Constants.OPENID_SCOPE,
|
|
90
75
|
Constants.PROFILE_SCOPE,
|
|
@@ -150,7 +135,6 @@
|
|
|
150
135
|
*/
|
|
151
136
|
const OAuthResponseType = {
|
|
152
137
|
CODE: "code",
|
|
153
|
-
IDTOKEN_TOKEN: "id_token token",
|
|
154
138
|
IDTOKEN_TOKEN_REFRESHTOKEN: "id_token token refresh_token",
|
|
155
139
|
};
|
|
156
140
|
/**
|
|
@@ -165,29 +149,19 @@
|
|
|
165
149
|
* allowed values for response_mode
|
|
166
150
|
*/
|
|
167
151
|
const ResponseMode = {
|
|
168
|
-
QUERY: "query"
|
|
169
|
-
FRAGMENT: "fragment",
|
|
170
|
-
FORM_POST: "form_post",
|
|
171
|
-
};
|
|
152
|
+
QUERY: "query"};
|
|
172
153
|
/**
|
|
173
154
|
* allowed grant_type
|
|
174
155
|
*/
|
|
175
156
|
const GrantType = {
|
|
176
|
-
IMPLICIT_GRANT: "implicit",
|
|
177
157
|
AUTHORIZATION_CODE_GRANT: "authorization_code",
|
|
178
|
-
|
|
179
|
-
RESOURCE_OWNER_PASSWORD_GRANT: "password",
|
|
180
|
-
REFRESH_TOKEN_GRANT: "refresh_token",
|
|
181
|
-
DEVICE_CODE_GRANT: "device_code",
|
|
182
|
-
JWT_BEARER: "urn:ietf:params:oauth:grant-type:jwt-bearer",
|
|
183
|
-
};
|
|
158
|
+
REFRESH_TOKEN_GRANT: "refresh_token"};
|
|
184
159
|
/**
|
|
185
160
|
* Account types in Cache
|
|
186
161
|
*/
|
|
187
162
|
const CacheAccountType = {
|
|
188
163
|
MSSTS_ACCOUNT_TYPE: "MSSTS",
|
|
189
164
|
ADFS_ACCOUNT_TYPE: "ADFS",
|
|
190
|
-
MSAV1_ACCOUNT_TYPE: "MSA",
|
|
191
165
|
GENERIC_ACCOUNT_TYPE: "Generic", // NTLM, Kerberos, FBA, Basic etc
|
|
192
166
|
};
|
|
193
167
|
/**
|
|
@@ -224,7 +198,6 @@
|
|
|
224
198
|
};
|
|
225
199
|
const SERVER_TELEM_CONSTANTS = {
|
|
226
200
|
SCHEMA_VERSION: 5,
|
|
227
|
-
MAX_CUR_HEADER_BYTES: 80,
|
|
228
201
|
MAX_LAST_HEADER_BYTES: 330,
|
|
229
202
|
MAX_CACHED_ERRORS: 50,
|
|
230
203
|
CACHE_KEY: "server-telemetry",
|
|
@@ -279,9 +252,7 @@
|
|
|
279
252
|
* Region Discovery Outcomes
|
|
280
253
|
*/
|
|
281
254
|
const RegionDiscoveryOutcomes = {
|
|
282
|
-
CONFIGURED_MATCHES_DETECTED: "1",
|
|
283
255
|
CONFIGURED_NO_AUTO_DETECTION: "2",
|
|
284
|
-
CONFIGURED_NOT_DETECTED: "3",
|
|
285
256
|
AUTO_DETECTION_REQUESTED_SUCCESSFUL: "4",
|
|
286
257
|
AUTO_DETECTION_REQUESTED_FAILED: "5",
|
|
287
258
|
};
|
|
@@ -308,7 +279,7 @@
|
|
|
308
279
|
// Token renewal offset default in seconds
|
|
309
280
|
const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
310
281
|
|
|
311
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
282
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
312
283
|
/*
|
|
313
284
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
314
285
|
* Licensed under the MIT License.
|
|
@@ -325,7 +296,7 @@
|
|
|
325
296
|
unexpectedError: unexpectedError
|
|
326
297
|
});
|
|
327
298
|
|
|
328
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
299
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
329
300
|
|
|
330
301
|
/*
|
|
331
302
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -374,7 +345,7 @@
|
|
|
374
345
|
: AuthErrorMessages[code]);
|
|
375
346
|
}
|
|
376
347
|
|
|
377
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
348
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
378
349
|
/*
|
|
379
350
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
380
351
|
* Licensed under the MIT License.
|
|
@@ -472,7 +443,7 @@
|
|
|
472
443
|
userTimeoutReached: userTimeoutReached
|
|
473
444
|
});
|
|
474
445
|
|
|
475
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
446
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
476
447
|
|
|
477
448
|
/*
|
|
478
449
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -724,7 +695,7 @@
|
|
|
724
695
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
725
696
|
}
|
|
726
697
|
|
|
727
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
698
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
728
699
|
|
|
729
700
|
/*
|
|
730
701
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -763,7 +734,7 @@
|
|
|
763
734
|
},
|
|
764
735
|
};
|
|
765
736
|
|
|
766
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
737
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
767
738
|
|
|
768
739
|
/*
|
|
769
740
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -954,12 +925,12 @@
|
|
|
954
925
|
}
|
|
955
926
|
}
|
|
956
927
|
|
|
957
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
928
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
958
929
|
/* eslint-disable header/header */
|
|
959
930
|
const name$1 = "@azure/msal-common";
|
|
960
931
|
const version$1 = "15.4.0";
|
|
961
932
|
|
|
962
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
933
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
963
934
|
/*
|
|
964
935
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
965
936
|
* Licensed under the MIT License.
|
|
@@ -979,7 +950,7 @@
|
|
|
979
950
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
980
951
|
};
|
|
981
952
|
|
|
982
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
953
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
983
954
|
|
|
984
955
|
/*
|
|
985
956
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1040,7 +1011,7 @@
|
|
|
1040
1011
|
}
|
|
1041
1012
|
}
|
|
1042
1013
|
|
|
1043
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
1014
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
1044
1015
|
/*
|
|
1045
1016
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1046
1017
|
* Licensed under the MIT License.
|
|
@@ -1095,7 +1066,7 @@
|
|
|
1095
1066
|
return cachedAtSec > nowSeconds();
|
|
1096
1067
|
}
|
|
1097
1068
|
|
|
1098
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
1069
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
1099
1070
|
|
|
1100
1071
|
/*
|
|
1101
1072
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1422,7 +1393,7 @@
|
|
|
1422
1393
|
return metadata.expiresAt <= nowSeconds();
|
|
1423
1394
|
}
|
|
1424
1395
|
|
|
1425
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
1396
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
1426
1397
|
/*
|
|
1427
1398
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1428
1399
|
* Licensed under the MIT License.
|
|
@@ -1476,7 +1447,7 @@
|
|
|
1476
1447
|
urlParseError: urlParseError
|
|
1477
1448
|
});
|
|
1478
1449
|
|
|
1479
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
1450
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
1480
1451
|
|
|
1481
1452
|
/*
|
|
1482
1453
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1614,7 +1585,7 @@
|
|
|
1614
1585
|
return new ClientConfigurationError(errorCode);
|
|
1615
1586
|
}
|
|
1616
1587
|
|
|
1617
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
1588
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
1618
1589
|
/*
|
|
1619
1590
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1620
1591
|
* Licensed under the MIT License.
|
|
@@ -1711,7 +1682,7 @@
|
|
|
1711
1682
|
}
|
|
1712
1683
|
}
|
|
1713
1684
|
|
|
1714
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
1685
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
1715
1686
|
|
|
1716
1687
|
/*
|
|
1717
1688
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1902,7 +1873,7 @@
|
|
|
1902
1873
|
}
|
|
1903
1874
|
}
|
|
1904
1875
|
|
|
1905
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
1876
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
1906
1877
|
|
|
1907
1878
|
/*
|
|
1908
1879
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1942,7 +1913,7 @@
|
|
|
1942
1913
|
};
|
|
1943
1914
|
}
|
|
1944
1915
|
|
|
1945
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
1916
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
1946
1917
|
/*
|
|
1947
1918
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1948
1919
|
* Licensed under the MIT License.
|
|
@@ -2021,7 +1992,7 @@
|
|
|
2021
1992
|
return updatedAccountInfo;
|
|
2022
1993
|
}
|
|
2023
1994
|
|
|
2024
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
1995
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
2025
1996
|
/*
|
|
2026
1997
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2027
1998
|
* Licensed under the MIT License.
|
|
@@ -2036,7 +2007,7 @@
|
|
|
2036
2007
|
Ciam: 3,
|
|
2037
2008
|
};
|
|
2038
2009
|
|
|
2039
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
2010
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
2040
2011
|
/*
|
|
2041
2012
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2042
2013
|
* Licensed under the MIT License.
|
|
@@ -2058,7 +2029,7 @@
|
|
|
2058
2029
|
return null;
|
|
2059
2030
|
}
|
|
2060
2031
|
|
|
2061
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
2032
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
2062
2033
|
/*
|
|
2063
2034
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2064
2035
|
* Licensed under the MIT License.
|
|
@@ -2082,7 +2053,7 @@
|
|
|
2082
2053
|
EAR: "EAR",
|
|
2083
2054
|
};
|
|
2084
2055
|
|
|
2085
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
2056
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
2086
2057
|
|
|
2087
2058
|
/*
|
|
2088
2059
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2325,7 +2296,7 @@
|
|
|
2325
2296
|
}
|
|
2326
2297
|
}
|
|
2327
2298
|
|
|
2328
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
2299
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
2329
2300
|
|
|
2330
2301
|
/*
|
|
2331
2302
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2383,7 +2354,7 @@
|
|
|
2383
2354
|
return queryParameterArray.join("&");
|
|
2384
2355
|
}
|
|
2385
2356
|
|
|
2386
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
2357
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
2387
2358
|
|
|
2388
2359
|
/*
|
|
2389
2360
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2547,7 +2518,7 @@
|
|
|
2547
2518
|
}
|
|
2548
2519
|
}
|
|
2549
2520
|
|
|
2550
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
2521
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
2551
2522
|
|
|
2552
2523
|
/*
|
|
2553
2524
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2578,7 +2549,6 @@
|
|
|
2578
2549
|
},
|
|
2579
2550
|
},
|
|
2580
2551
|
instanceDiscoveryMetadata: {
|
|
2581
|
-
tenant_discovery_endpoint: "https://{canonicalAuthority}/v2.0/.well-known/openid-configuration",
|
|
2582
2552
|
metadata: [
|
|
2583
2553
|
{
|
|
2584
2554
|
preferred_network: "login.microsoftonline.com",
|
|
@@ -2687,7 +2657,7 @@
|
|
|
2687
2657
|
return null;
|
|
2688
2658
|
}
|
|
2689
2659
|
|
|
2690
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
2660
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
2691
2661
|
/*
|
|
2692
2662
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2693
2663
|
* Licensed under the MIT License.
|
|
@@ -2695,7 +2665,7 @@
|
|
|
2695
2665
|
const cacheQuotaExceededErrorCode = "cache_quota_exceeded";
|
|
2696
2666
|
const cacheUnknownErrorCode = "cache_error_unknown";
|
|
2697
2667
|
|
|
2698
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
2668
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
2699
2669
|
|
|
2700
2670
|
/*
|
|
2701
2671
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2722,7 +2692,7 @@
|
|
|
2722
2692
|
}
|
|
2723
2693
|
}
|
|
2724
2694
|
|
|
2725
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
2695
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
2726
2696
|
|
|
2727
2697
|
/*
|
|
2728
2698
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3907,7 +3877,7 @@
|
|
|
3907
3877
|
}
|
|
3908
3878
|
}
|
|
3909
3879
|
|
|
3910
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
3880
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
3911
3881
|
|
|
3912
3882
|
/*
|
|
3913
3883
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4006,7 +3976,7 @@
|
|
|
4006
3976
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
4007
3977
|
}
|
|
4008
3978
|
|
|
4009
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
3979
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
4010
3980
|
/*
|
|
4011
3981
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4012
3982
|
* Licensed under the MIT License.
|
|
@@ -4016,7 +3986,7 @@
|
|
|
4016
3986
|
UPN: "UPN",
|
|
4017
3987
|
};
|
|
4018
3988
|
|
|
4019
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
3989
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
4020
3990
|
/*
|
|
4021
3991
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4022
3992
|
* Licensed under the MIT License.
|
|
@@ -4066,7 +4036,7 @@
|
|
|
4066
4036
|
const EAR_JWK = "ear_jwk";
|
|
4067
4037
|
const EAR_JWE_CRYPTO = "ear_jwe_crypto";
|
|
4068
4038
|
|
|
4069
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
4039
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
4070
4040
|
|
|
4071
4041
|
/*
|
|
4072
4042
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4434,7 +4404,7 @@
|
|
|
4434
4404
|
parameters.set(EAR_JWE_CRYPTO, jweCryptoB64Encoded);
|
|
4435
4405
|
}
|
|
4436
4406
|
|
|
4437
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
4407
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
4438
4408
|
/*
|
|
4439
4409
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4440
4410
|
* Licensed under the MIT License.
|
|
@@ -4446,7 +4416,7 @@
|
|
|
4446
4416
|
response.hasOwnProperty("jwks_uri"));
|
|
4447
4417
|
}
|
|
4448
4418
|
|
|
4449
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
4419
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
4450
4420
|
/*
|
|
4451
4421
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4452
4422
|
* Licensed under the MIT License.
|
|
@@ -4456,7 +4426,7 @@
|
|
|
4456
4426
|
response.hasOwnProperty("metadata"));
|
|
4457
4427
|
}
|
|
4458
4428
|
|
|
4459
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
4429
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
4460
4430
|
/*
|
|
4461
4431
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4462
4432
|
* Licensed under the MIT License.
|
|
@@ -4466,7 +4436,7 @@
|
|
|
4466
4436
|
response.hasOwnProperty("error_description"));
|
|
4467
4437
|
}
|
|
4468
4438
|
|
|
4469
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
4439
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
4470
4440
|
/*
|
|
4471
4441
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4472
4442
|
* Licensed under the MIT License.
|
|
@@ -4958,7 +4928,6 @@
|
|
|
4958
4928
|
* @enum {number}
|
|
4959
4929
|
*/
|
|
4960
4930
|
const PerformanceEventStatus = {
|
|
4961
|
-
NotStarted: 0,
|
|
4962
4931
|
InProgress: 1,
|
|
4963
4932
|
Completed: 2,
|
|
4964
4933
|
};
|
|
@@ -4979,7 +4948,7 @@
|
|
|
4979
4948
|
"encryptedCacheExpiredCount",
|
|
4980
4949
|
]);
|
|
4981
4950
|
|
|
4982
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
4951
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
4983
4952
|
/*
|
|
4984
4953
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4985
4954
|
* Licensed under the MIT License.
|
|
@@ -5075,7 +5044,7 @@
|
|
|
5075
5044
|
};
|
|
5076
5045
|
};
|
|
5077
5046
|
|
|
5078
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
5047
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
5079
5048
|
|
|
5080
5049
|
/*
|
|
5081
5050
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5184,7 +5153,7 @@
|
|
|
5184
5153
|
},
|
|
5185
5154
|
};
|
|
5186
5155
|
|
|
5187
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
5156
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
5188
5157
|
|
|
5189
5158
|
/*
|
|
5190
5159
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6023,7 +5992,7 @@
|
|
|
6023
5992
|
};
|
|
6024
5993
|
}
|
|
6025
5994
|
|
|
6026
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
5995
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6027
5996
|
|
|
6028
5997
|
/*
|
|
6029
5998
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6054,7 +6023,7 @@
|
|
|
6054
6023
|
}
|
|
6055
6024
|
}
|
|
6056
6025
|
|
|
6057
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
6026
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6058
6027
|
|
|
6059
6028
|
/*
|
|
6060
6029
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6073,7 +6042,7 @@
|
|
|
6073
6042
|
}
|
|
6074
6043
|
}
|
|
6075
6044
|
|
|
6076
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
6045
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6077
6046
|
/*
|
|
6078
6047
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6079
6048
|
* Licensed under the MIT License.
|
|
@@ -6094,7 +6063,7 @@
|
|
|
6094
6063
|
};
|
|
6095
6064
|
}
|
|
6096
6065
|
|
|
6097
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
6066
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6098
6067
|
|
|
6099
6068
|
/*
|
|
6100
6069
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6181,7 +6150,7 @@
|
|
|
6181
6150
|
}
|
|
6182
6151
|
}
|
|
6183
6152
|
|
|
6184
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
6153
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6185
6154
|
|
|
6186
6155
|
/*
|
|
6187
6156
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6211,7 +6180,7 @@
|
|
|
6211
6180
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
6212
6181
|
}
|
|
6213
6182
|
|
|
6214
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
6183
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6215
6184
|
|
|
6216
6185
|
/*
|
|
6217
6186
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6359,7 +6328,7 @@
|
|
|
6359
6328
|
}
|
|
6360
6329
|
}
|
|
6361
6330
|
|
|
6362
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
6331
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6363
6332
|
/*
|
|
6364
6333
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6365
6334
|
* Licensed under the MIT License.
|
|
@@ -6385,7 +6354,7 @@
|
|
|
6385
6354
|
refreshTokenExpired: refreshTokenExpired
|
|
6386
6355
|
});
|
|
6387
6356
|
|
|
6388
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
6357
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6389
6358
|
|
|
6390
6359
|
/*
|
|
6391
6360
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6473,7 +6442,7 @@
|
|
|
6473
6442
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
6474
6443
|
}
|
|
6475
6444
|
|
|
6476
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
6445
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6477
6446
|
|
|
6478
6447
|
/*
|
|
6479
6448
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6545,16 +6514,14 @@
|
|
|
6545
6514
|
}
|
|
6546
6515
|
}
|
|
6547
6516
|
|
|
6548
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
6517
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6549
6518
|
|
|
6550
6519
|
/*
|
|
6551
6520
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6552
6521
|
* Licensed under the MIT License.
|
|
6553
6522
|
*/
|
|
6554
6523
|
const KeyLocation = {
|
|
6555
|
-
SW: "sw"
|
|
6556
|
-
UHW: "uhw",
|
|
6557
|
-
};
|
|
6524
|
+
SW: "sw"};
|
|
6558
6525
|
/** @internal */
|
|
6559
6526
|
class PopTokenGenerator {
|
|
6560
6527
|
constructor(cryptoUtils, performanceClient) {
|
|
@@ -6629,7 +6596,7 @@
|
|
|
6629
6596
|
}
|
|
6630
6597
|
}
|
|
6631
6598
|
|
|
6632
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
6599
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6633
6600
|
/*
|
|
6634
6601
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6635
6602
|
* Licensed under the MIT License.
|
|
@@ -6656,7 +6623,7 @@
|
|
|
6656
6623
|
}
|
|
6657
6624
|
}
|
|
6658
6625
|
|
|
6659
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
6626
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6660
6627
|
|
|
6661
6628
|
/*
|
|
6662
6629
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6987,7 +6954,7 @@
|
|
|
6987
6954
|
return baseAccount;
|
|
6988
6955
|
}
|
|
6989
6956
|
|
|
6990
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
6957
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6991
6958
|
|
|
6992
6959
|
/*
|
|
6993
6960
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7054,7 +7021,7 @@
|
|
|
7054
7021
|
}
|
|
7055
7022
|
}
|
|
7056
7023
|
|
|
7057
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
7024
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
7058
7025
|
/*
|
|
7059
7026
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7060
7027
|
* Licensed under the MIT License.
|
|
@@ -7072,7 +7039,7 @@
|
|
|
7072
7039
|
}
|
|
7073
7040
|
}
|
|
7074
7041
|
|
|
7075
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
7042
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
7076
7043
|
|
|
7077
7044
|
/*
|
|
7078
7045
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7305,7 +7272,7 @@
|
|
|
7305
7272
|
}
|
|
7306
7273
|
}
|
|
7307
7274
|
|
|
7308
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
7275
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
7309
7276
|
|
|
7310
7277
|
/*
|
|
7311
7278
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7514,7 +7481,7 @@
|
|
|
7514
7481
|
}
|
|
7515
7482
|
}
|
|
7516
7483
|
|
|
7517
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
7484
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
7518
7485
|
|
|
7519
7486
|
/*
|
|
7520
7487
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7612,7 +7579,7 @@
|
|
|
7612
7579
|
}
|
|
7613
7580
|
}
|
|
7614
7581
|
|
|
7615
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
7582
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
7616
7583
|
|
|
7617
7584
|
/*
|
|
7618
7585
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7627,7 +7594,7 @@
|
|
|
7627
7594
|
},
|
|
7628
7595
|
};
|
|
7629
7596
|
|
|
7630
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
7597
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
7631
7598
|
|
|
7632
7599
|
/*
|
|
7633
7600
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7851,7 +7818,7 @@
|
|
|
7851
7818
|
return account.idTokenClaims?.login_hint || null;
|
|
7852
7819
|
}
|
|
7853
7820
|
|
|
7854
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
7821
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
7855
7822
|
|
|
7856
7823
|
/*
|
|
7857
7824
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7909,7 +7876,7 @@
|
|
|
7909
7876
|
}
|
|
7910
7877
|
}
|
|
7911
7878
|
|
|
7912
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
7879
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
7913
7880
|
|
|
7914
7881
|
/*
|
|
7915
7882
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8172,7 +8139,7 @@
|
|
|
8172
8139
|
}
|
|
8173
8140
|
}
|
|
8174
8141
|
|
|
8175
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
8142
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
8176
8143
|
/*
|
|
8177
8144
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8178
8145
|
* Licensed under the MIT License.
|
|
@@ -8180,7 +8147,7 @@
|
|
|
8180
8147
|
const missingKidError = "missing_kid_error";
|
|
8181
8148
|
const missingAlgError = "missing_alg_error";
|
|
8182
8149
|
|
|
8183
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
8150
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
8184
8151
|
|
|
8185
8152
|
/*
|
|
8186
8153
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8205,7 +8172,7 @@
|
|
|
8205
8172
|
return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
|
|
8206
8173
|
}
|
|
8207
8174
|
|
|
8208
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
8175
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
8209
8176
|
|
|
8210
8177
|
/*
|
|
8211
8178
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8245,7 +8212,7 @@
|
|
|
8245
8212
|
}
|
|
8246
8213
|
}
|
|
8247
8214
|
|
|
8248
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
8215
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
8249
8216
|
|
|
8250
8217
|
/*
|
|
8251
8218
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8324,7 +8291,7 @@
|
|
|
8324
8291
|
}
|
|
8325
8292
|
}
|
|
8326
8293
|
|
|
8327
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
8294
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
8328
8295
|
|
|
8329
8296
|
/*
|
|
8330
8297
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -9314,10 +9281,6 @@
|
|
|
9314
9281
|
* Constants
|
|
9315
9282
|
*/
|
|
9316
9283
|
const BrowserConstants = {
|
|
9317
|
-
/**
|
|
9318
|
-
* Interaction in progress cache value
|
|
9319
|
-
*/
|
|
9320
|
-
INTERACTION_IN_PROGRESS_VALUE: "interaction_in_progress",
|
|
9321
9284
|
/**
|
|
9322
9285
|
* Invalid grant error code
|
|
9323
9286
|
*/
|
|
@@ -10412,21 +10375,12 @@
|
|
|
10412
10375
|
system: providedSystemOptions,
|
|
10413
10376
|
telemetry: { ...DEFAULT_TELEMETRY_OPTIONS, ...userInputTelemetry },
|
|
10414
10377
|
};
|
|
10415
|
-
/**
|
|
10416
|
-
* Temporarily disable EAR until implementation is complete
|
|
10417
|
-
* TODO: Remove this
|
|
10418
|
-
*/
|
|
10419
|
-
if (overlayedConfig.auth.protocolMode === ProtocolMode.EAR) {
|
|
10420
|
-
const logger = new Logger(providedSystemOptions.loggerOptions);
|
|
10421
|
-
logger.warning("EAR Protocol Mode is not yet supported. Overriding to use PKCE auth");
|
|
10422
|
-
overlayedConfig.auth.protocolMode = ProtocolMode.AAD;
|
|
10423
|
-
}
|
|
10424
10378
|
return overlayedConfig;
|
|
10425
10379
|
}
|
|
10426
10380
|
|
|
10427
10381
|
/* eslint-disable header/header */
|
|
10428
10382
|
const name = "@azure/msal-browser";
|
|
10429
|
-
const version = "4.9.
|
|
10383
|
+
const version = "4.9.1";
|
|
10430
10384
|
|
|
10431
10385
|
/*
|
|
10432
10386
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -17345,9 +17299,7 @@
|
|
|
17345
17299
|
async acquireTokenSilentDeduped(request, account, correlationId) {
|
|
17346
17300
|
const thumbprint = getRequestThumbprint(this.config.auth.clientId, {
|
|
17347
17301
|
...request,
|
|
17348
|
-
authority: request.authority || this.config.auth.authority,
|
|
17349
|
-
correlationId: correlationId,
|
|
17350
|
-
}, account.homeAccountId);
|
|
17302
|
+
authority: request.authority || this.config.auth.authority}, account.homeAccountId);
|
|
17351
17303
|
const silentRequestKey = JSON.stringify(thumbprint);
|
|
17352
17304
|
const inProgressRequest = this.activeSilentTokenRequests.get(silentRequestKey);
|
|
17353
17305
|
if (typeof inProgressRequest === "undefined") {
|