@azure/msal-node 5.2.3 → 5.2.4
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/cache/CacheHelpers.mjs +1 -1
- package/dist/cache/NodeStorage.mjs +1 -1
- package/dist/cache/TokenCache.mjs +1 -1
- package/dist/cache/distributed/DistributedCachePlugin.mjs +1 -1
- package/dist/cache/serializer/Deserializer.mjs +1 -1
- package/dist/cache/serializer/Serializer.mjs +1 -1
- package/dist/client/BaseClient.mjs +1 -1
- package/dist/client/ClientApplication.mjs +1 -1
- package/dist/client/ClientAssertion.mjs +1 -1
- package/dist/client/ClientCredentialClient.mjs +1 -1
- package/dist/client/ConfidentialClientApplication.mjs +1 -1
- package/dist/client/DeviceCodeClient.mjs +1 -1
- package/dist/client/ManagedIdentityApplication.mjs +1 -1
- package/dist/client/ManagedIdentityClient.mjs +1 -1
- package/dist/client/ManagedIdentitySources/AppService.mjs +1 -1
- package/dist/client/ManagedIdentitySources/AzureArc.mjs +1 -1
- package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.mjs +1 -1
- package/dist/client/ManagedIdentitySources/CloudShell.mjs +1 -1
- package/dist/client/ManagedIdentitySources/Imds.mjs +1 -1
- package/dist/client/ManagedIdentitySources/MachineLearning.mjs +1 -1
- package/dist/client/ManagedIdentitySources/ServiceFabric.mjs +1 -1
- package/dist/client/OnBehalfOfClient.mjs +1 -1
- package/dist/client/PublicClientApplication.mjs +1 -1
- package/dist/client/UsernamePasswordClient.mjs +1 -1
- package/dist/config/Configuration.mjs +1 -1
- package/dist/config/ManagedIdentityId.mjs +1 -1
- package/dist/config/ManagedIdentityRequestParameters.mjs +1 -1
- package/dist/crypto/CryptoProvider.mjs +1 -1
- package/dist/crypto/GuidGenerator.mjs +1 -1
- package/dist/crypto/HashUtils.mjs +1 -1
- package/dist/crypto/PkceGenerator.mjs +1 -1
- package/dist/error/ClientAuthErrorCodes.mjs +1 -1
- package/dist/error/ManagedIdentityError.mjs +1 -1
- package/dist/error/ManagedIdentityErrorCodes.mjs +1 -1
- package/dist/error/NodeAuthError.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/internals.mjs +1 -1
- package/dist/network/HttpClient.mjs +1 -1
- package/dist/network/HttpClientWithRetries.mjs +1 -1
- package/dist/network/LoopbackClient.mjs +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/retry/DefaultManagedIdentityRetryPolicy.mjs +1 -1
- package/dist/retry/ExponentialRetryStrategy.mjs +1 -1
- package/dist/retry/ImdsRetryPolicy.mjs +1 -1
- package/dist/retry/LinearRetryStrategy.mjs +1 -1
- package/dist/utils/Constants.mjs +1 -1
- package/dist/utils/EncodingUtils.mjs +1 -1
- package/dist/utils/TimeUtils.mjs +1 -1
- package/lib/msal-node.cjs +102 -86
- package/lib/msal-node.cjs.map +1 -1
- package/package.json +2 -2
- package/src/packageMetadata.ts +1 -1
- package/types/packageMetadata.d.ts +1 -1
package/lib/msal-node.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v5.2.
|
|
1
|
+
/*! @azure/msal-node v5.2.4 2026-06-10 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -150,7 +150,7 @@ class Serializer {
|
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
-
/*! @azure/msal-common v16.
|
|
153
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
154
154
|
/*
|
|
155
155
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
156
156
|
* Licensed under the MIT License.
|
|
@@ -398,7 +398,7 @@ const EncodingTypes = {
|
|
|
398
398
|
UTF8: "utf-8",
|
|
399
399
|
};
|
|
400
400
|
|
|
401
|
-
/*! @azure/msal-common v16.
|
|
401
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
402
402
|
/*
|
|
403
403
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
404
404
|
* Licensed under the MIT License.
|
|
@@ -451,7 +451,7 @@ const INSTANCE_AWARE = "instance_aware";
|
|
|
451
451
|
const RESOURCE = "resource";
|
|
452
452
|
const CLI_DATA = "clidata";
|
|
453
453
|
|
|
454
|
-
/*! @azure/msal-common v16.
|
|
454
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
455
455
|
/*
|
|
456
456
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
457
457
|
* Licensed under the MIT License.
|
|
@@ -482,7 +482,7 @@ function createAuthError(code, additionalMessage) {
|
|
|
482
482
|
return new AuthError(code, additionalMessage || getDefaultErrorMessage(code));
|
|
483
483
|
}
|
|
484
484
|
|
|
485
|
-
/*! @azure/msal-common v16.
|
|
485
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
486
486
|
|
|
487
487
|
/*
|
|
488
488
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -502,7 +502,7 @@ function createClientConfigurationError(errorCode) {
|
|
|
502
502
|
return new ClientConfigurationError(errorCode);
|
|
503
503
|
}
|
|
504
504
|
|
|
505
|
-
/*! @azure/msal-common v16.
|
|
505
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
506
506
|
/*
|
|
507
507
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
508
508
|
* Licensed under the MIT License.
|
|
@@ -582,7 +582,7 @@ class StringUtils {
|
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
584
|
|
|
585
|
-
/*! @azure/msal-common v16.
|
|
585
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
586
586
|
|
|
587
587
|
/*
|
|
588
588
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -605,7 +605,7 @@ function createClientAuthError(errorCode, additionalMessage) {
|
|
|
605
605
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
606
606
|
}
|
|
607
607
|
|
|
608
|
-
/*! @azure/msal-common v16.
|
|
608
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
609
609
|
/*
|
|
610
610
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
611
611
|
* Licensed under the MIT License.
|
|
@@ -663,7 +663,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
663
663
|
urlParseError: urlParseError
|
|
664
664
|
});
|
|
665
665
|
|
|
666
|
-
/*! @azure/msal-common v16.
|
|
666
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
667
667
|
/*
|
|
668
668
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
669
669
|
* Licensed under the MIT License.
|
|
@@ -751,7 +751,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
751
751
|
userCanceled: userCanceled
|
|
752
752
|
});
|
|
753
753
|
|
|
754
|
-
/*! @azure/msal-common v16.
|
|
754
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
755
755
|
|
|
756
756
|
/*
|
|
757
757
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -946,7 +946,7 @@ class ScopeSet {
|
|
|
946
946
|
}
|
|
947
947
|
}
|
|
948
948
|
|
|
949
|
-
/*! @azure/msal-common v16.
|
|
949
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
950
950
|
|
|
951
951
|
/*
|
|
952
952
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1324,8 +1324,14 @@ function addSshJwk(parameters, sshJwkString) {
|
|
|
1324
1324
|
* @param serverTelemetryManager
|
|
1325
1325
|
*/
|
|
1326
1326
|
function addServerTelemetry(parameters, serverTelemetryManager) {
|
|
1327
|
-
|
|
1328
|
-
|
|
1327
|
+
const currentTelemetryHeader = serverTelemetryManager.generateCurrentRequestHeaderValue();
|
|
1328
|
+
const lastTelemetryHeader = serverTelemetryManager.generateLastRequestHeaderValue();
|
|
1329
|
+
if (currentTelemetryHeader) {
|
|
1330
|
+
parameters.set(X_CLIENT_CURR_TELEM, currentTelemetryHeader);
|
|
1331
|
+
}
|
|
1332
|
+
if (lastTelemetryHeader) {
|
|
1333
|
+
parameters.set(X_CLIENT_LAST_TELEM, lastTelemetryHeader);
|
|
1334
|
+
}
|
|
1329
1335
|
}
|
|
1330
1336
|
/**
|
|
1331
1337
|
* Adds parameter that indicates to the server that throttling is supported
|
|
@@ -1353,7 +1359,12 @@ function addResource(parameters, resource) {
|
|
|
1353
1359
|
}
|
|
1354
1360
|
}
|
|
1355
1361
|
|
|
1356
|
-
/*! @azure/msal-common v16.
|
|
1362
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
1363
|
+
|
|
1364
|
+
/*
|
|
1365
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1366
|
+
* Licensed under the MIT License.
|
|
1367
|
+
*/
|
|
1357
1368
|
/**
|
|
1358
1369
|
* Parses hash string from given string. Returns empty string if no hash symbol is found.
|
|
1359
1370
|
* @param hashString
|
|
@@ -1406,7 +1417,7 @@ function mapToQueryString(parameters) {
|
|
|
1406
1417
|
return queryParameterArray.join("&");
|
|
1407
1418
|
}
|
|
1408
1419
|
|
|
1409
|
-
/*! @azure/msal-common v16.
|
|
1420
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
1410
1421
|
|
|
1411
1422
|
/*
|
|
1412
1423
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1445,7 +1456,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
1445
1456
|
},
|
|
1446
1457
|
};
|
|
1447
1458
|
|
|
1448
|
-
/*! @azure/msal-common v16.
|
|
1459
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
1449
1460
|
/*
|
|
1450
1461
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1451
1462
|
* Licensed under the MIT License.
|
|
@@ -1493,7 +1504,7 @@ function addLogToCache(correlationId, loggedMessage) {
|
|
|
1493
1504
|
// Remove LRU (first entry) if capacity exceeded
|
|
1494
1505
|
if (correlationCache.size > CACHE_CAPACITY) {
|
|
1495
1506
|
const firstKey = correlationCache.keys().next().value;
|
|
1496
|
-
if (firstKey) {
|
|
1507
|
+
if (firstKey !== undefined) {
|
|
1497
1508
|
correlationCache.delete(firstKey);
|
|
1498
1509
|
}
|
|
1499
1510
|
}
|
|
@@ -1706,12 +1717,12 @@ class Logger {
|
|
|
1706
1717
|
}
|
|
1707
1718
|
}
|
|
1708
1719
|
|
|
1709
|
-
/*! @azure/msal-common v16.
|
|
1720
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
1710
1721
|
/* eslint-disable header/header */
|
|
1711
1722
|
const name$1 = "@azure/msal-common";
|
|
1712
|
-
const version$1 = "16.
|
|
1723
|
+
const version$1 = "16.8.0";
|
|
1713
1724
|
|
|
1714
|
-
/*! @azure/msal-common v16.
|
|
1725
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
1715
1726
|
/*
|
|
1716
1727
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1717
1728
|
* Licensed under the MIT License.
|
|
@@ -1731,7 +1742,7 @@ const AzureCloudInstance = {
|
|
|
1731
1742
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
1732
1743
|
};
|
|
1733
1744
|
|
|
1734
|
-
/*! @azure/msal-common v16.
|
|
1745
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
1735
1746
|
/*
|
|
1736
1747
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1737
1748
|
* Licensed under the MIT License.
|
|
@@ -1814,7 +1825,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
1814
1825
|
return updatedAccountInfo;
|
|
1815
1826
|
}
|
|
1816
1827
|
|
|
1817
|
-
/*! @azure/msal-common v16.
|
|
1828
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
1818
1829
|
|
|
1819
1830
|
/*
|
|
1820
1831
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1894,7 +1905,7 @@ function checkMaxAge(authTime, maxAge) {
|
|
|
1894
1905
|
}
|
|
1895
1906
|
}
|
|
1896
1907
|
|
|
1897
|
-
/*! @azure/msal-common v16.
|
|
1908
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
1898
1909
|
|
|
1899
1910
|
/*
|
|
1900
1911
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2051,7 +2062,7 @@ class UrlString {
|
|
|
2051
2062
|
}
|
|
2052
2063
|
}
|
|
2053
2064
|
|
|
2054
|
-
/*! @azure/msal-common v16.
|
|
2065
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
2055
2066
|
|
|
2056
2067
|
/*
|
|
2057
2068
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2217,7 +2228,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2217
2228
|
return null;
|
|
2218
2229
|
}
|
|
2219
2230
|
|
|
2220
|
-
/*! @azure/msal-common v16.
|
|
2231
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
2221
2232
|
/*
|
|
2222
2233
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2223
2234
|
* Licensed under the MIT License.
|
|
@@ -2225,7 +2236,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2225
2236
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
2226
2237
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
2227
2238
|
|
|
2228
|
-
/*! @azure/msal-common v16.
|
|
2239
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
2229
2240
|
|
|
2230
2241
|
/*
|
|
2231
2242
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2263,7 +2274,7 @@ function createCacheError(e) {
|
|
|
2263
2274
|
}
|
|
2264
2275
|
}
|
|
2265
2276
|
|
|
2266
|
-
/*! @azure/msal-common v16.
|
|
2277
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
2267
2278
|
|
|
2268
2279
|
/*
|
|
2269
2280
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2301,7 +2312,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
2301
2312
|
};
|
|
2302
2313
|
}
|
|
2303
2314
|
|
|
2304
|
-
/*! @azure/msal-common v16.
|
|
2315
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
2305
2316
|
/*
|
|
2306
2317
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2307
2318
|
* Licensed under the MIT License.
|
|
@@ -2316,7 +2327,7 @@ const AuthorityType = {
|
|
|
2316
2327
|
Ciam: 3,
|
|
2317
2328
|
};
|
|
2318
2329
|
|
|
2319
|
-
/*! @azure/msal-common v16.
|
|
2330
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
2320
2331
|
/*
|
|
2321
2332
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2322
2333
|
* Licensed under the MIT License.
|
|
@@ -2338,7 +2349,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
2338
2349
|
return null;
|
|
2339
2350
|
}
|
|
2340
2351
|
|
|
2341
|
-
/*! @azure/msal-common v16.
|
|
2352
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
2342
2353
|
/*
|
|
2343
2354
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2344
2355
|
* Licensed under the MIT License.
|
|
@@ -2362,7 +2373,7 @@ const ProtocolMode = {
|
|
|
2362
2373
|
EAR: "EAR",
|
|
2363
2374
|
};
|
|
2364
2375
|
|
|
2365
|
-
/*! @azure/msal-common v16.
|
|
2376
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
2366
2377
|
/**
|
|
2367
2378
|
* Returns the AccountInfo interface for this account.
|
|
2368
2379
|
*/
|
|
@@ -2505,7 +2516,7 @@ function isAccountEntity(entity) {
|
|
|
2505
2516
|
entity.hasOwnProperty("authorityType"));
|
|
2506
2517
|
}
|
|
2507
2518
|
|
|
2508
|
-
/*! @azure/msal-common v16.
|
|
2519
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
2509
2520
|
|
|
2510
2521
|
/*
|
|
2511
2522
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3636,7 +3647,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3636
3647
|
}
|
|
3637
3648
|
}
|
|
3638
3649
|
|
|
3639
|
-
/*! @azure/msal-common v16.
|
|
3650
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
3640
3651
|
/*
|
|
3641
3652
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3642
3653
|
* Licensed under the MIT License.
|
|
@@ -3650,7 +3661,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3650
3661
|
const PerformanceEventStatus = {
|
|
3651
3662
|
InProgress: 1};
|
|
3652
3663
|
|
|
3653
|
-
/*! @azure/msal-common v16.
|
|
3664
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
3654
3665
|
|
|
3655
3666
|
/*
|
|
3656
3667
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3705,7 +3716,7 @@ class StubPerformanceClient {
|
|
|
3705
3716
|
}
|
|
3706
3717
|
}
|
|
3707
3718
|
|
|
3708
|
-
/*! @azure/msal-common v16.
|
|
3719
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
3709
3720
|
|
|
3710
3721
|
/*
|
|
3711
3722
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3800,7 +3811,7 @@ function isOidcProtocolMode(config) {
|
|
|
3800
3811
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
3801
3812
|
}
|
|
3802
3813
|
|
|
3803
|
-
/*! @azure/msal-common v16.
|
|
3814
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
3804
3815
|
/*
|
|
3805
3816
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3806
3817
|
* Licensed under the MIT License.
|
|
@@ -3827,7 +3838,7 @@ function isOidcProtocolMode(config) {
|
|
|
3827
3838
|
}
|
|
3828
3839
|
}
|
|
3829
3840
|
|
|
3830
|
-
/*! @azure/msal-common v16.
|
|
3841
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
3831
3842
|
/*
|
|
3832
3843
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3833
3844
|
* Licensed under the MIT License.
|
|
@@ -3882,7 +3893,7 @@ function delay(t, value) {
|
|
|
3882
3893
|
return new Promise((resolve) => setTimeout(() => resolve(value), t));
|
|
3883
3894
|
}
|
|
3884
3895
|
|
|
3885
|
-
/*! @azure/msal-common v16.
|
|
3896
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
3886
3897
|
|
|
3887
3898
|
/*
|
|
3888
3899
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4141,7 +4152,7 @@ function isAuthorityMetadataExpired(metadata) {
|
|
|
4141
4152
|
return metadata.expiresAt <= nowSeconds();
|
|
4142
4153
|
}
|
|
4143
4154
|
|
|
4144
|
-
/*! @azure/msal-common v16.
|
|
4155
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
4145
4156
|
/*
|
|
4146
4157
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4147
4158
|
* Licensed under the MIT License.
|
|
@@ -4203,7 +4214,7 @@ const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
|
|
|
4203
4214
|
*/
|
|
4204
4215
|
const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
|
|
4205
4216
|
|
|
4206
|
-
/*! @azure/msal-common v16.
|
|
4217
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
4207
4218
|
/*
|
|
4208
4219
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4209
4220
|
* Licensed under the MIT License.
|
|
@@ -4296,7 +4307,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
4296
4307
|
};
|
|
4297
4308
|
};
|
|
4298
4309
|
|
|
4299
|
-
/*! @azure/msal-common v16.
|
|
4310
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
4300
4311
|
|
|
4301
4312
|
/*
|
|
4302
4313
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4376,7 +4387,7 @@ class PopTokenGenerator {
|
|
|
4376
4387
|
}
|
|
4377
4388
|
}
|
|
4378
4389
|
|
|
4379
|
-
/*! @azure/msal-common v16.
|
|
4390
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
4380
4391
|
/*
|
|
4381
4392
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4382
4393
|
* Licensed under the MIT License.
|
|
@@ -4440,7 +4451,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
4440
4451
|
uiNotAllowed: uiNotAllowed
|
|
4441
4452
|
});
|
|
4442
4453
|
|
|
4443
|
-
/*! @azure/msal-common v16.
|
|
4454
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
4444
4455
|
|
|
4445
4456
|
/*
|
|
4446
4457
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4508,7 +4519,7 @@ function createInteractionRequiredAuthError(errorCode, errorMessage) {
|
|
|
4508
4519
|
return new InteractionRequiredAuthError(errorCode, errorMessage);
|
|
4509
4520
|
}
|
|
4510
4521
|
|
|
4511
|
-
/*! @azure/msal-common v16.
|
|
4522
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
4512
4523
|
|
|
4513
4524
|
/*
|
|
4514
4525
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4527,7 +4538,7 @@ class ServerError extends AuthError {
|
|
|
4527
4538
|
}
|
|
4528
4539
|
}
|
|
4529
4540
|
|
|
4530
|
-
/*! @azure/msal-common v16.
|
|
4541
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
4531
4542
|
/**
|
|
4532
4543
|
* Parses the state into the RequestStateObject, which contains the LibraryState info and the state passed by the user.
|
|
4533
4544
|
* @param base64Decode
|
|
@@ -4559,7 +4570,7 @@ function parseRequestState(base64Decode, state) {
|
|
|
4559
4570
|
}
|
|
4560
4571
|
}
|
|
4561
4572
|
|
|
4562
|
-
/*! @azure/msal-common v16.
|
|
4573
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
4563
4574
|
|
|
4564
4575
|
/*
|
|
4565
4576
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4907,7 +4918,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
4907
4918
|
return baseAccount;
|
|
4908
4919
|
}
|
|
4909
4920
|
|
|
4910
|
-
/*! @azure/msal-common v16.
|
|
4921
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
4911
4922
|
/*
|
|
4912
4923
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4913
4924
|
* Licensed under the MIT License.
|
|
@@ -4917,7 +4928,7 @@ const CcsCredentialType = {
|
|
|
4917
4928
|
UPN: "UPN",
|
|
4918
4929
|
};
|
|
4919
4930
|
|
|
4920
|
-
/*! @azure/msal-common v16.
|
|
4931
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
4921
4932
|
/*
|
|
4922
4933
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4923
4934
|
* Licensed under the MIT License.
|
|
@@ -4935,7 +4946,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
4935
4946
|
}
|
|
4936
4947
|
}
|
|
4937
4948
|
|
|
4938
|
-
/*! @azure/msal-common v16.
|
|
4949
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
4939
4950
|
/*
|
|
4940
4951
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4941
4952
|
* Licensed under the MIT License.
|
|
@@ -4956,7 +4967,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
4956
4967
|
};
|
|
4957
4968
|
}
|
|
4958
4969
|
|
|
4959
|
-
/*! @azure/msal-common v16.
|
|
4970
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
4960
4971
|
|
|
4961
4972
|
/*
|
|
4962
4973
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5042,7 +5053,7 @@ class ThrottlingUtils {
|
|
|
5042
5053
|
}
|
|
5043
5054
|
}
|
|
5044
5055
|
|
|
5045
|
-
/*! @azure/msal-common v16.
|
|
5056
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
5046
5057
|
|
|
5047
5058
|
/*
|
|
5048
5059
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5073,7 +5084,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
|
|
|
5073
5084
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
5074
5085
|
}
|
|
5075
5086
|
|
|
5076
|
-
/*! @azure/msal-common v16.
|
|
5087
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
5077
5088
|
|
|
5078
5089
|
/*
|
|
5079
5090
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5187,7 +5198,7 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
|
|
|
5187
5198
|
return response;
|
|
5188
5199
|
}
|
|
5189
5200
|
|
|
5190
|
-
/*! @azure/msal-common v16.
|
|
5201
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
5191
5202
|
/*
|
|
5192
5203
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5193
5204
|
* Licensed under the MIT License.
|
|
@@ -5199,7 +5210,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
5199
5210
|
response.hasOwnProperty("jwks_uri"));
|
|
5200
5211
|
}
|
|
5201
5212
|
|
|
5202
|
-
/*! @azure/msal-common v16.
|
|
5213
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
5203
5214
|
/*
|
|
5204
5215
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5205
5216
|
* Licensed under the MIT License.
|
|
@@ -5209,7 +5220,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
5209
5220
|
response.hasOwnProperty("metadata"));
|
|
5210
5221
|
}
|
|
5211
5222
|
|
|
5212
|
-
/*! @azure/msal-common v16.
|
|
5223
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
5213
5224
|
/*
|
|
5214
5225
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5215
5226
|
* Licensed under the MIT License.
|
|
@@ -5219,7 +5230,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
5219
5230
|
response.hasOwnProperty("error_description"));
|
|
5220
5231
|
}
|
|
5221
5232
|
|
|
5222
|
-
/*! @azure/msal-common v16.
|
|
5233
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
5223
5234
|
|
|
5224
5235
|
/*
|
|
5225
5236
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5324,7 +5335,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
5324
5335
|
},
|
|
5325
5336
|
};
|
|
5326
5337
|
|
|
5327
|
-
/*! @azure/msal-common v16.
|
|
5338
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
5328
5339
|
|
|
5329
5340
|
/*
|
|
5330
5341
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6295,7 +6306,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
6295
6306
|
};
|
|
6296
6307
|
}
|
|
6297
6308
|
|
|
6298
|
-
/*! @azure/msal-common v16.
|
|
6309
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
6299
6310
|
|
|
6300
6311
|
/*
|
|
6301
6312
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6329,7 +6340,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
6329
6340
|
}
|
|
6330
6341
|
}
|
|
6331
6342
|
|
|
6332
|
-
/*! @azure/msal-common v16.
|
|
6343
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
6333
6344
|
|
|
6334
6345
|
/*
|
|
6335
6346
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6586,7 +6597,7 @@ class AuthorizationCodeClient {
|
|
|
6586
6597
|
}
|
|
6587
6598
|
}
|
|
6588
6599
|
|
|
6589
|
-
/*! @azure/msal-common v16.
|
|
6600
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
6590
6601
|
|
|
6591
6602
|
/*
|
|
6592
6603
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6807,7 +6818,7 @@ class RefreshTokenClient {
|
|
|
6807
6818
|
}
|
|
6808
6819
|
}
|
|
6809
6820
|
|
|
6810
|
-
/*! @azure/msal-common v16.
|
|
6821
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
6811
6822
|
|
|
6812
6823
|
/*
|
|
6813
6824
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6923,7 +6934,7 @@ class SilentFlowClient {
|
|
|
6923
6934
|
}
|
|
6924
6935
|
}
|
|
6925
6936
|
|
|
6926
|
-
/*! @azure/msal-common v16.
|
|
6937
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
6927
6938
|
|
|
6928
6939
|
/*
|
|
6929
6940
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7072,7 +7083,7 @@ function extractLoginHint(account) {
|
|
|
7072
7083
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
7073
7084
|
}
|
|
7074
7085
|
|
|
7075
|
-
/*! @azure/msal-common v16.
|
|
7086
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
7076
7087
|
|
|
7077
7088
|
/*
|
|
7078
7089
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7105,7 +7116,7 @@ function containsResourceParam(params) {
|
|
|
7105
7116
|
return Object.prototype.hasOwnProperty.call(params, "resource");
|
|
7106
7117
|
}
|
|
7107
7118
|
|
|
7108
|
-
/*! @azure/msal-common v16.
|
|
7119
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
7109
7120
|
/*
|
|
7110
7121
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7111
7122
|
* Licensed under the MIT License.
|
|
@@ -7122,7 +7133,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
7122
7133
|
unexpectedError: unexpectedError
|
|
7123
7134
|
});
|
|
7124
7135
|
|
|
7125
|
-
/*! @azure/msal-common v16.
|
|
7136
|
+
/*! @azure/msal-common v16.8.0 2026-06-10 */
|
|
7126
7137
|
|
|
7127
7138
|
/*
|
|
7128
7139
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7233,35 +7244,40 @@ class ServerTelemetryManager {
|
|
|
7233
7244
|
* @param error
|
|
7234
7245
|
*/
|
|
7235
7246
|
cacheFailedRequest(error) {
|
|
7236
|
-
|
|
7237
|
-
|
|
7238
|
-
|
|
7239
|
-
|
|
7240
|
-
|
|
7241
|
-
|
|
7242
|
-
|
|
7243
|
-
|
|
7244
|
-
|
|
7245
|
-
|
|
7246
|
-
if (error instanceof
|
|
7247
|
-
if (error
|
|
7248
|
-
|
|
7249
|
-
|
|
7250
|
-
|
|
7251
|
-
|
|
7247
|
+
try {
|
|
7248
|
+
const lastRequests = this.getLastRequests();
|
|
7249
|
+
if (lastRequests.errors.length >=
|
|
7250
|
+
SERVER_TELEM_MAX_CACHED_ERRORS) {
|
|
7251
|
+
// Remove a cached error to make room, first in first out
|
|
7252
|
+
lastRequests.failedRequests.shift(); // apiId
|
|
7253
|
+
lastRequests.failedRequests.shift(); // correlationId
|
|
7254
|
+
lastRequests.errors.shift();
|
|
7255
|
+
}
|
|
7256
|
+
lastRequests.failedRequests.push(this.apiId, this.correlationId);
|
|
7257
|
+
if (error instanceof Error && !!error && error.toString()) {
|
|
7258
|
+
if (error instanceof AuthError) {
|
|
7259
|
+
if (error.subError) {
|
|
7260
|
+
lastRequests.errors.push(error.subError);
|
|
7261
|
+
}
|
|
7262
|
+
else if (error.errorCode) {
|
|
7263
|
+
lastRequests.errors.push(error.errorCode);
|
|
7264
|
+
}
|
|
7265
|
+
else {
|
|
7266
|
+
lastRequests.errors.push(error.toString());
|
|
7267
|
+
}
|
|
7252
7268
|
}
|
|
7253
7269
|
else {
|
|
7254
7270
|
lastRequests.errors.push(error.toString());
|
|
7255
7271
|
}
|
|
7256
7272
|
}
|
|
7257
7273
|
else {
|
|
7258
|
-
lastRequests.errors.push(
|
|
7274
|
+
lastRequests.errors.push(SERVER_TELEM_UNKNOWN_ERROR);
|
|
7259
7275
|
}
|
|
7276
|
+
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests, this.correlationId);
|
|
7260
7277
|
}
|
|
7261
|
-
|
|
7262
|
-
|
|
7278
|
+
catch {
|
|
7279
|
+
// Ignore telemetry cache failures to avoid masking the original auth error path.
|
|
7263
7280
|
}
|
|
7264
|
-
this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests, this.correlationId);
|
|
7265
7281
|
return;
|
|
7266
7282
|
}
|
|
7267
7283
|
/**
|
|
@@ -9330,7 +9346,7 @@ class ClientAssertion {
|
|
|
9330
9346
|
|
|
9331
9347
|
/* eslint-disable header/header */
|
|
9332
9348
|
const name = "@azure/msal-node";
|
|
9333
|
-
const version = "5.2.
|
|
9349
|
+
const version = "5.2.4";
|
|
9334
9350
|
|
|
9335
9351
|
/*
|
|
9336
9352
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|