@azure/msal-node 5.1.0 → 5.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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 +78 -64
- 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.1 2026-03-18 */
|
|
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.4.0 2026-03-18 */
|
|
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.4.0 2026-03-18 */
|
|
402
402
|
/*
|
|
403
403
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
404
404
|
* Licensed under the MIT License.
|
|
@@ -448,9 +448,10 @@ const X_CLIENT_EXTRA_SKU = "x-client-xtra-sku";
|
|
|
448
448
|
const BROKER_CLIENT_ID = "brk_client_id";
|
|
449
449
|
const BROKER_REDIRECT_URI = "brk_redirect_uri";
|
|
450
450
|
const INSTANCE_AWARE = "instance_aware";
|
|
451
|
-
const RESOURCE = "resource";
|
|
451
|
+
const RESOURCE = "resource";
|
|
452
|
+
const CLI_DATA = "clidata";
|
|
452
453
|
|
|
453
|
-
/*! @azure/msal-common v16.
|
|
454
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
454
455
|
/*
|
|
455
456
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
456
457
|
* Licensed under the MIT License.
|
|
@@ -481,7 +482,7 @@ function createAuthError(code, additionalMessage) {
|
|
|
481
482
|
return new AuthError(code, additionalMessage || getDefaultErrorMessage(code));
|
|
482
483
|
}
|
|
483
484
|
|
|
484
|
-
/*! @azure/msal-common v16.
|
|
485
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
485
486
|
|
|
486
487
|
/*
|
|
487
488
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -501,7 +502,7 @@ function createClientConfigurationError(errorCode) {
|
|
|
501
502
|
return new ClientConfigurationError(errorCode);
|
|
502
503
|
}
|
|
503
504
|
|
|
504
|
-
/*! @azure/msal-common v16.
|
|
505
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
505
506
|
/*
|
|
506
507
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
507
508
|
* Licensed under the MIT License.
|
|
@@ -581,7 +582,7 @@ class StringUtils {
|
|
|
581
582
|
}
|
|
582
583
|
}
|
|
583
584
|
|
|
584
|
-
/*! @azure/msal-common v16.
|
|
585
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
585
586
|
|
|
586
587
|
/*
|
|
587
588
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -604,7 +605,7 @@ function createClientAuthError(errorCode, additionalMessage) {
|
|
|
604
605
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
605
606
|
}
|
|
606
607
|
|
|
607
|
-
/*! @azure/msal-common v16.
|
|
608
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
608
609
|
/*
|
|
609
610
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
610
611
|
* Licensed under the MIT License.
|
|
@@ -658,7 +659,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
658
659
|
urlParseError: urlParseError
|
|
659
660
|
});
|
|
660
661
|
|
|
661
|
-
/*! @azure/msal-common v16.
|
|
662
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
662
663
|
/*
|
|
663
664
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
664
665
|
* Licensed under the MIT License.
|
|
@@ -746,7 +747,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
746
747
|
userCanceled: userCanceled
|
|
747
748
|
});
|
|
748
749
|
|
|
749
|
-
/*! @azure/msal-common v16.
|
|
750
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
750
751
|
|
|
751
752
|
/*
|
|
752
753
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -941,7 +942,7 @@ class ScopeSet {
|
|
|
941
942
|
}
|
|
942
943
|
}
|
|
943
944
|
|
|
944
|
-
/*! @azure/msal-common v16.
|
|
945
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
945
946
|
|
|
946
947
|
/*
|
|
947
948
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1222,6 +1223,12 @@ function addGrantType(parameters, grantType) {
|
|
|
1222
1223
|
function addClientInfo(parameters) {
|
|
1223
1224
|
parameters.set(CLIENT_INFO, "1");
|
|
1224
1225
|
}
|
|
1226
|
+
/**
|
|
1227
|
+
* add clidata=1 to request to indicate client data support
|
|
1228
|
+
*/
|
|
1229
|
+
function addCliData(parameters) {
|
|
1230
|
+
parameters.set(CLI_DATA, "1");
|
|
1231
|
+
}
|
|
1225
1232
|
function addInstanceAware(parameters) {
|
|
1226
1233
|
if (!parameters.has(INSTANCE_AWARE)) {
|
|
1227
1234
|
parameters.set(INSTANCE_AWARE, "true");
|
|
@@ -1331,7 +1338,7 @@ function addResource(parameters, resource) {
|
|
|
1331
1338
|
}
|
|
1332
1339
|
}
|
|
1333
1340
|
|
|
1334
|
-
/*! @azure/msal-common v16.
|
|
1341
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
1335
1342
|
/**
|
|
1336
1343
|
* Parses hash string from given string. Returns empty string if no hash symbol is found.
|
|
1337
1344
|
* @param hashString
|
|
@@ -1384,7 +1391,7 @@ function mapToQueryString(parameters) {
|
|
|
1384
1391
|
return queryParameterArray.join("&");
|
|
1385
1392
|
}
|
|
1386
1393
|
|
|
1387
|
-
/*! @azure/msal-common v16.
|
|
1394
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
1388
1395
|
|
|
1389
1396
|
/*
|
|
1390
1397
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1423,7 +1430,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
1423
1430
|
},
|
|
1424
1431
|
};
|
|
1425
1432
|
|
|
1426
|
-
/*! @azure/msal-common v16.
|
|
1433
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
1427
1434
|
/*
|
|
1428
1435
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1429
1436
|
* Licensed under the MIT License.
|
|
@@ -1684,12 +1691,12 @@ class Logger {
|
|
|
1684
1691
|
}
|
|
1685
1692
|
}
|
|
1686
1693
|
|
|
1687
|
-
/*! @azure/msal-common v16.
|
|
1694
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
1688
1695
|
/* eslint-disable header/header */
|
|
1689
1696
|
const name$1 = "@azure/msal-common";
|
|
1690
|
-
const version$1 = "16.
|
|
1697
|
+
const version$1 = "16.4.0";
|
|
1691
1698
|
|
|
1692
|
-
/*! @azure/msal-common v16.
|
|
1699
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
1693
1700
|
/*
|
|
1694
1701
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1695
1702
|
* Licensed under the MIT License.
|
|
@@ -1709,7 +1716,7 @@ const AzureCloudInstance = {
|
|
|
1709
1716
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
1710
1717
|
};
|
|
1711
1718
|
|
|
1712
|
-
/*! @azure/msal-common v16.
|
|
1719
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
1713
1720
|
/*
|
|
1714
1721
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1715
1722
|
* Licensed under the MIT License.
|
|
@@ -1791,7 +1798,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
1791
1798
|
return updatedAccountInfo;
|
|
1792
1799
|
}
|
|
1793
1800
|
|
|
1794
|
-
/*! @azure/msal-common v16.
|
|
1801
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
1795
1802
|
|
|
1796
1803
|
/*
|
|
1797
1804
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1871,7 +1878,7 @@ function checkMaxAge(authTime, maxAge) {
|
|
|
1871
1878
|
}
|
|
1872
1879
|
}
|
|
1873
1880
|
|
|
1874
|
-
/*! @azure/msal-common v16.
|
|
1881
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
1875
1882
|
|
|
1876
1883
|
/*
|
|
1877
1884
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2028,7 +2035,7 @@ class UrlString {
|
|
|
2028
2035
|
}
|
|
2029
2036
|
}
|
|
2030
2037
|
|
|
2031
|
-
/*! @azure/msal-common v16.
|
|
2038
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
2032
2039
|
|
|
2033
2040
|
/*
|
|
2034
2041
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2185,7 +2192,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2185
2192
|
return null;
|
|
2186
2193
|
}
|
|
2187
2194
|
|
|
2188
|
-
/*! @azure/msal-common v16.
|
|
2195
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
2189
2196
|
/*
|
|
2190
2197
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2191
2198
|
* Licensed under the MIT License.
|
|
@@ -2193,7 +2200,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2193
2200
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
2194
2201
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
2195
2202
|
|
|
2196
|
-
/*! @azure/msal-common v16.
|
|
2203
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
2197
2204
|
|
|
2198
2205
|
/*
|
|
2199
2206
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2231,7 +2238,7 @@ function createCacheError(e) {
|
|
|
2231
2238
|
}
|
|
2232
2239
|
}
|
|
2233
2240
|
|
|
2234
|
-
/*! @azure/msal-common v16.
|
|
2241
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
2235
2242
|
|
|
2236
2243
|
/*
|
|
2237
2244
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2269,7 +2276,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
2269
2276
|
};
|
|
2270
2277
|
}
|
|
2271
2278
|
|
|
2272
|
-
/*! @azure/msal-common v16.
|
|
2279
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
2273
2280
|
/*
|
|
2274
2281
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2275
2282
|
* Licensed under the MIT License.
|
|
@@ -2284,7 +2291,7 @@ const AuthorityType = {
|
|
|
2284
2291
|
Ciam: 3,
|
|
2285
2292
|
};
|
|
2286
2293
|
|
|
2287
|
-
/*! @azure/msal-common v16.
|
|
2294
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
2288
2295
|
/*
|
|
2289
2296
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2290
2297
|
* Licensed under the MIT License.
|
|
@@ -2306,7 +2313,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
2306
2313
|
return null;
|
|
2307
2314
|
}
|
|
2308
2315
|
|
|
2309
|
-
/*! @azure/msal-common v16.
|
|
2316
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
2310
2317
|
/*
|
|
2311
2318
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2312
2319
|
* Licensed under the MIT License.
|
|
@@ -2330,7 +2337,7 @@ const ProtocolMode = {
|
|
|
2330
2337
|
EAR: "EAR",
|
|
2331
2338
|
};
|
|
2332
2339
|
|
|
2333
|
-
/*! @azure/msal-common v16.
|
|
2340
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
2334
2341
|
/**
|
|
2335
2342
|
* Returns the AccountInfo interface for this account.
|
|
2336
2343
|
*/
|
|
@@ -2473,7 +2480,7 @@ function isAccountEntity(entity) {
|
|
|
2473
2480
|
entity.hasOwnProperty("authorityType"));
|
|
2474
2481
|
}
|
|
2475
2482
|
|
|
2476
|
-
/*! @azure/msal-common v16.
|
|
2483
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
2477
2484
|
|
|
2478
2485
|
/*
|
|
2479
2486
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2503,6 +2510,11 @@ class CacheManager {
|
|
|
2503
2510
|
* Gets first tenanted AccountInfo object found based on provided filters
|
|
2504
2511
|
*/
|
|
2505
2512
|
getAccountInfoFilteredBy(accountFilter, correlationId) {
|
|
2513
|
+
if (Object.keys(accountFilter).length === 0 ||
|
|
2514
|
+
Object.values(accountFilter).every((value) => value === null || value === undefined || value === "")) {
|
|
2515
|
+
this.commonLogger.warning("getAccountInfoFilteredBy: Account filter is empty or invalid, returning null", correlationId);
|
|
2516
|
+
return null;
|
|
2517
|
+
}
|
|
2506
2518
|
const allAccounts = this.getAllAccounts(accountFilter, correlationId);
|
|
2507
2519
|
if (allAccounts.length > 1) {
|
|
2508
2520
|
// If one or more accounts are found, prioritize accounts that have an ID token
|
|
@@ -3569,7 +3581,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3569
3581
|
}
|
|
3570
3582
|
}
|
|
3571
3583
|
|
|
3572
|
-
/*! @azure/msal-common v16.
|
|
3584
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
3573
3585
|
/*
|
|
3574
3586
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3575
3587
|
* Licensed under the MIT License.
|
|
@@ -3583,7 +3595,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3583
3595
|
const PerformanceEventStatus = {
|
|
3584
3596
|
InProgress: 1};
|
|
3585
3597
|
|
|
3586
|
-
/*! @azure/msal-common v16.
|
|
3598
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
3587
3599
|
|
|
3588
3600
|
/*
|
|
3589
3601
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3638,7 +3650,7 @@ class StubPerformanceClient {
|
|
|
3638
3650
|
}
|
|
3639
3651
|
}
|
|
3640
3652
|
|
|
3641
|
-
/*! @azure/msal-common v16.
|
|
3653
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
3642
3654
|
|
|
3643
3655
|
/*
|
|
3644
3656
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3733,7 +3745,7 @@ function isOidcProtocolMode(config) {
|
|
|
3733
3745
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
3734
3746
|
}
|
|
3735
3747
|
|
|
3736
|
-
/*! @azure/msal-common v16.
|
|
3748
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
3737
3749
|
|
|
3738
3750
|
/*
|
|
3739
3751
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3752,7 +3764,7 @@ class ServerError extends AuthError {
|
|
|
3752
3764
|
}
|
|
3753
3765
|
}
|
|
3754
3766
|
|
|
3755
|
-
/*! @azure/msal-common v16.
|
|
3767
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
3756
3768
|
/*
|
|
3757
3769
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3758
3770
|
* Licensed under the MIT License.
|
|
@@ -3816,7 +3828,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
3816
3828
|
uxNotAllowed: uxNotAllowed
|
|
3817
3829
|
});
|
|
3818
3830
|
|
|
3819
|
-
/*! @azure/msal-common v16.
|
|
3831
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
3820
3832
|
|
|
3821
3833
|
/*
|
|
3822
3834
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3884,7 +3896,7 @@ function createInteractionRequiredAuthError(errorCode, errorMessage) {
|
|
|
3884
3896
|
return new InteractionRequiredAuthError(errorCode, errorMessage);
|
|
3885
3897
|
}
|
|
3886
3898
|
|
|
3887
|
-
/*! @azure/msal-common v16.
|
|
3899
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
3888
3900
|
/**
|
|
3889
3901
|
* Parses the state into the RequestStateObject, which contains the LibraryState info and the state passed by the user.
|
|
3890
3902
|
* @param base64Decode
|
|
@@ -3916,7 +3928,7 @@ function parseRequestState(base64Decode, state) {
|
|
|
3916
3928
|
}
|
|
3917
3929
|
}
|
|
3918
3930
|
|
|
3919
|
-
/*! @azure/msal-common v16.
|
|
3931
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
3920
3932
|
/*
|
|
3921
3933
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3922
3934
|
* Licensed under the MIT License.
|
|
@@ -3971,7 +3983,7 @@ function delay(t, value) {
|
|
|
3971
3983
|
return new Promise((resolve) => setTimeout(() => resolve(value), t));
|
|
3972
3984
|
}
|
|
3973
3985
|
|
|
3974
|
-
/*! @azure/msal-common v16.
|
|
3986
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
3975
3987
|
/*
|
|
3976
3988
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3977
3989
|
* Licensed under the MIT License.
|
|
@@ -4033,7 +4045,7 @@ const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
|
|
|
4033
4045
|
*/
|
|
4034
4046
|
const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
|
|
4035
4047
|
|
|
4036
|
-
/*! @azure/msal-common v16.
|
|
4048
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
4037
4049
|
/*
|
|
4038
4050
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4039
4051
|
* Licensed under the MIT License.
|
|
@@ -4126,7 +4138,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
4126
4138
|
};
|
|
4127
4139
|
};
|
|
4128
4140
|
|
|
4129
|
-
/*! @azure/msal-common v16.
|
|
4141
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
4130
4142
|
|
|
4131
4143
|
/*
|
|
4132
4144
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4206,7 +4218,7 @@ class PopTokenGenerator {
|
|
|
4206
4218
|
}
|
|
4207
4219
|
}
|
|
4208
4220
|
|
|
4209
|
-
/*! @azure/msal-common v16.
|
|
4221
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
4210
4222
|
/*
|
|
4211
4223
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4212
4224
|
* Licensed under the MIT License.
|
|
@@ -4233,7 +4245,7 @@ class PopTokenGenerator {
|
|
|
4233
4245
|
}
|
|
4234
4246
|
}
|
|
4235
4247
|
|
|
4236
|
-
/*! @azure/msal-common v16.
|
|
4248
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
4237
4249
|
|
|
4238
4250
|
/*
|
|
4239
4251
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4492,7 +4504,7 @@ function isAuthorityMetadataExpired(metadata) {
|
|
|
4492
4504
|
return metadata.expiresAt <= nowSeconds();
|
|
4493
4505
|
}
|
|
4494
4506
|
|
|
4495
|
-
/*! @azure/msal-common v16.
|
|
4507
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
4496
4508
|
|
|
4497
4509
|
/*
|
|
4498
4510
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4833,7 +4845,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
4833
4845
|
return baseAccount;
|
|
4834
4846
|
}
|
|
4835
4847
|
|
|
4836
|
-
/*! @azure/msal-common v16.
|
|
4848
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
4837
4849
|
/*
|
|
4838
4850
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4839
4851
|
* Licensed under the MIT License.
|
|
@@ -4843,7 +4855,7 @@ const CcsCredentialType = {
|
|
|
4843
4855
|
UPN: "UPN",
|
|
4844
4856
|
};
|
|
4845
4857
|
|
|
4846
|
-
/*! @azure/msal-common v16.
|
|
4858
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
4847
4859
|
/*
|
|
4848
4860
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4849
4861
|
* Licensed under the MIT License.
|
|
@@ -4861,7 +4873,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
4861
4873
|
}
|
|
4862
4874
|
}
|
|
4863
4875
|
|
|
4864
|
-
/*! @azure/msal-common v16.
|
|
4876
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
4865
4877
|
/*
|
|
4866
4878
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4867
4879
|
* Licensed under the MIT License.
|
|
@@ -4882,7 +4894,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
4882
4894
|
};
|
|
4883
4895
|
}
|
|
4884
4896
|
|
|
4885
|
-
/*! @azure/msal-common v16.
|
|
4897
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
4886
4898
|
|
|
4887
4899
|
/*
|
|
4888
4900
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4968,7 +4980,7 @@ class ThrottlingUtils {
|
|
|
4968
4980
|
}
|
|
4969
4981
|
}
|
|
4970
4982
|
|
|
4971
|
-
/*! @azure/msal-common v16.
|
|
4983
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
4972
4984
|
|
|
4973
4985
|
/*
|
|
4974
4986
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4999,7 +5011,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
|
|
|
4999
5011
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
5000
5012
|
}
|
|
5001
5013
|
|
|
5002
|
-
/*! @azure/msal-common v16.
|
|
5014
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
5003
5015
|
|
|
5004
5016
|
/*
|
|
5005
5017
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5113,7 +5125,7 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
|
|
|
5113
5125
|
return response;
|
|
5114
5126
|
}
|
|
5115
5127
|
|
|
5116
|
-
/*! @azure/msal-common v16.
|
|
5128
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
5117
5129
|
/*
|
|
5118
5130
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5119
5131
|
* Licensed under the MIT License.
|
|
@@ -5125,7 +5137,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
5125
5137
|
response.hasOwnProperty("jwks_uri"));
|
|
5126
5138
|
}
|
|
5127
5139
|
|
|
5128
|
-
/*! @azure/msal-common v16.
|
|
5140
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
5129
5141
|
/*
|
|
5130
5142
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5131
5143
|
* Licensed under the MIT License.
|
|
@@ -5135,7 +5147,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
5135
5147
|
response.hasOwnProperty("metadata"));
|
|
5136
5148
|
}
|
|
5137
5149
|
|
|
5138
|
-
/*! @azure/msal-common v16.
|
|
5150
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
5139
5151
|
/*
|
|
5140
5152
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5141
5153
|
* Licensed under the MIT License.
|
|
@@ -5145,7 +5157,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
5145
5157
|
response.hasOwnProperty("error_description"));
|
|
5146
5158
|
}
|
|
5147
5159
|
|
|
5148
|
-
/*! @azure/msal-common v16.
|
|
5160
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
5149
5161
|
|
|
5150
5162
|
/*
|
|
5151
5163
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5250,7 +5262,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
5250
5262
|
},
|
|
5251
5263
|
};
|
|
5252
5264
|
|
|
5253
|
-
/*! @azure/msal-common v16.
|
|
5265
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
5254
5266
|
|
|
5255
5267
|
/*
|
|
5256
5268
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6073,7 +6085,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
6073
6085
|
};
|
|
6074
6086
|
}
|
|
6075
6087
|
|
|
6076
|
-
/*! @azure/msal-common v16.
|
|
6088
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
6077
6089
|
|
|
6078
6090
|
/*
|
|
6079
6091
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6107,7 +6119,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
6107
6119
|
}
|
|
6108
6120
|
}
|
|
6109
6121
|
|
|
6110
|
-
/*! @azure/msal-common v16.
|
|
6122
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
6111
6123
|
|
|
6112
6124
|
/*
|
|
6113
6125
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6368,7 +6380,7 @@ class AuthorizationCodeClient {
|
|
|
6368
6380
|
}
|
|
6369
6381
|
}
|
|
6370
6382
|
|
|
6371
|
-
/*! @azure/msal-common v16.
|
|
6383
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
6372
6384
|
|
|
6373
6385
|
/*
|
|
6374
6386
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6593,7 +6605,7 @@ class RefreshTokenClient {
|
|
|
6593
6605
|
}
|
|
6594
6606
|
}
|
|
6595
6607
|
|
|
6596
|
-
/*! @azure/msal-common v16.
|
|
6608
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
6597
6609
|
|
|
6598
6610
|
/*
|
|
6599
6611
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6709,7 +6721,7 @@ class SilentFlowClient {
|
|
|
6709
6721
|
}
|
|
6710
6722
|
}
|
|
6711
6723
|
|
|
6712
|
-
/*! @azure/msal-common v16.
|
|
6724
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
6713
6725
|
|
|
6714
6726
|
/*
|
|
6715
6727
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6742,6 +6754,8 @@ function getStandardAuthorizeRequestParameters(authOptions, request, logger, per
|
|
|
6742
6754
|
addResponseMode(parameters, request.responseMode);
|
|
6743
6755
|
// add client_info=1
|
|
6744
6756
|
addClientInfo(parameters);
|
|
6757
|
+
// add clidata=1
|
|
6758
|
+
addCliData(parameters);
|
|
6745
6759
|
if (request.prompt) {
|
|
6746
6760
|
addPrompt(parameters, request.prompt);
|
|
6747
6761
|
}
|
|
@@ -6860,7 +6874,7 @@ function extractLoginHint(account) {
|
|
|
6860
6874
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
6861
6875
|
}
|
|
6862
6876
|
|
|
6863
|
-
/*! @azure/msal-common v16.
|
|
6877
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
6864
6878
|
|
|
6865
6879
|
/*
|
|
6866
6880
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6893,7 +6907,7 @@ function containsResourceParam(params) {
|
|
|
6893
6907
|
return Object.prototype.hasOwnProperty.call(params, "resource");
|
|
6894
6908
|
}
|
|
6895
6909
|
|
|
6896
|
-
/*! @azure/msal-common v16.
|
|
6910
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
6897
6911
|
/*
|
|
6898
6912
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6899
6913
|
* Licensed under the MIT License.
|
|
@@ -6910,7 +6924,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
6910
6924
|
unexpectedError: unexpectedError
|
|
6911
6925
|
});
|
|
6912
6926
|
|
|
6913
|
-
/*! @azure/msal-common v16.
|
|
6927
|
+
/*! @azure/msal-common v16.4.0 2026-03-18 */
|
|
6914
6928
|
|
|
6915
6929
|
/*
|
|
6916
6930
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -9113,7 +9127,7 @@ class ClientAssertion {
|
|
|
9113
9127
|
|
|
9114
9128
|
/* eslint-disable header/header */
|
|
9115
9129
|
const name = "@azure/msal-node";
|
|
9116
|
-
const version = "5.1.
|
|
9130
|
+
const version = "5.1.1";
|
|
9117
9131
|
|
|
9118
9132
|
/*
|
|
9119
9133
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|