@azure/msal-node 3.8.5 → 3.8.6
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/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/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.d.ts +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/NetworkUtils.mjs +1 -1
- package/dist/utils/TimeUtils.mjs +1 -1
- package/lib/msal-node.cjs +85 -66
- package/lib/msal-node.cjs.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/package.json +2 -2
- package/src/packageMetadata.ts +1 -1
package/lib/msal-node.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v3.8.
|
|
1
|
+
/*! @azure/msal-node v3.8.6 2026-01-17 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -153,7 +153,7 @@ class Serializer {
|
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
/*! @azure/msal-common v15.14.
|
|
156
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
157
157
|
/*
|
|
158
158
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
159
159
|
* Licensed under the MIT License.
|
|
@@ -433,7 +433,7 @@ const EncodingTypes = {
|
|
|
433
433
|
UTF8: "utf-8",
|
|
434
434
|
};
|
|
435
435
|
|
|
436
|
-
/*! @azure/msal-common v15.14.
|
|
436
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
437
437
|
/*
|
|
438
438
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
439
439
|
* Licensed under the MIT License.
|
|
@@ -450,7 +450,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
450
450
|
unexpectedError: unexpectedError
|
|
451
451
|
});
|
|
452
452
|
|
|
453
|
-
/*! @azure/msal-common v15.14.
|
|
453
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
454
454
|
|
|
455
455
|
/*
|
|
456
456
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -499,7 +499,7 @@ function createAuthError(code, additionalMessage) {
|
|
|
499
499
|
: AuthErrorMessages[code]);
|
|
500
500
|
}
|
|
501
501
|
|
|
502
|
-
/*! @azure/msal-common v15.14.
|
|
502
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
503
503
|
/*
|
|
504
504
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
505
505
|
* Licensed under the MIT License.
|
|
@@ -599,7 +599,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
599
599
|
userTimeoutReached: userTimeoutReached
|
|
600
600
|
});
|
|
601
601
|
|
|
602
|
-
/*! @azure/msal-common v15.14.
|
|
602
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
603
603
|
|
|
604
604
|
/*
|
|
605
605
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -856,7 +856,7 @@ function createClientAuthError(errorCode, additionalMessage) {
|
|
|
856
856
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
857
857
|
}
|
|
858
858
|
|
|
859
|
-
/*! @azure/msal-common v15.14.
|
|
859
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
860
860
|
|
|
861
861
|
/*
|
|
862
862
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -895,7 +895,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
895
895
|
},
|
|
896
896
|
};
|
|
897
897
|
|
|
898
|
-
/*! @azure/msal-common v15.14.
|
|
898
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
899
899
|
|
|
900
900
|
/*
|
|
901
901
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1086,12 +1086,12 @@ class Logger {
|
|
|
1086
1086
|
}
|
|
1087
1087
|
}
|
|
1088
1088
|
|
|
1089
|
-
/*! @azure/msal-common v15.14.
|
|
1089
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
1090
1090
|
/* eslint-disable header/header */
|
|
1091
1091
|
const name$1 = "@azure/msal-common";
|
|
1092
|
-
const version$1 = "15.14.
|
|
1092
|
+
const version$1 = "15.14.1";
|
|
1093
1093
|
|
|
1094
|
-
/*! @azure/msal-common v15.14.
|
|
1094
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
1095
1095
|
/*
|
|
1096
1096
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1097
1097
|
* Licensed under the MIT License.
|
|
@@ -1111,7 +1111,7 @@ const AzureCloudInstance = {
|
|
|
1111
1111
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
1112
1112
|
};
|
|
1113
1113
|
|
|
1114
|
-
/*! @azure/msal-common v15.14.
|
|
1114
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
1115
1115
|
/*
|
|
1116
1116
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1117
1117
|
* Licensed under the MIT License.
|
|
@@ -1169,7 +1169,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
1169
1169
|
urlParseError: urlParseError
|
|
1170
1170
|
});
|
|
1171
1171
|
|
|
1172
|
-
/*! @azure/msal-common v15.14.
|
|
1172
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
1173
1173
|
|
|
1174
1174
|
/*
|
|
1175
1175
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1317,7 +1317,7 @@ function createClientConfigurationError(errorCode) {
|
|
|
1317
1317
|
return new ClientConfigurationError(errorCode);
|
|
1318
1318
|
}
|
|
1319
1319
|
|
|
1320
|
-
/*! @azure/msal-common v15.14.
|
|
1320
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
1321
1321
|
/*
|
|
1322
1322
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1323
1323
|
* Licensed under the MIT License.
|
|
@@ -1414,7 +1414,7 @@ class StringUtils {
|
|
|
1414
1414
|
}
|
|
1415
1415
|
}
|
|
1416
1416
|
|
|
1417
|
-
/*! @azure/msal-common v15.14.
|
|
1417
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
1418
1418
|
|
|
1419
1419
|
/*
|
|
1420
1420
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1609,7 +1609,7 @@ class ScopeSet {
|
|
|
1609
1609
|
}
|
|
1610
1610
|
}
|
|
1611
1611
|
|
|
1612
|
-
/*! @azure/msal-common v15.14.
|
|
1612
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
1613
1613
|
|
|
1614
1614
|
/*
|
|
1615
1615
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1649,7 +1649,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
1649
1649
|
};
|
|
1650
1650
|
}
|
|
1651
1651
|
|
|
1652
|
-
/*! @azure/msal-common v15.14.
|
|
1652
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
1653
1653
|
/*
|
|
1654
1654
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1655
1655
|
* Licensed under the MIT License.
|
|
@@ -1731,7 +1731,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
1731
1731
|
return updatedAccountInfo;
|
|
1732
1732
|
}
|
|
1733
1733
|
|
|
1734
|
-
/*! @azure/msal-common v15.14.
|
|
1734
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
1735
1735
|
/*
|
|
1736
1736
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1737
1737
|
* Licensed under the MIT License.
|
|
@@ -1746,7 +1746,7 @@ const AuthorityType = {
|
|
|
1746
1746
|
Ciam: 3,
|
|
1747
1747
|
};
|
|
1748
1748
|
|
|
1749
|
-
/*! @azure/msal-common v15.14.
|
|
1749
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
1750
1750
|
/*
|
|
1751
1751
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1752
1752
|
* Licensed under the MIT License.
|
|
@@ -1768,7 +1768,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
1768
1768
|
return null;
|
|
1769
1769
|
}
|
|
1770
1770
|
|
|
1771
|
-
/*! @azure/msal-common v15.14.
|
|
1771
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
1772
1772
|
/*
|
|
1773
1773
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1774
1774
|
* Licensed under the MIT License.
|
|
@@ -1792,7 +1792,7 @@ const ProtocolMode = {
|
|
|
1792
1792
|
EAR: "EAR",
|
|
1793
1793
|
};
|
|
1794
1794
|
|
|
1795
|
-
/*! @azure/msal-common v15.14.
|
|
1795
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
1796
1796
|
|
|
1797
1797
|
/*
|
|
1798
1798
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1826,6 +1826,13 @@ class AccountEntity {
|
|
|
1826
1826
|
* Returns the AccountInfo interface for this account.
|
|
1827
1827
|
*/
|
|
1828
1828
|
static getAccountInfo(accountEntity) {
|
|
1829
|
+
const tenantProfiles = accountEntity.tenantProfiles || [];
|
|
1830
|
+
// Ensure at least the home tenant profile exists
|
|
1831
|
+
if (tenantProfiles.length === 0 &&
|
|
1832
|
+
accountEntity.realm &&
|
|
1833
|
+
accountEntity.localAccountId) {
|
|
1834
|
+
tenantProfiles.push(buildTenantProfile(accountEntity.homeAccountId, accountEntity.localAccountId, accountEntity.realm));
|
|
1835
|
+
}
|
|
1829
1836
|
return {
|
|
1830
1837
|
homeAccountId: accountEntity.homeAccountId,
|
|
1831
1838
|
environment: accountEntity.environment,
|
|
@@ -1837,7 +1844,7 @@ class AccountEntity {
|
|
|
1837
1844
|
nativeAccountId: accountEntity.nativeAccountId,
|
|
1838
1845
|
authorityType: accountEntity.authorityType,
|
|
1839
1846
|
// Deserialize tenant profiles array into a Map
|
|
1840
|
-
tenantProfiles: new Map(
|
|
1847
|
+
tenantProfiles: new Map(tenantProfiles.map((tenantProfile) => {
|
|
1841
1848
|
return [tenantProfile.tenantId, tenantProfile];
|
|
1842
1849
|
})),
|
|
1843
1850
|
dataBoundary: accountEntity.dataBoundary,
|
|
@@ -1938,7 +1945,14 @@ class AccountEntity {
|
|
|
1938
1945
|
account.cloudGraphHostName = cloudGraphHostName;
|
|
1939
1946
|
account.msGraphHost = msGraphHost;
|
|
1940
1947
|
// Serialize tenant profiles map into an array
|
|
1941
|
-
|
|
1948
|
+
const tenantProfiles = Array.from(accountInfo.tenantProfiles?.values() || []);
|
|
1949
|
+
// Ensure at least the home tenant profile exists
|
|
1950
|
+
if (tenantProfiles.length === 0 &&
|
|
1951
|
+
accountInfo.tenantId &&
|
|
1952
|
+
accountInfo.localAccountId) {
|
|
1953
|
+
tenantProfiles.push(buildTenantProfile(accountInfo.homeAccountId, accountInfo.localAccountId, accountInfo.tenantId, accountInfo.idTokenClaims));
|
|
1954
|
+
}
|
|
1955
|
+
account.tenantProfiles = tenantProfiles;
|
|
1942
1956
|
account.dataBoundary = accountInfo.dataBoundary;
|
|
1943
1957
|
return account;
|
|
1944
1958
|
}
|
|
@@ -2013,7 +2027,7 @@ class AccountEntity {
|
|
|
2013
2027
|
}
|
|
2014
2028
|
}
|
|
2015
2029
|
|
|
2016
|
-
/*! @azure/msal-common v15.14.
|
|
2030
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
2017
2031
|
|
|
2018
2032
|
/*
|
|
2019
2033
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2094,7 +2108,7 @@ function checkMaxAge(authTime, maxAge) {
|
|
|
2094
2108
|
}
|
|
2095
2109
|
}
|
|
2096
2110
|
|
|
2097
|
-
/*! @azure/msal-common v15.14.
|
|
2111
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
2098
2112
|
/**
|
|
2099
2113
|
* Parses hash string from given string. Returns empty string if no hash symbol is found.
|
|
2100
2114
|
* @param hashString
|
|
@@ -2154,7 +2168,7 @@ function mapToQueryString(parameters, encodeExtraParams = true, extraQueryParame
|
|
|
2154
2168
|
return queryParameterArray.join("&");
|
|
2155
2169
|
}
|
|
2156
2170
|
|
|
2157
|
-
/*! @azure/msal-common v15.14.
|
|
2171
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
2158
2172
|
|
|
2159
2173
|
/*
|
|
2160
2174
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2318,7 +2332,7 @@ class UrlString {
|
|
|
2318
2332
|
}
|
|
2319
2333
|
}
|
|
2320
2334
|
|
|
2321
|
-
/*! @azure/msal-common v15.14.
|
|
2335
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
2322
2336
|
|
|
2323
2337
|
/*
|
|
2324
2338
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2457,7 +2471,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2457
2471
|
return null;
|
|
2458
2472
|
}
|
|
2459
2473
|
|
|
2460
|
-
/*! @azure/msal-common v15.14.
|
|
2474
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
2461
2475
|
/*
|
|
2462
2476
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2463
2477
|
* Licensed under the MIT License.
|
|
@@ -2465,7 +2479,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2465
2479
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
2466
2480
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
2467
2481
|
|
|
2468
|
-
/*! @azure/msal-common v15.14.
|
|
2482
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
2469
2483
|
|
|
2470
2484
|
/*
|
|
2471
2485
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2510,7 +2524,7 @@ function createCacheError(e) {
|
|
|
2510
2524
|
}
|
|
2511
2525
|
}
|
|
2512
2526
|
|
|
2513
|
-
/*! @azure/msal-common v15.14.
|
|
2527
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
2514
2528
|
|
|
2515
2529
|
/*
|
|
2516
2530
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3620,7 +3634,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3620
3634
|
}
|
|
3621
3635
|
}
|
|
3622
3636
|
|
|
3623
|
-
/*! @azure/msal-common v15.14.
|
|
3637
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
3624
3638
|
/*
|
|
3625
3639
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3626
3640
|
* Licensed under the MIT License.
|
|
@@ -3892,7 +3906,7 @@ const PerformanceEvents = {
|
|
|
3892
3906
|
const PerformanceEventStatus = {
|
|
3893
3907
|
InProgress: 1};
|
|
3894
3908
|
|
|
3895
|
-
/*! @azure/msal-common v15.14.
|
|
3909
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
3896
3910
|
|
|
3897
3911
|
/*
|
|
3898
3912
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3971,7 +3985,7 @@ class StubPerformanceClient {
|
|
|
3971
3985
|
}
|
|
3972
3986
|
}
|
|
3973
3987
|
|
|
3974
|
-
/*! @azure/msal-common v15.14.
|
|
3988
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
3975
3989
|
|
|
3976
3990
|
/*
|
|
3977
3991
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4071,7 +4085,7 @@ function isOidcProtocolMode(config) {
|
|
|
4071
4085
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
4072
4086
|
}
|
|
4073
4087
|
|
|
4074
|
-
/*! @azure/msal-common v15.14.
|
|
4088
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
4075
4089
|
/*
|
|
4076
4090
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4077
4091
|
* Licensed under the MIT License.
|
|
@@ -4081,7 +4095,7 @@ const CcsCredentialType = {
|
|
|
4081
4095
|
UPN: "UPN",
|
|
4082
4096
|
};
|
|
4083
4097
|
|
|
4084
|
-
/*! @azure/msal-common v15.14.
|
|
4098
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
4085
4099
|
/*
|
|
4086
4100
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4087
4101
|
* Licensed under the MIT License.
|
|
@@ -4132,7 +4146,7 @@ const BROKER_CLIENT_ID = "brk_client_id";
|
|
|
4132
4146
|
const BROKER_REDIRECT_URI = "brk_redirect_uri";
|
|
4133
4147
|
const INSTANCE_AWARE = "instance_aware";
|
|
4134
4148
|
|
|
4135
|
-
/*! @azure/msal-common v15.14.
|
|
4149
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
4136
4150
|
|
|
4137
4151
|
/*
|
|
4138
4152
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4518,7 +4532,7 @@ function addBrokerParameters(parameters, brokerClientId, brokerRedirectUri) {
|
|
|
4518
4532
|
}
|
|
4519
4533
|
}
|
|
4520
4534
|
|
|
4521
|
-
/*! @azure/msal-common v15.14.
|
|
4535
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
4522
4536
|
/*
|
|
4523
4537
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4524
4538
|
* Licensed under the MIT License.
|
|
@@ -4530,7 +4544,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
4530
4544
|
response.hasOwnProperty("jwks_uri"));
|
|
4531
4545
|
}
|
|
4532
4546
|
|
|
4533
|
-
/*! @azure/msal-common v15.14.
|
|
4547
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
4534
4548
|
/*
|
|
4535
4549
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4536
4550
|
* Licensed under the MIT License.
|
|
@@ -4540,7 +4554,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
4540
4554
|
response.hasOwnProperty("metadata"));
|
|
4541
4555
|
}
|
|
4542
4556
|
|
|
4543
|
-
/*! @azure/msal-common v15.14.
|
|
4557
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
4544
4558
|
/*
|
|
4545
4559
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4546
4560
|
* Licensed under the MIT License.
|
|
@@ -4550,7 +4564,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
4550
4564
|
response.hasOwnProperty("error_description"));
|
|
4551
4565
|
}
|
|
4552
4566
|
|
|
4553
|
-
/*! @azure/msal-common v15.14.
|
|
4567
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
4554
4568
|
/*
|
|
4555
4569
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4556
4570
|
* Licensed under the MIT License.
|
|
@@ -4646,7 +4660,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
4646
4660
|
};
|
|
4647
4661
|
};
|
|
4648
4662
|
|
|
4649
|
-
/*! @azure/msal-common v15.14.
|
|
4663
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
4650
4664
|
|
|
4651
4665
|
/*
|
|
4652
4666
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4752,7 +4766,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
4752
4766
|
},
|
|
4753
4767
|
};
|
|
4754
4768
|
|
|
4755
|
-
/*! @azure/msal-common v15.14.
|
|
4769
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
4756
4770
|
/*
|
|
4757
4771
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4758
4772
|
* Licensed under the MIT License.
|
|
@@ -4807,7 +4821,7 @@ function delay(t, value) {
|
|
|
4807
4821
|
return new Promise((resolve) => setTimeout(() => resolve(value), t));
|
|
4808
4822
|
}
|
|
4809
4823
|
|
|
4810
|
-
/*! @azure/msal-common v15.14.
|
|
4824
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
4811
4825
|
|
|
4812
4826
|
/*
|
|
4813
4827
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5069,7 +5083,7 @@ function isAuthorityMetadataExpired(metadata) {
|
|
|
5069
5083
|
return metadata.expiresAt <= nowSeconds();
|
|
5070
5084
|
}
|
|
5071
5085
|
|
|
5072
|
-
/*! @azure/msal-common v15.14.
|
|
5086
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
5073
5087
|
|
|
5074
5088
|
/*
|
|
5075
5089
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5908,7 +5922,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
5908
5922
|
};
|
|
5909
5923
|
}
|
|
5910
5924
|
|
|
5911
|
-
/*! @azure/msal-common v15.14.
|
|
5925
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
5912
5926
|
|
|
5913
5927
|
/*
|
|
5914
5928
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5939,7 +5953,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
5939
5953
|
}
|
|
5940
5954
|
}
|
|
5941
5955
|
|
|
5942
|
-
/*! @azure/msal-common v15.14.
|
|
5956
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
5943
5957
|
|
|
5944
5958
|
/*
|
|
5945
5959
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5958,7 +5972,7 @@ class ServerError extends AuthError {
|
|
|
5958
5972
|
}
|
|
5959
5973
|
}
|
|
5960
5974
|
|
|
5961
|
-
/*! @azure/msal-common v15.14.
|
|
5975
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
5962
5976
|
/*
|
|
5963
5977
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5964
5978
|
* Licensed under the MIT License.
|
|
@@ -5979,7 +5993,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
5979
5993
|
};
|
|
5980
5994
|
}
|
|
5981
5995
|
|
|
5982
|
-
/*! @azure/msal-common v15.14.
|
|
5996
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
5983
5997
|
|
|
5984
5998
|
/*
|
|
5985
5999
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6066,7 +6080,7 @@ class ThrottlingUtils {
|
|
|
6066
6080
|
}
|
|
6067
6081
|
}
|
|
6068
6082
|
|
|
6069
|
-
/*! @azure/msal-common v15.14.
|
|
6083
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
6070
6084
|
|
|
6071
6085
|
/*
|
|
6072
6086
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6086,7 +6100,7 @@ class NetworkError extends AuthError {
|
|
|
6086
6100
|
}
|
|
6087
6101
|
}
|
|
6088
6102
|
|
|
6089
|
-
/*! @azure/msal-common v15.14.
|
|
6103
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
6090
6104
|
|
|
6091
6105
|
/*
|
|
6092
6106
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6234,7 +6248,7 @@ class BaseClient {
|
|
|
6234
6248
|
}
|
|
6235
6249
|
}
|
|
6236
6250
|
|
|
6237
|
-
/*! @azure/msal-common v15.14.
|
|
6251
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
6238
6252
|
/*
|
|
6239
6253
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6240
6254
|
* Licensed under the MIT License.
|
|
@@ -6262,7 +6276,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
6262
6276
|
uxNotAllowed: uxNotAllowed
|
|
6263
6277
|
});
|
|
6264
6278
|
|
|
6265
|
-
/*! @azure/msal-common v15.14.
|
|
6279
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
6266
6280
|
|
|
6267
6281
|
/*
|
|
6268
6282
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6352,7 +6366,7 @@ function createInteractionRequiredAuthError(errorCode) {
|
|
|
6352
6366
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
6353
6367
|
}
|
|
6354
6368
|
|
|
6355
|
-
/*! @azure/msal-common v15.14.
|
|
6369
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
6356
6370
|
|
|
6357
6371
|
/*
|
|
6358
6372
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6424,7 +6438,7 @@ class ProtocolUtils {
|
|
|
6424
6438
|
}
|
|
6425
6439
|
}
|
|
6426
6440
|
|
|
6427
|
-
/*! @azure/msal-common v15.14.
|
|
6441
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
6428
6442
|
|
|
6429
6443
|
/*
|
|
6430
6444
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6506,7 +6520,7 @@ class PopTokenGenerator {
|
|
|
6506
6520
|
}
|
|
6507
6521
|
}
|
|
6508
6522
|
|
|
6509
|
-
/*! @azure/msal-common v15.14.
|
|
6523
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
6510
6524
|
/*
|
|
6511
6525
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6512
6526
|
* Licensed under the MIT License.
|
|
@@ -6533,7 +6547,7 @@ class PopTokenGenerator {
|
|
|
6533
6547
|
}
|
|
6534
6548
|
}
|
|
6535
6549
|
|
|
6536
|
-
/*! @azure/msal-common v15.14.
|
|
6550
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
6537
6551
|
|
|
6538
6552
|
/*
|
|
6539
6553
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6645,10 +6659,15 @@ class ResponseHandler {
|
|
|
6645
6659
|
if (handlingRefreshTokenResponse &&
|
|
6646
6660
|
!forceCacheRefreshTokenResponse &&
|
|
6647
6661
|
cacheRecord.account) {
|
|
6648
|
-
const
|
|
6649
|
-
|
|
6650
|
-
|
|
6662
|
+
const cachedAccounts = this.cacheStorage.getAllAccounts({
|
|
6663
|
+
homeAccountId: cacheRecord.account.homeAccountId,
|
|
6664
|
+
environment: cacheRecord.account.environment,
|
|
6665
|
+
}, request.correlationId);
|
|
6666
|
+
if (cachedAccounts.length < 1) {
|
|
6651
6667
|
this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache");
|
|
6668
|
+
this.performanceClient?.addFields({
|
|
6669
|
+
acntLoggedOut: true,
|
|
6670
|
+
}, request.correlationId);
|
|
6652
6671
|
return await ResponseHandler.generateAuthenticationResult(this.cryptoObj, authority, cacheRecord, false, request, idTokenClaims, requestStateObj, undefined, serverRequestId);
|
|
6653
6672
|
}
|
|
6654
6673
|
}
|
|
@@ -6867,7 +6886,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
6867
6886
|
return baseAccount;
|
|
6868
6887
|
}
|
|
6869
6888
|
|
|
6870
|
-
/*! @azure/msal-common v15.14.
|
|
6889
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
6871
6890
|
/*
|
|
6872
6891
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6873
6892
|
* Licensed under the MIT License.
|
|
@@ -6885,7 +6904,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
6885
6904
|
}
|
|
6886
6905
|
}
|
|
6887
6906
|
|
|
6888
|
-
/*! @azure/msal-common v15.14.
|
|
6907
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
6889
6908
|
|
|
6890
6909
|
/*
|
|
6891
6910
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7121,7 +7140,7 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
7121
7140
|
}
|
|
7122
7141
|
}
|
|
7123
7142
|
|
|
7124
|
-
/*! @azure/msal-common v15.14.
|
|
7143
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
7125
7144
|
|
|
7126
7145
|
/*
|
|
7127
7146
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7333,7 +7352,7 @@ class RefreshTokenClient extends BaseClient {
|
|
|
7333
7352
|
}
|
|
7334
7353
|
}
|
|
7335
7354
|
|
|
7336
|
-
/*! @azure/msal-common v15.14.
|
|
7355
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
7337
7356
|
|
|
7338
7357
|
/*
|
|
7339
7358
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7431,7 +7450,7 @@ class SilentFlowClient extends BaseClient {
|
|
|
7431
7450
|
}
|
|
7432
7451
|
}
|
|
7433
7452
|
|
|
7434
|
-
/*! @azure/msal-common v15.14.
|
|
7453
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
7435
7454
|
|
|
7436
7455
|
/*
|
|
7437
7456
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7581,7 +7600,7 @@ function extractLoginHint(account) {
|
|
|
7581
7600
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
7582
7601
|
}
|
|
7583
7602
|
|
|
7584
|
-
/*! @azure/msal-common v15.14.
|
|
7603
|
+
/*! @azure/msal-common v15.14.1 2026-01-17 */
|
|
7585
7604
|
|
|
7586
7605
|
/*
|
|
7587
7606
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8222,7 +8241,7 @@ class NetworkUtils {
|
|
|
8222
8241
|
|
|
8223
8242
|
/* eslint-disable header/header */
|
|
8224
8243
|
const name = "@azure/msal-node";
|
|
8225
|
-
const version = "3.8.
|
|
8244
|
+
const version = "3.8.6";
|
|
8226
8245
|
|
|
8227
8246
|
/*
|
|
8228
8247
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|