@azure/msal-node 5.1.2 → 5.1.3
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.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/TimeUtils.mjs +1 -1
- package/lib/msal-node.cjs +88 -89
- 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 v5.1.
|
|
1
|
+
/*! @azure/msal-node v5.1.3 2026-04-16 */
|
|
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.5.0 2026-04-16 */
|
|
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.5.0 2026-04-16 */
|
|
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.5.0 2026-04-16 */
|
|
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.5.0 2026-04-16 */
|
|
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.5.0 2026-04-16 */
|
|
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.5.0 2026-04-16 */
|
|
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.5.0 2026-04-16 */
|
|
609
609
|
/*
|
|
610
610
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
611
611
|
* Licensed under the MIT License.
|
|
@@ -659,7 +659,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
659
659
|
urlParseError: urlParseError
|
|
660
660
|
});
|
|
661
661
|
|
|
662
|
-
/*! @azure/msal-common v16.
|
|
662
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
663
663
|
/*
|
|
664
664
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
665
665
|
* Licensed under the MIT License.
|
|
@@ -747,7 +747,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
747
747
|
userCanceled: userCanceled
|
|
748
748
|
});
|
|
749
749
|
|
|
750
|
-
/*! @azure/msal-common v16.
|
|
750
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
751
751
|
|
|
752
752
|
/*
|
|
753
753
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -942,7 +942,7 @@ class ScopeSet {
|
|
|
942
942
|
}
|
|
943
943
|
}
|
|
944
944
|
|
|
945
|
-
/*! @azure/msal-common v16.
|
|
945
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
946
946
|
|
|
947
947
|
/*
|
|
948
948
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1057,18 +1057,29 @@ function addSid(parameters, sid) {
|
|
|
1057
1057
|
parameters.set(SID, sid);
|
|
1058
1058
|
}
|
|
1059
1059
|
/**
|
|
1060
|
-
*
|
|
1061
|
-
*
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1060
|
+
* Adds claims to request parameters, conditionally excluding clientCapabilities
|
|
1061
|
+
* when skipBrokerClaims is true and a brokered flow is in effect.
|
|
1062
|
+
* @param parameters - The request parameters map
|
|
1063
|
+
* @param claims - The claims string from the request
|
|
1064
|
+
* @param clientCapabilities - The client capabilities from configuration
|
|
1065
|
+
* @param skipBrokerClaims - When true and BROKER_CLIENT_ID is present, excludes clientCapabilities from claims
|
|
1066
|
+
*/
|
|
1067
|
+
function addClaims(parameters, claims, clientCapabilities, skipBrokerClaims) {
|
|
1068
|
+
// Skip clientCapabilities if skipBrokerClaims is set to true and this is a brokered authentication flow
|
|
1069
|
+
const configClaims = skipBrokerClaims && parameters.has(BROKER_CLIENT_ID)
|
|
1070
|
+
? undefined
|
|
1071
|
+
: clientCapabilities;
|
|
1072
|
+
if (!StringUtils.isEmptyObj(claims) ||
|
|
1073
|
+
(configClaims && configClaims.length > 0)) {
|
|
1074
|
+
const mergedClaims = addClientCapabilitiesToClaims(claims, configClaims);
|
|
1075
|
+
try {
|
|
1076
|
+
JSON.parse(mergedClaims);
|
|
1077
|
+
}
|
|
1078
|
+
catch (e) {
|
|
1079
|
+
throw createClientConfigurationError(invalidClaims);
|
|
1080
|
+
}
|
|
1081
|
+
parameters.set(CLAIMS, mergedClaims);
|
|
1070
1082
|
}
|
|
1071
|
-
parameters.set(CLAIMS, mergedClaims);
|
|
1072
1083
|
}
|
|
1073
1084
|
/**
|
|
1074
1085
|
* add correlationId
|
|
@@ -1338,7 +1349,7 @@ function addResource(parameters, resource) {
|
|
|
1338
1349
|
}
|
|
1339
1350
|
}
|
|
1340
1351
|
|
|
1341
|
-
/*! @azure/msal-common v16.
|
|
1352
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
1342
1353
|
/**
|
|
1343
1354
|
* Parses hash string from given string. Returns empty string if no hash symbol is found.
|
|
1344
1355
|
* @param hashString
|
|
@@ -1391,7 +1402,7 @@ function mapToQueryString(parameters) {
|
|
|
1391
1402
|
return queryParameterArray.join("&");
|
|
1392
1403
|
}
|
|
1393
1404
|
|
|
1394
|
-
/*! @azure/msal-common v16.
|
|
1405
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
1395
1406
|
|
|
1396
1407
|
/*
|
|
1397
1408
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1430,7 +1441,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
1430
1441
|
},
|
|
1431
1442
|
};
|
|
1432
1443
|
|
|
1433
|
-
/*! @azure/msal-common v16.
|
|
1444
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
1434
1445
|
/*
|
|
1435
1446
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1436
1447
|
* Licensed under the MIT License.
|
|
@@ -1691,12 +1702,12 @@ class Logger {
|
|
|
1691
1702
|
}
|
|
1692
1703
|
}
|
|
1693
1704
|
|
|
1694
|
-
/*! @azure/msal-common v16.
|
|
1705
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
1695
1706
|
/* eslint-disable header/header */
|
|
1696
1707
|
const name$1 = "@azure/msal-common";
|
|
1697
|
-
const version$1 = "16.
|
|
1708
|
+
const version$1 = "16.5.0";
|
|
1698
1709
|
|
|
1699
|
-
/*! @azure/msal-common v16.
|
|
1710
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
1700
1711
|
/*
|
|
1701
1712
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1702
1713
|
* Licensed under the MIT License.
|
|
@@ -1716,7 +1727,7 @@ const AzureCloudInstance = {
|
|
|
1716
1727
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
1717
1728
|
};
|
|
1718
1729
|
|
|
1719
|
-
/*! @azure/msal-common v16.
|
|
1730
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
1720
1731
|
/*
|
|
1721
1732
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1722
1733
|
* Licensed under the MIT License.
|
|
@@ -1798,7 +1809,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
1798
1809
|
return updatedAccountInfo;
|
|
1799
1810
|
}
|
|
1800
1811
|
|
|
1801
|
-
/*! @azure/msal-common v16.
|
|
1812
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
1802
1813
|
|
|
1803
1814
|
/*
|
|
1804
1815
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1878,7 +1889,7 @@ function checkMaxAge(authTime, maxAge) {
|
|
|
1878
1889
|
}
|
|
1879
1890
|
}
|
|
1880
1891
|
|
|
1881
|
-
/*! @azure/msal-common v16.
|
|
1892
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
1882
1893
|
|
|
1883
1894
|
/*
|
|
1884
1895
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2035,7 +2046,7 @@ class UrlString {
|
|
|
2035
2046
|
}
|
|
2036
2047
|
}
|
|
2037
2048
|
|
|
2038
|
-
/*! @azure/msal-common v16.
|
|
2049
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
2039
2050
|
|
|
2040
2051
|
/*
|
|
2041
2052
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2192,7 +2203,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2192
2203
|
return null;
|
|
2193
2204
|
}
|
|
2194
2205
|
|
|
2195
|
-
/*! @azure/msal-common v16.
|
|
2206
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
2196
2207
|
/*
|
|
2197
2208
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2198
2209
|
* Licensed under the MIT License.
|
|
@@ -2200,7 +2211,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2200
2211
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
2201
2212
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
2202
2213
|
|
|
2203
|
-
/*! @azure/msal-common v16.
|
|
2214
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
2204
2215
|
|
|
2205
2216
|
/*
|
|
2206
2217
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2238,7 +2249,7 @@ function createCacheError(e) {
|
|
|
2238
2249
|
}
|
|
2239
2250
|
}
|
|
2240
2251
|
|
|
2241
|
-
/*! @azure/msal-common v16.
|
|
2252
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
2242
2253
|
|
|
2243
2254
|
/*
|
|
2244
2255
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2276,7 +2287,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
2276
2287
|
};
|
|
2277
2288
|
}
|
|
2278
2289
|
|
|
2279
|
-
/*! @azure/msal-common v16.
|
|
2290
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
2280
2291
|
/*
|
|
2281
2292
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2282
2293
|
* Licensed under the MIT License.
|
|
@@ -2291,7 +2302,7 @@ const AuthorityType = {
|
|
|
2291
2302
|
Ciam: 3,
|
|
2292
2303
|
};
|
|
2293
2304
|
|
|
2294
|
-
/*! @azure/msal-common v16.
|
|
2305
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
2295
2306
|
/*
|
|
2296
2307
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2297
2308
|
* Licensed under the MIT License.
|
|
@@ -2313,7 +2324,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
2313
2324
|
return null;
|
|
2314
2325
|
}
|
|
2315
2326
|
|
|
2316
|
-
/*! @azure/msal-common v16.
|
|
2327
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
2317
2328
|
/*
|
|
2318
2329
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2319
2330
|
* Licensed under the MIT License.
|
|
@@ -2337,7 +2348,7 @@ const ProtocolMode = {
|
|
|
2337
2348
|
EAR: "EAR",
|
|
2338
2349
|
};
|
|
2339
2350
|
|
|
2340
|
-
/*! @azure/msal-common v16.
|
|
2351
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
2341
2352
|
/**
|
|
2342
2353
|
* Returns the AccountInfo interface for this account.
|
|
2343
2354
|
*/
|
|
@@ -2480,7 +2491,7 @@ function isAccountEntity(entity) {
|
|
|
2480
2491
|
entity.hasOwnProperty("authorityType"));
|
|
2481
2492
|
}
|
|
2482
2493
|
|
|
2483
|
-
/*! @azure/msal-common v16.
|
|
2494
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
2484
2495
|
|
|
2485
2496
|
/*
|
|
2486
2497
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3581,7 +3592,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3581
3592
|
}
|
|
3582
3593
|
}
|
|
3583
3594
|
|
|
3584
|
-
/*! @azure/msal-common v16.
|
|
3595
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
3585
3596
|
/*
|
|
3586
3597
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3587
3598
|
* Licensed under the MIT License.
|
|
@@ -3595,7 +3606,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3595
3606
|
const PerformanceEventStatus = {
|
|
3596
3607
|
InProgress: 1};
|
|
3597
3608
|
|
|
3598
|
-
/*! @azure/msal-common v16.
|
|
3609
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
3599
3610
|
|
|
3600
3611
|
/*
|
|
3601
3612
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3650,7 +3661,7 @@ class StubPerformanceClient {
|
|
|
3650
3661
|
}
|
|
3651
3662
|
}
|
|
3652
3663
|
|
|
3653
|
-
/*! @azure/msal-common v16.
|
|
3664
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
3654
3665
|
|
|
3655
3666
|
/*
|
|
3656
3667
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3745,7 +3756,7 @@ function isOidcProtocolMode(config) {
|
|
|
3745
3756
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
3746
3757
|
}
|
|
3747
3758
|
|
|
3748
|
-
/*! @azure/msal-common v16.
|
|
3759
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
3749
3760
|
/*
|
|
3750
3761
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3751
3762
|
* Licensed under the MIT License.
|
|
@@ -3772,7 +3783,7 @@ function isOidcProtocolMode(config) {
|
|
|
3772
3783
|
}
|
|
3773
3784
|
}
|
|
3774
3785
|
|
|
3775
|
-
/*! @azure/msal-common v16.
|
|
3786
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
3776
3787
|
/*
|
|
3777
3788
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3778
3789
|
* Licensed under the MIT License.
|
|
@@ -3827,7 +3838,7 @@ function delay(t, value) {
|
|
|
3827
3838
|
return new Promise((resolve) => setTimeout(() => resolve(value), t));
|
|
3828
3839
|
}
|
|
3829
3840
|
|
|
3830
|
-
/*! @azure/msal-common v16.
|
|
3841
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
3831
3842
|
|
|
3832
3843
|
/*
|
|
3833
3844
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4086,7 +4097,7 @@ function isAuthorityMetadataExpired(metadata) {
|
|
|
4086
4097
|
return metadata.expiresAt <= nowSeconds();
|
|
4087
4098
|
}
|
|
4088
4099
|
|
|
4089
|
-
/*! @azure/msal-common v16.
|
|
4100
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
4090
4101
|
/*
|
|
4091
4102
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4092
4103
|
* Licensed under the MIT License.
|
|
@@ -4148,7 +4159,7 @@ const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
|
|
|
4148
4159
|
*/
|
|
4149
4160
|
const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
|
|
4150
4161
|
|
|
4151
|
-
/*! @azure/msal-common v16.
|
|
4162
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
4152
4163
|
/*
|
|
4153
4164
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4154
4165
|
* Licensed under the MIT License.
|
|
@@ -4241,7 +4252,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
4241
4252
|
};
|
|
4242
4253
|
};
|
|
4243
4254
|
|
|
4244
|
-
/*! @azure/msal-common v16.
|
|
4255
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
4245
4256
|
|
|
4246
4257
|
/*
|
|
4247
4258
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4321,7 +4332,7 @@ class PopTokenGenerator {
|
|
|
4321
4332
|
}
|
|
4322
4333
|
}
|
|
4323
4334
|
|
|
4324
|
-
/*! @azure/msal-common v16.
|
|
4335
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
4325
4336
|
/*
|
|
4326
4337
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4327
4338
|
* Licensed under the MIT License.
|
|
@@ -4385,7 +4396,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
4385
4396
|
uxNotAllowed: uxNotAllowed
|
|
4386
4397
|
});
|
|
4387
4398
|
|
|
4388
|
-
/*! @azure/msal-common v16.
|
|
4399
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
4389
4400
|
|
|
4390
4401
|
/*
|
|
4391
4402
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4453,7 +4464,7 @@ function createInteractionRequiredAuthError(errorCode, errorMessage) {
|
|
|
4453
4464
|
return new InteractionRequiredAuthError(errorCode, errorMessage);
|
|
4454
4465
|
}
|
|
4455
4466
|
|
|
4456
|
-
/*! @azure/msal-common v16.
|
|
4467
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
4457
4468
|
|
|
4458
4469
|
/*
|
|
4459
4470
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4472,7 +4483,7 @@ class ServerError extends AuthError {
|
|
|
4472
4483
|
}
|
|
4473
4484
|
}
|
|
4474
4485
|
|
|
4475
|
-
/*! @azure/msal-common v16.
|
|
4486
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
4476
4487
|
/**
|
|
4477
4488
|
* Parses the state into the RequestStateObject, which contains the LibraryState info and the state passed by the user.
|
|
4478
4489
|
* @param base64Decode
|
|
@@ -4504,7 +4515,7 @@ function parseRequestState(base64Decode, state) {
|
|
|
4504
4515
|
}
|
|
4505
4516
|
}
|
|
4506
4517
|
|
|
4507
|
-
/*! @azure/msal-common v16.
|
|
4518
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
4508
4519
|
|
|
4509
4520
|
/*
|
|
4510
4521
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4852,7 +4863,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
4852
4863
|
return baseAccount;
|
|
4853
4864
|
}
|
|
4854
4865
|
|
|
4855
|
-
/*! @azure/msal-common v16.
|
|
4866
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
4856
4867
|
/*
|
|
4857
4868
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4858
4869
|
* Licensed under the MIT License.
|
|
@@ -4862,7 +4873,7 @@ const CcsCredentialType = {
|
|
|
4862
4873
|
UPN: "UPN",
|
|
4863
4874
|
};
|
|
4864
4875
|
|
|
4865
|
-
/*! @azure/msal-common v16.
|
|
4876
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
4866
4877
|
/*
|
|
4867
4878
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4868
4879
|
* Licensed under the MIT License.
|
|
@@ -4880,7 +4891,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
4880
4891
|
}
|
|
4881
4892
|
}
|
|
4882
4893
|
|
|
4883
|
-
/*! @azure/msal-common v16.
|
|
4894
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
4884
4895
|
/*
|
|
4885
4896
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4886
4897
|
* Licensed under the MIT License.
|
|
@@ -4901,7 +4912,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
4901
4912
|
};
|
|
4902
4913
|
}
|
|
4903
4914
|
|
|
4904
|
-
/*! @azure/msal-common v16.
|
|
4915
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
4905
4916
|
|
|
4906
4917
|
/*
|
|
4907
4918
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4987,7 +4998,7 @@ class ThrottlingUtils {
|
|
|
4987
4998
|
}
|
|
4988
4999
|
}
|
|
4989
5000
|
|
|
4990
|
-
/*! @azure/msal-common v16.
|
|
5001
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
4991
5002
|
|
|
4992
5003
|
/*
|
|
4993
5004
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5018,7 +5029,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
|
|
|
5018
5029
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
5019
5030
|
}
|
|
5020
5031
|
|
|
5021
|
-
/*! @azure/msal-common v16.
|
|
5032
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
5022
5033
|
|
|
5023
5034
|
/*
|
|
5024
5035
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5132,7 +5143,7 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
|
|
|
5132
5143
|
return response;
|
|
5133
5144
|
}
|
|
5134
5145
|
|
|
5135
|
-
/*! @azure/msal-common v16.
|
|
5146
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
5136
5147
|
/*
|
|
5137
5148
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5138
5149
|
* Licensed under the MIT License.
|
|
@@ -5144,7 +5155,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
5144
5155
|
response.hasOwnProperty("jwks_uri"));
|
|
5145
5156
|
}
|
|
5146
5157
|
|
|
5147
|
-
/*! @azure/msal-common v16.
|
|
5158
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
5148
5159
|
/*
|
|
5149
5160
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5150
5161
|
* Licensed under the MIT License.
|
|
@@ -5154,7 +5165,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
5154
5165
|
response.hasOwnProperty("metadata"));
|
|
5155
5166
|
}
|
|
5156
5167
|
|
|
5157
|
-
/*! @azure/msal-common v16.
|
|
5168
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
5158
5169
|
/*
|
|
5159
5170
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5160
5171
|
* Licensed under the MIT License.
|
|
@@ -5164,7 +5175,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
5164
5175
|
response.hasOwnProperty("error_description"));
|
|
5165
5176
|
}
|
|
5166
5177
|
|
|
5167
|
-
/*! @azure/msal-common v16.
|
|
5178
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
5168
5179
|
|
|
5169
5180
|
/*
|
|
5170
5181
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5269,7 +5280,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
5269
5280
|
},
|
|
5270
5281
|
};
|
|
5271
5282
|
|
|
5272
|
-
/*! @azure/msal-common v16.
|
|
5283
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
5273
5284
|
|
|
5274
5285
|
/*
|
|
5275
5286
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6092,7 +6103,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
6092
6103
|
};
|
|
6093
6104
|
}
|
|
6094
6105
|
|
|
6095
|
-
/*! @azure/msal-common v16.
|
|
6106
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
6096
6107
|
|
|
6097
6108
|
/*
|
|
6098
6109
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6126,7 +6137,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
6126
6137
|
}
|
|
6127
6138
|
}
|
|
6128
6139
|
|
|
6129
|
-
/*! @azure/msal-common v16.
|
|
6140
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
6130
6141
|
|
|
6131
6142
|
/*
|
|
6132
6143
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6291,11 +6302,6 @@ class AuthorizationCodeClient {
|
|
|
6291
6302
|
throw createClientConfigurationError(missingSshJwk);
|
|
6292
6303
|
}
|
|
6293
6304
|
}
|
|
6294
|
-
if (!StringUtils.isEmptyObj(request.claims) ||
|
|
6295
|
-
(this.config.authOptions.clientCapabilities &&
|
|
6296
|
-
this.config.authOptions.clientCapabilities.length > 0)) {
|
|
6297
|
-
addClaims(parameters, request.claims, this.config.authOptions.clientCapabilities);
|
|
6298
|
-
}
|
|
6299
6305
|
let ccsCred = undefined;
|
|
6300
6306
|
if (request.clientInfo) {
|
|
6301
6307
|
try {
|
|
@@ -6344,6 +6350,7 @@ class AuthorizationCodeClient {
|
|
|
6344
6350
|
});
|
|
6345
6351
|
}
|
|
6346
6352
|
instrumentBrokerParams(parameters, request.correlationId, this.performanceClient);
|
|
6353
|
+
addClaims(parameters, request.claims, this.config.authOptions.clientCapabilities, request.skipBrokerClaims);
|
|
6347
6354
|
return mapToQueryString(parameters);
|
|
6348
6355
|
}
|
|
6349
6356
|
/**
|
|
@@ -6387,7 +6394,7 @@ class AuthorizationCodeClient {
|
|
|
6387
6394
|
}
|
|
6388
6395
|
}
|
|
6389
6396
|
|
|
6390
|
-
/*! @azure/msal-common v16.
|
|
6397
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
6391
6398
|
|
|
6392
6399
|
/*
|
|
6393
6400
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6577,11 +6584,6 @@ class RefreshTokenClient {
|
|
|
6577
6584
|
throw createClientConfigurationError(missingSshJwk);
|
|
6578
6585
|
}
|
|
6579
6586
|
}
|
|
6580
|
-
if (!StringUtils.isEmptyObj(request.claims) ||
|
|
6581
|
-
(this.config.authOptions.clientCapabilities &&
|
|
6582
|
-
this.config.authOptions.clientCapabilities.length > 0)) {
|
|
6583
|
-
addClaims(parameters, request.claims, this.config.authOptions.clientCapabilities);
|
|
6584
|
-
}
|
|
6585
6587
|
if (this.config.systemOptions.preventCorsPreflight &&
|
|
6586
6588
|
request.ccsCredential) {
|
|
6587
6589
|
switch (request.ccsCredential.type) {
|
|
@@ -6608,11 +6610,12 @@ class RefreshTokenClient {
|
|
|
6608
6610
|
});
|
|
6609
6611
|
}
|
|
6610
6612
|
instrumentBrokerParams(parameters, request.correlationId, this.performanceClient);
|
|
6613
|
+
addClaims(parameters, request.claims, this.config.authOptions.clientCapabilities, request.skipBrokerClaims);
|
|
6611
6614
|
return mapToQueryString(parameters);
|
|
6612
6615
|
}
|
|
6613
6616
|
}
|
|
6614
6617
|
|
|
6615
|
-
/*! @azure/msal-common v16.
|
|
6618
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
6616
6619
|
|
|
6617
6620
|
/*
|
|
6618
6621
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6728,7 +6731,7 @@ class SilentFlowClient {
|
|
|
6728
6731
|
}
|
|
6729
6732
|
}
|
|
6730
6733
|
|
|
6731
|
-
/*! @azure/msal-common v16.
|
|
6734
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
6732
6735
|
|
|
6733
6736
|
/*
|
|
6734
6737
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6844,14 +6847,10 @@ function getStandardAuthorizeRequestParameters(authOptions, request, logger, per
|
|
|
6844
6847
|
if (request.state) {
|
|
6845
6848
|
addState(parameters, request.state);
|
|
6846
6849
|
}
|
|
6847
|
-
if (request.claims ||
|
|
6848
|
-
(authOptions.clientCapabilities &&
|
|
6849
|
-
authOptions.clientCapabilities.length > 0)) {
|
|
6850
|
-
addClaims(parameters, request.claims, authOptions.clientCapabilities);
|
|
6851
|
-
}
|
|
6852
6850
|
if (request.embeddedClientId) {
|
|
6853
6851
|
addBrokerParameters(parameters, authOptions.clientId, authOptions.redirectUri);
|
|
6854
6852
|
}
|
|
6853
|
+
addClaims(parameters, request.claims, authOptions.clientCapabilities, request.skipBrokerClaims);
|
|
6855
6854
|
// If extraQueryParameters includes instance_aware its value will be added when extraQueryParameters are added
|
|
6856
6855
|
if (authOptions.instanceAware &&
|
|
6857
6856
|
(!request.extraQueryParameters ||
|
|
@@ -6881,7 +6880,7 @@ function extractLoginHint(account) {
|
|
|
6881
6880
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
6882
6881
|
}
|
|
6883
6882
|
|
|
6884
|
-
/*! @azure/msal-common v16.
|
|
6883
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
6885
6884
|
|
|
6886
6885
|
/*
|
|
6887
6886
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6914,7 +6913,7 @@ function containsResourceParam(params) {
|
|
|
6914
6913
|
return Object.prototype.hasOwnProperty.call(params, "resource");
|
|
6915
6914
|
}
|
|
6916
6915
|
|
|
6917
|
-
/*! @azure/msal-common v16.
|
|
6916
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
6918
6917
|
/*
|
|
6919
6918
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6920
6919
|
* Licensed under the MIT License.
|
|
@@ -6931,7 +6930,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
6931
6930
|
unexpectedError: unexpectedError
|
|
6932
6931
|
});
|
|
6933
6932
|
|
|
6934
|
-
/*! @azure/msal-common v16.
|
|
6933
|
+
/*! @azure/msal-common v16.5.0 2026-04-16 */
|
|
6935
6934
|
|
|
6936
6935
|
/*
|
|
6937
6936
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -9134,7 +9133,7 @@ class ClientAssertion {
|
|
|
9134
9133
|
|
|
9135
9134
|
/* eslint-disable header/header */
|
|
9136
9135
|
const name = "@azure/msal-node";
|
|
9137
|
-
const version = "5.1.
|
|
9136
|
+
const version = "5.1.3";
|
|
9138
9137
|
|
|
9139
9138
|
/*
|
|
9140
9139
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|