@azure/msal-node 3.8.8 → 3.8.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -20
- 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 +126 -76
- 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.9 2026-03-13 */
|
|
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.
|
|
156
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
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.
|
|
436
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
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.
|
|
453
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
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.
|
|
502
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
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.
|
|
602
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
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.
|
|
859
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
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.
|
|
898
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
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.
|
|
1089
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
1090
1090
|
/* eslint-disable header/header */
|
|
1091
1091
|
const name$1 = "@azure/msal-common";
|
|
1092
|
-
const version$1 = "15.
|
|
1092
|
+
const version$1 = "15.16.1";
|
|
1093
1093
|
|
|
1094
|
-
/*! @azure/msal-common v15.
|
|
1094
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
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.
|
|
1114
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
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.
|
|
1172
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
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.
|
|
1320
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
1321
1321
|
/*
|
|
1322
1322
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1323
1323
|
* Licensed under the MIT License.
|
|
@@ -1412,9 +1412,48 @@ class StringUtils {
|
|
|
1412
1412
|
.replace(/\?/g, "\\?"));
|
|
1413
1413
|
return regex.test(input);
|
|
1414
1414
|
}
|
|
1415
|
+
/**
|
|
1416
|
+
* Tests if a given string matches a given pattern using stricter, anchored matching semantics.
|
|
1417
|
+
*
|
|
1418
|
+
* Differences from `matchPattern` (legacy):
|
|
1419
|
+
* - All regex metacharacters (including `.`) in the pattern are treated as literals,
|
|
1420
|
+
* so `example.com` matches only `example.com` and not `exampleXcom`.
|
|
1421
|
+
* - The generated regex is anchored with `^` and `$` so partial/substring matches
|
|
1422
|
+
* are not allowed.
|
|
1423
|
+
* - `*` is the only supported wildcard. Its behaviour depends on the URL component:
|
|
1424
|
+
* - `host` component: `*` matches any sequence of characters that does NOT include
|
|
1425
|
+
* a dot (`.`), keeping wildcards within a single DNS label boundary.
|
|
1426
|
+
* - All other components: `*` matches any sequence of characters (including `/`).
|
|
1427
|
+
*
|
|
1428
|
+
* @param pattern - The `protectedResourceMap` key pattern to match against. `*` is a
|
|
1429
|
+
* multi-character wildcard; all other characters are treated as literals.
|
|
1430
|
+
* @param input - The URL component value (e.g. host, pathname) extracted from the
|
|
1431
|
+
* outgoing request URL to test against the pattern.
|
|
1432
|
+
* @param options - Optional. Provide `component` to enable component-aware wildcard
|
|
1433
|
+
* semantics. Accepted values: `"host"`, `"path"`, `"protocol"`, `"search"`,
|
|
1434
|
+
* `"hash"`. Defaults to path-style (permissive) matching when omitted.
|
|
1435
|
+
* @returns `true` if the full input string matches the pattern; `false` otherwise.
|
|
1436
|
+
*/
|
|
1437
|
+
static matchPatternStrict(pattern, input, options) {
|
|
1438
|
+
const component = options?.component;
|
|
1439
|
+
// Step 1: Escape all regex special characters so literals are matched literally.
|
|
1440
|
+
let regexBody = pattern.replace(/[.+^${}()|[\]\\*?]/g, "\\$&");
|
|
1441
|
+
// Step 2: Replace the escaped '*' with its component-aware regex equivalent.
|
|
1442
|
+
if (component === "host") {
|
|
1443
|
+
regexBody = regexBody.replace(/\\\*/g, "[^.]*");
|
|
1444
|
+
}
|
|
1445
|
+
else {
|
|
1446
|
+
// PATH, PROTOCOL, SEARCH, HASH, or unspecified: '*' matches any characters.
|
|
1447
|
+
regexBody = regexBody.replace(/\\\*/g, ".*");
|
|
1448
|
+
}
|
|
1449
|
+
// Step 3: Anchor for full-string matching.
|
|
1450
|
+
// eslint-disable-next-line security/detect-non-literal-regexp
|
|
1451
|
+
const regex = new RegExp(`^${regexBody}$`);
|
|
1452
|
+
return regex.test(input);
|
|
1453
|
+
}
|
|
1415
1454
|
}
|
|
1416
1455
|
|
|
1417
|
-
/*! @azure/msal-common v15.
|
|
1456
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
1418
1457
|
|
|
1419
1458
|
/*
|
|
1420
1459
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1609,7 +1648,7 @@ class ScopeSet {
|
|
|
1609
1648
|
}
|
|
1610
1649
|
}
|
|
1611
1650
|
|
|
1612
|
-
/*! @azure/msal-common v15.
|
|
1651
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
1613
1652
|
|
|
1614
1653
|
/*
|
|
1615
1654
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1649,7 +1688,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
1649
1688
|
};
|
|
1650
1689
|
}
|
|
1651
1690
|
|
|
1652
|
-
/*! @azure/msal-common v15.
|
|
1691
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
1653
1692
|
/*
|
|
1654
1693
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1655
1694
|
* Licensed under the MIT License.
|
|
@@ -1731,7 +1770,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
1731
1770
|
return updatedAccountInfo;
|
|
1732
1771
|
}
|
|
1733
1772
|
|
|
1734
|
-
/*! @azure/msal-common v15.
|
|
1773
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
1735
1774
|
/*
|
|
1736
1775
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1737
1776
|
* Licensed under the MIT License.
|
|
@@ -1746,7 +1785,7 @@ const AuthorityType = {
|
|
|
1746
1785
|
Ciam: 3,
|
|
1747
1786
|
};
|
|
1748
1787
|
|
|
1749
|
-
/*! @azure/msal-common v15.
|
|
1788
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
1750
1789
|
/*
|
|
1751
1790
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1752
1791
|
* Licensed under the MIT License.
|
|
@@ -1768,7 +1807,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
1768
1807
|
return null;
|
|
1769
1808
|
}
|
|
1770
1809
|
|
|
1771
|
-
/*! @azure/msal-common v15.
|
|
1810
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
1772
1811
|
/*
|
|
1773
1812
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1774
1813
|
* Licensed under the MIT License.
|
|
@@ -1792,7 +1831,7 @@ const ProtocolMode = {
|
|
|
1792
1831
|
EAR: "EAR",
|
|
1793
1832
|
};
|
|
1794
1833
|
|
|
1795
|
-
/*! @azure/msal-common v15.
|
|
1834
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
1796
1835
|
|
|
1797
1836
|
/*
|
|
1798
1837
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2027,7 +2066,7 @@ class AccountEntity {
|
|
|
2027
2066
|
}
|
|
2028
2067
|
}
|
|
2029
2068
|
|
|
2030
|
-
/*! @azure/msal-common v15.
|
|
2069
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
2031
2070
|
|
|
2032
2071
|
/*
|
|
2033
2072
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2108,7 +2147,7 @@ function checkMaxAge(authTime, maxAge) {
|
|
|
2108
2147
|
}
|
|
2109
2148
|
}
|
|
2110
2149
|
|
|
2111
|
-
/*! @azure/msal-common v15.
|
|
2150
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
2112
2151
|
/**
|
|
2113
2152
|
* Parses hash string from given string. Returns empty string if no hash symbol is found.
|
|
2114
2153
|
* @param hashString
|
|
@@ -2168,7 +2207,7 @@ function mapToQueryString(parameters, encodeExtraParams = true, extraQueryParame
|
|
|
2168
2207
|
return queryParameterArray.join("&");
|
|
2169
2208
|
}
|
|
2170
2209
|
|
|
2171
|
-
/*! @azure/msal-common v15.
|
|
2210
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
2172
2211
|
|
|
2173
2212
|
/*
|
|
2174
2213
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2332,7 +2371,7 @@ class UrlString {
|
|
|
2332
2371
|
}
|
|
2333
2372
|
}
|
|
2334
2373
|
|
|
2335
|
-
/*! @azure/msal-common v15.
|
|
2374
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
2336
2375
|
|
|
2337
2376
|
/*
|
|
2338
2377
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2507,7 +2546,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2507
2546
|
return null;
|
|
2508
2547
|
}
|
|
2509
2548
|
|
|
2510
|
-
/*! @azure/msal-common v15.
|
|
2549
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
2511
2550
|
/*
|
|
2512
2551
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2513
2552
|
* Licensed under the MIT License.
|
|
@@ -2515,7 +2554,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2515
2554
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
2516
2555
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
2517
2556
|
|
|
2518
|
-
/*! @azure/msal-common v15.
|
|
2557
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
2519
2558
|
|
|
2520
2559
|
/*
|
|
2521
2560
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2560,7 +2599,7 @@ function createCacheError(e) {
|
|
|
2560
2599
|
}
|
|
2561
2600
|
}
|
|
2562
2601
|
|
|
2563
|
-
/*! @azure/msal-common v15.
|
|
2602
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
2564
2603
|
|
|
2565
2604
|
/*
|
|
2566
2605
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3670,7 +3709,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3670
3709
|
}
|
|
3671
3710
|
}
|
|
3672
3711
|
|
|
3673
|
-
/*! @azure/msal-common v15.
|
|
3712
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
3674
3713
|
/*
|
|
3675
3714
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3676
3715
|
* Licensed under the MIT License.
|
|
@@ -3947,7 +3986,7 @@ const PerformanceEvents = {
|
|
|
3947
3986
|
const PerformanceEventStatus = {
|
|
3948
3987
|
InProgress: 1};
|
|
3949
3988
|
|
|
3950
|
-
/*! @azure/msal-common v15.
|
|
3989
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
3951
3990
|
|
|
3952
3991
|
/*
|
|
3953
3992
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4026,7 +4065,7 @@ class StubPerformanceClient {
|
|
|
4026
4065
|
}
|
|
4027
4066
|
}
|
|
4028
4067
|
|
|
4029
|
-
/*! @azure/msal-common v15.
|
|
4068
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
4030
4069
|
|
|
4031
4070
|
/*
|
|
4032
4071
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4126,7 +4165,7 @@ function isOidcProtocolMode(config) {
|
|
|
4126
4165
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
4127
4166
|
}
|
|
4128
4167
|
|
|
4129
|
-
/*! @azure/msal-common v15.
|
|
4168
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
4130
4169
|
/*
|
|
4131
4170
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4132
4171
|
* Licensed under the MIT License.
|
|
@@ -4136,7 +4175,7 @@ const CcsCredentialType = {
|
|
|
4136
4175
|
UPN: "UPN",
|
|
4137
4176
|
};
|
|
4138
4177
|
|
|
4139
|
-
/*! @azure/msal-common v15.
|
|
4178
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
4140
4179
|
/*
|
|
4141
4180
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4142
4181
|
* Licensed under the MIT License.
|
|
@@ -4187,7 +4226,7 @@ const BROKER_CLIENT_ID = "brk_client_id";
|
|
|
4187
4226
|
const BROKER_REDIRECT_URI = "brk_redirect_uri";
|
|
4188
4227
|
const INSTANCE_AWARE = "instance_aware";
|
|
4189
4228
|
|
|
4190
|
-
/*! @azure/msal-common v15.
|
|
4229
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
4191
4230
|
|
|
4192
4231
|
/*
|
|
4193
4232
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4573,7 +4612,7 @@ function addBrokerParameters(parameters, brokerClientId, brokerRedirectUri) {
|
|
|
4573
4612
|
}
|
|
4574
4613
|
}
|
|
4575
4614
|
|
|
4576
|
-
/*! @azure/msal-common v15.
|
|
4615
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
4577
4616
|
/*
|
|
4578
4617
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4579
4618
|
* Licensed under the MIT License.
|
|
@@ -4585,7 +4624,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
4585
4624
|
response.hasOwnProperty("jwks_uri"));
|
|
4586
4625
|
}
|
|
4587
4626
|
|
|
4588
|
-
/*! @azure/msal-common v15.
|
|
4627
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
4589
4628
|
/*
|
|
4590
4629
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4591
4630
|
* Licensed under the MIT License.
|
|
@@ -4595,7 +4634,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
4595
4634
|
response.hasOwnProperty("metadata"));
|
|
4596
4635
|
}
|
|
4597
4636
|
|
|
4598
|
-
/*! @azure/msal-common v15.
|
|
4637
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
4599
4638
|
/*
|
|
4600
4639
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4601
4640
|
* Licensed under the MIT License.
|
|
@@ -4605,7 +4644,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
4605
4644
|
response.hasOwnProperty("error_description"));
|
|
4606
4645
|
}
|
|
4607
4646
|
|
|
4608
|
-
/*! @azure/msal-common v15.
|
|
4647
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
4609
4648
|
/*
|
|
4610
4649
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4611
4650
|
* Licensed under the MIT License.
|
|
@@ -4701,7 +4740,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
4701
4740
|
};
|
|
4702
4741
|
};
|
|
4703
4742
|
|
|
4704
|
-
/*! @azure/msal-common v15.
|
|
4743
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
4705
4744
|
|
|
4706
4745
|
/*
|
|
4707
4746
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4807,7 +4846,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
4807
4846
|
},
|
|
4808
4847
|
};
|
|
4809
4848
|
|
|
4810
|
-
/*! @azure/msal-common v15.
|
|
4849
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
4811
4850
|
/*
|
|
4812
4851
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4813
4852
|
* Licensed under the MIT License.
|
|
@@ -4862,7 +4901,7 @@ function delay(t, value) {
|
|
|
4862
4901
|
return new Promise((resolve) => setTimeout(() => resolve(value), t));
|
|
4863
4902
|
}
|
|
4864
4903
|
|
|
4865
|
-
/*! @azure/msal-common v15.
|
|
4904
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
4866
4905
|
|
|
4867
4906
|
/*
|
|
4868
4907
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5124,7 +5163,7 @@ function isAuthorityMetadataExpired(metadata) {
|
|
|
5124
5163
|
return metadata.expiresAt <= nowSeconds();
|
|
5125
5164
|
}
|
|
5126
5165
|
|
|
5127
|
-
/*! @azure/msal-common v15.
|
|
5166
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
5128
5167
|
|
|
5129
5168
|
/*
|
|
5130
5169
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5963,7 +6002,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
5963
6002
|
};
|
|
5964
6003
|
}
|
|
5965
6004
|
|
|
5966
|
-
/*! @azure/msal-common v15.
|
|
6005
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
5967
6006
|
|
|
5968
6007
|
/*
|
|
5969
6008
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5994,7 +6033,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
5994
6033
|
}
|
|
5995
6034
|
}
|
|
5996
6035
|
|
|
5997
|
-
/*! @azure/msal-common v15.
|
|
6036
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
5998
6037
|
|
|
5999
6038
|
/*
|
|
6000
6039
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6013,7 +6052,7 @@ class ServerError extends AuthError {
|
|
|
6013
6052
|
}
|
|
6014
6053
|
}
|
|
6015
6054
|
|
|
6016
|
-
/*! @azure/msal-common v15.
|
|
6055
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
6017
6056
|
/*
|
|
6018
6057
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6019
6058
|
* Licensed under the MIT License.
|
|
@@ -6034,7 +6073,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
6034
6073
|
};
|
|
6035
6074
|
}
|
|
6036
6075
|
|
|
6037
|
-
/*! @azure/msal-common v15.
|
|
6076
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
6038
6077
|
|
|
6039
6078
|
/*
|
|
6040
6079
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6121,7 +6160,7 @@ class ThrottlingUtils {
|
|
|
6121
6160
|
}
|
|
6122
6161
|
}
|
|
6123
6162
|
|
|
6124
|
-
/*! @azure/msal-common v15.
|
|
6163
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
6125
6164
|
|
|
6126
6165
|
/*
|
|
6127
6166
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6141,7 +6180,7 @@ class NetworkError extends AuthError {
|
|
|
6141
6180
|
}
|
|
6142
6181
|
}
|
|
6143
6182
|
|
|
6144
|
-
/*! @azure/msal-common v15.
|
|
6183
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
6145
6184
|
|
|
6146
6185
|
/*
|
|
6147
6186
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6289,7 +6328,7 @@ class BaseClient {
|
|
|
6289
6328
|
}
|
|
6290
6329
|
}
|
|
6291
6330
|
|
|
6292
|
-
/*! @azure/msal-common v15.
|
|
6331
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
6293
6332
|
/*
|
|
6294
6333
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6295
6334
|
* Licensed under the MIT License.
|
|
@@ -6353,7 +6392,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
6353
6392
|
uxNotAllowed: uxNotAllowed
|
|
6354
6393
|
});
|
|
6355
6394
|
|
|
6356
|
-
/*! @azure/msal-common v15.
|
|
6395
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
6357
6396
|
|
|
6358
6397
|
/*
|
|
6359
6398
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6450,7 +6489,7 @@ function createInteractionRequiredAuthError(errorCode) {
|
|
|
6450
6489
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
6451
6490
|
}
|
|
6452
6491
|
|
|
6453
|
-
/*! @azure/msal-common v15.
|
|
6492
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
6454
6493
|
|
|
6455
6494
|
/*
|
|
6456
6495
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6522,7 +6561,7 @@ class ProtocolUtils {
|
|
|
6522
6561
|
}
|
|
6523
6562
|
}
|
|
6524
6563
|
|
|
6525
|
-
/*! @azure/msal-common v15.
|
|
6564
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
6526
6565
|
|
|
6527
6566
|
/*
|
|
6528
6567
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6604,7 +6643,7 @@ class PopTokenGenerator {
|
|
|
6604
6643
|
}
|
|
6605
6644
|
}
|
|
6606
6645
|
|
|
6607
|
-
/*! @azure/msal-common v15.
|
|
6646
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
6608
6647
|
/*
|
|
6609
6648
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6610
6649
|
* Licensed under the MIT License.
|
|
@@ -6631,7 +6670,7 @@ class PopTokenGenerator {
|
|
|
6631
6670
|
}
|
|
6632
6671
|
}
|
|
6633
6672
|
|
|
6634
|
-
/*! @azure/msal-common v15.
|
|
6673
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
6635
6674
|
|
|
6636
6675
|
/*
|
|
6637
6676
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6970,7 +7009,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
6970
7009
|
return baseAccount;
|
|
6971
7010
|
}
|
|
6972
7011
|
|
|
6973
|
-
/*! @azure/msal-common v15.
|
|
7012
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
6974
7013
|
/*
|
|
6975
7014
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6976
7015
|
* Licensed under the MIT License.
|
|
@@ -6988,7 +7027,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
6988
7027
|
}
|
|
6989
7028
|
}
|
|
6990
7029
|
|
|
6991
|
-
/*! @azure/msal-common v15.
|
|
7030
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
6992
7031
|
|
|
6993
7032
|
/*
|
|
6994
7033
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7137,11 +7176,6 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
7137
7176
|
throw createClientConfigurationError(missingSshJwk);
|
|
7138
7177
|
}
|
|
7139
7178
|
}
|
|
7140
|
-
if (!StringUtils.isEmptyObj(request.claims) ||
|
|
7141
|
-
(this.config.authOptions.clientCapabilities &&
|
|
7142
|
-
this.config.authOptions.clientCapabilities.length > 0)) {
|
|
7143
|
-
addClaims(parameters, request.claims, this.config.authOptions.clientCapabilities);
|
|
7144
|
-
}
|
|
7145
7179
|
let ccsCred = undefined;
|
|
7146
7180
|
if (request.clientInfo) {
|
|
7147
7181
|
try {
|
|
@@ -7191,6 +7225,15 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
7191
7225
|
});
|
|
7192
7226
|
}
|
|
7193
7227
|
instrumentBrokerParams(parameters, request.correlationId, this.performanceClient);
|
|
7228
|
+
// ignore config claims if skipBrokerClaims is set to true and this is a brokered authentication flow
|
|
7229
|
+
const configClaims = request.skipBrokerClaims &&
|
|
7230
|
+
parameters.has(BROKER_CLIENT_ID)
|
|
7231
|
+
? undefined
|
|
7232
|
+
: this.config.authOptions.clientCapabilities;
|
|
7233
|
+
if (!StringUtils.isEmptyObj(request.claims) ||
|
|
7234
|
+
(configClaims && configClaims.length > 0)) {
|
|
7235
|
+
addClaims(parameters, request.claims, configClaims);
|
|
7236
|
+
}
|
|
7194
7237
|
return mapToQueryString(parameters);
|
|
7195
7238
|
}
|
|
7196
7239
|
/**
|
|
@@ -7224,7 +7267,7 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
7224
7267
|
}
|
|
7225
7268
|
}
|
|
7226
7269
|
|
|
7227
|
-
/*! @azure/msal-common v15.
|
|
7270
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
7228
7271
|
|
|
7229
7272
|
/*
|
|
7230
7273
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7402,11 +7445,6 @@ class RefreshTokenClient extends BaseClient {
|
|
|
7402
7445
|
throw createClientConfigurationError(missingSshJwk);
|
|
7403
7446
|
}
|
|
7404
7447
|
}
|
|
7405
|
-
if (!StringUtils.isEmptyObj(request.claims) ||
|
|
7406
|
-
(this.config.authOptions.clientCapabilities &&
|
|
7407
|
-
this.config.authOptions.clientCapabilities.length > 0)) {
|
|
7408
|
-
addClaims(parameters, request.claims, this.config.authOptions.clientCapabilities);
|
|
7409
|
-
}
|
|
7410
7448
|
if (this.config.systemOptions.preventCorsPreflight &&
|
|
7411
7449
|
request.ccsCredential) {
|
|
7412
7450
|
switch (request.ccsCredential.type) {
|
|
@@ -7432,11 +7470,20 @@ class RefreshTokenClient extends BaseClient {
|
|
|
7432
7470
|
addExtraQueryParameters(parameters, request.tokenBodyParameters);
|
|
7433
7471
|
}
|
|
7434
7472
|
instrumentBrokerParams(parameters, request.correlationId, this.performanceClient);
|
|
7473
|
+
// ignore config claims if skipBrokerClaims is set to true and this is a brokered authentication flow
|
|
7474
|
+
const configClaims = request.skipBrokerClaims &&
|
|
7475
|
+
parameters.has(BROKER_CLIENT_ID)
|
|
7476
|
+
? undefined
|
|
7477
|
+
: this.config.authOptions.clientCapabilities;
|
|
7478
|
+
if (!StringUtils.isEmptyObj(request.claims) ||
|
|
7479
|
+
(configClaims && configClaims.length > 0)) {
|
|
7480
|
+
addClaims(parameters, request.claims, configClaims);
|
|
7481
|
+
}
|
|
7435
7482
|
return mapToQueryString(parameters);
|
|
7436
7483
|
}
|
|
7437
7484
|
}
|
|
7438
7485
|
|
|
7439
|
-
/*! @azure/msal-common v15.
|
|
7486
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
7440
7487
|
|
|
7441
7488
|
/*
|
|
7442
7489
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7534,7 +7581,7 @@ class SilentFlowClient extends BaseClient {
|
|
|
7534
7581
|
}
|
|
7535
7582
|
}
|
|
7536
7583
|
|
|
7537
|
-
/*! @azure/msal-common v15.
|
|
7584
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
7538
7585
|
|
|
7539
7586
|
/*
|
|
7540
7587
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7647,14 +7694,17 @@ function getStandardAuthorizeRequestParameters(authOptions, request, logger, per
|
|
|
7647
7694
|
if (request.state) {
|
|
7648
7695
|
addState(parameters, request.state);
|
|
7649
7696
|
}
|
|
7650
|
-
if (request.claims ||
|
|
7651
|
-
(authOptions.clientCapabilities &&
|
|
7652
|
-
authOptions.clientCapabilities.length > 0)) {
|
|
7653
|
-
addClaims(parameters, request.claims, authOptions.clientCapabilities);
|
|
7654
|
-
}
|
|
7655
7697
|
if (request.embeddedClientId) {
|
|
7656
7698
|
addBrokerParameters(parameters, authOptions.clientId, authOptions.redirectUri);
|
|
7657
7699
|
}
|
|
7700
|
+
// ignore config claims if skipBrokerClaims is set to true and this is a brokered authentication flow
|
|
7701
|
+
const configClaims = request.skipBrokerClaims &&
|
|
7702
|
+
parameters.has(BROKER_CLIENT_ID)
|
|
7703
|
+
? undefined
|
|
7704
|
+
: authOptions.clientCapabilities;
|
|
7705
|
+
if (request.claims || (configClaims && configClaims.length > 0)) {
|
|
7706
|
+
addClaims(parameters, request.claims, configClaims);
|
|
7707
|
+
}
|
|
7658
7708
|
// If extraQueryParameters includes instance_aware its value will be added when extraQueryParameters are added
|
|
7659
7709
|
if (authOptions.instanceAware &&
|
|
7660
7710
|
(!request.extraQueryParameters ||
|
|
@@ -7684,7 +7734,7 @@ function extractLoginHint(account) {
|
|
|
7684
7734
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
7685
7735
|
}
|
|
7686
7736
|
|
|
7687
|
-
/*! @azure/msal-common v15.
|
|
7737
|
+
/*! @azure/msal-common v15.16.1 2026-03-13 */
|
|
7688
7738
|
|
|
7689
7739
|
/*
|
|
7690
7740
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8325,7 +8375,7 @@ class NetworkUtils {
|
|
|
8325
8375
|
|
|
8326
8376
|
/* eslint-disable header/header */
|
|
8327
8377
|
const name = "@azure/msal-node";
|
|
8328
|
-
const version = "3.8.
|
|
8378
|
+
const version = "3.8.9";
|
|
8329
8379
|
|
|
8330
8380
|
/*
|
|
8331
8381
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|