@azure/msal-node 5.0.3 → 5.0.5
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.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +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 +119 -82
- package/lib/msal-node.cjs.map +1 -1
- package/lib/types/index.d.ts +1 -0
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/package.json +2 -2
- package/src/index.ts +2 -0
- package/src/packageMetadata.ts +1 -1
package/lib/msal-node.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v5.0.
|
|
1
|
+
/*! @azure/msal-node v5.0.5 2026-02-24 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -149,7 +149,7 @@ class Serializer {
|
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
/*! @azure/msal-common v16.0
|
|
152
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
153
153
|
/*
|
|
154
154
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
155
155
|
* Licensed under the MIT License.
|
|
@@ -397,7 +397,7 @@ const EncodingTypes = {
|
|
|
397
397
|
UTF8: "utf-8",
|
|
398
398
|
};
|
|
399
399
|
|
|
400
|
-
/*! @azure/msal-common v16.0
|
|
400
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
401
401
|
/*
|
|
402
402
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
403
403
|
* Licensed under the MIT License.
|
|
@@ -448,7 +448,7 @@ const BROKER_CLIENT_ID = "brk_client_id";
|
|
|
448
448
|
const BROKER_REDIRECT_URI = "brk_redirect_uri";
|
|
449
449
|
const INSTANCE_AWARE = "instance_aware";
|
|
450
450
|
|
|
451
|
-
/*! @azure/msal-common v16.0
|
|
451
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
452
452
|
/*
|
|
453
453
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
454
454
|
* Licensed under the MIT License.
|
|
@@ -479,7 +479,7 @@ function createAuthError(code, additionalMessage) {
|
|
|
479
479
|
return new AuthError(code, additionalMessage || getDefaultErrorMessage(code));
|
|
480
480
|
}
|
|
481
481
|
|
|
482
|
-
/*! @azure/msal-common v16.0
|
|
482
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
483
483
|
|
|
484
484
|
/*
|
|
485
485
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -499,7 +499,7 @@ function createClientConfigurationError(errorCode) {
|
|
|
499
499
|
return new ClientConfigurationError(errorCode);
|
|
500
500
|
}
|
|
501
501
|
|
|
502
|
-
/*! @azure/msal-common v16.0
|
|
502
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
503
503
|
/*
|
|
504
504
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
505
505
|
* Licensed under the MIT License.
|
|
@@ -577,26 +577,9 @@ class StringUtils {
|
|
|
577
577
|
return null;
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
|
-
/**
|
|
581
|
-
* Tests if a given string matches a given pattern, with support for wildcards and queries.
|
|
582
|
-
* @param pattern Wildcard pattern to string match. Supports "*" for wildcards and "?" for queries
|
|
583
|
-
* @param input String to match against
|
|
584
|
-
*/
|
|
585
|
-
static matchPattern(pattern, input) {
|
|
586
|
-
/**
|
|
587
|
-
* Wildcard support: https://stackoverflow.com/a/3117248/4888559
|
|
588
|
-
* Queries: replaces "?" in string with escaped "\?" for regex test
|
|
589
|
-
*/
|
|
590
|
-
// eslint-disable-next-line security/detect-non-literal-regexp
|
|
591
|
-
const regex = new RegExp(pattern
|
|
592
|
-
.replace(/\\/g, "\\\\")
|
|
593
|
-
.replace(/\*/g, "[^ ]*")
|
|
594
|
-
.replace(/\?/g, "\\?"));
|
|
595
|
-
return regex.test(input);
|
|
596
|
-
}
|
|
597
580
|
}
|
|
598
581
|
|
|
599
|
-
/*! @azure/msal-common v16.0
|
|
582
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
600
583
|
|
|
601
584
|
/*
|
|
602
585
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -619,7 +602,7 @@ function createClientAuthError(errorCode, additionalMessage) {
|
|
|
619
602
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
620
603
|
}
|
|
621
604
|
|
|
622
|
-
/*! @azure/msal-common v16.0
|
|
605
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
623
606
|
/*
|
|
624
607
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
625
608
|
* Licensed under the MIT License.
|
|
@@ -673,7 +656,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
673
656
|
urlParseError: urlParseError
|
|
674
657
|
});
|
|
675
658
|
|
|
676
|
-
/*! @azure/msal-common v16.0
|
|
659
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
677
660
|
/*
|
|
678
661
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
679
662
|
* Licensed under the MIT License.
|
|
@@ -757,7 +740,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
757
740
|
userCanceled: userCanceled
|
|
758
741
|
});
|
|
759
742
|
|
|
760
|
-
/*! @azure/msal-common v16.0
|
|
743
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
761
744
|
|
|
762
745
|
/*
|
|
763
746
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -952,7 +935,7 @@ class ScopeSet {
|
|
|
952
935
|
}
|
|
953
936
|
}
|
|
954
937
|
|
|
955
|
-
/*! @azure/msal-common v16.0
|
|
938
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
956
939
|
|
|
957
940
|
/*
|
|
958
941
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1337,7 +1320,7 @@ function addBrokerParameters(parameters, brokerClientId, brokerRedirectUri) {
|
|
|
1337
1320
|
}
|
|
1338
1321
|
}
|
|
1339
1322
|
|
|
1340
|
-
/*! @azure/msal-common v16.0
|
|
1323
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
1341
1324
|
/**
|
|
1342
1325
|
* Parses hash string from given string. Returns empty string if no hash symbol is found.
|
|
1343
1326
|
* @param hashString
|
|
@@ -1390,7 +1373,7 @@ function mapToQueryString(parameters) {
|
|
|
1390
1373
|
return queryParameterArray.join("&");
|
|
1391
1374
|
}
|
|
1392
1375
|
|
|
1393
|
-
/*! @azure/msal-common v16.0
|
|
1376
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
1394
1377
|
|
|
1395
1378
|
/*
|
|
1396
1379
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1429,7 +1412,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
1429
1412
|
},
|
|
1430
1413
|
};
|
|
1431
1414
|
|
|
1432
|
-
/*! @azure/msal-common v16.0
|
|
1415
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
1433
1416
|
/*
|
|
1434
1417
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1435
1418
|
* Licensed under the MIT License.
|
|
@@ -1690,12 +1673,12 @@ class Logger {
|
|
|
1690
1673
|
}
|
|
1691
1674
|
}
|
|
1692
1675
|
|
|
1693
|
-
/*! @azure/msal-common v16.0
|
|
1676
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
1694
1677
|
/* eslint-disable header/header */
|
|
1695
1678
|
const name$1 = "@azure/msal-common";
|
|
1696
|
-
const version$1 = "16.0
|
|
1679
|
+
const version$1 = "16.1.0";
|
|
1697
1680
|
|
|
1698
|
-
/*! @azure/msal-common v16.0
|
|
1681
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
1699
1682
|
/*
|
|
1700
1683
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1701
1684
|
* Licensed under the MIT License.
|
|
@@ -1715,7 +1698,7 @@ const AzureCloudInstance = {
|
|
|
1715
1698
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
1716
1699
|
};
|
|
1717
1700
|
|
|
1718
|
-
/*! @azure/msal-common v16.0
|
|
1701
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
1719
1702
|
/*
|
|
1720
1703
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1721
1704
|
* Licensed under the MIT License.
|
|
@@ -1797,7 +1780,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
1797
1780
|
return updatedAccountInfo;
|
|
1798
1781
|
}
|
|
1799
1782
|
|
|
1800
|
-
/*! @azure/msal-common v16.0
|
|
1783
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
1801
1784
|
|
|
1802
1785
|
/*
|
|
1803
1786
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1877,7 +1860,7 @@ function checkMaxAge(authTime, maxAge) {
|
|
|
1877
1860
|
}
|
|
1878
1861
|
}
|
|
1879
1862
|
|
|
1880
|
-
/*! @azure/msal-common v16.0
|
|
1863
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
1881
1864
|
|
|
1882
1865
|
/*
|
|
1883
1866
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2034,7 +2017,7 @@ class UrlString {
|
|
|
2034
2017
|
}
|
|
2035
2018
|
}
|
|
2036
2019
|
|
|
2037
|
-
/*! @azure/msal-common v16.0
|
|
2020
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
2038
2021
|
|
|
2039
2022
|
/*
|
|
2040
2023
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2105,6 +2088,21 @@ const rawMetdataJSON = {
|
|
|
2105
2088
|
preferred_cache: "login-us.microsoftonline.com",
|
|
2106
2089
|
aliases: ["login-us.microsoftonline.com"],
|
|
2107
2090
|
},
|
|
2091
|
+
{
|
|
2092
|
+
preferred_network: "login.sovcloud-identity.fr",
|
|
2093
|
+
preferred_cache: "login.sovcloud-identity.fr",
|
|
2094
|
+
aliases: ["login.sovcloud-identity.fr"],
|
|
2095
|
+
},
|
|
2096
|
+
{
|
|
2097
|
+
preferred_network: "login.sovcloud-identity.de",
|
|
2098
|
+
preferred_cache: "login.sovcloud-identity.de",
|
|
2099
|
+
aliases: ["login.sovcloud-identity.de"],
|
|
2100
|
+
},
|
|
2101
|
+
{
|
|
2102
|
+
preferred_network: "login.sovcloud-identity.sg",
|
|
2103
|
+
preferred_cache: "login.sovcloud-identity.sg",
|
|
2104
|
+
aliases: ["login.sovcloud-identity.sg"],
|
|
2105
|
+
},
|
|
2108
2106
|
],
|
|
2109
2107
|
},
|
|
2110
2108
|
};
|
|
@@ -2176,7 +2174,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2176
2174
|
return null;
|
|
2177
2175
|
}
|
|
2178
2176
|
|
|
2179
|
-
/*! @azure/msal-common v16.0
|
|
2177
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
2180
2178
|
/*
|
|
2181
2179
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2182
2180
|
* Licensed under the MIT License.
|
|
@@ -2184,7 +2182,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2184
2182
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
2185
2183
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
2186
2184
|
|
|
2187
|
-
/*! @azure/msal-common v16.0
|
|
2185
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
2188
2186
|
|
|
2189
2187
|
/*
|
|
2190
2188
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2222,7 +2220,7 @@ function createCacheError(e) {
|
|
|
2222
2220
|
}
|
|
2223
2221
|
}
|
|
2224
2222
|
|
|
2225
|
-
/*! @azure/msal-common v16.0
|
|
2223
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
2226
2224
|
|
|
2227
2225
|
/*
|
|
2228
2226
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2260,7 +2258,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
2260
2258
|
};
|
|
2261
2259
|
}
|
|
2262
2260
|
|
|
2263
|
-
/*! @azure/msal-common v16.0
|
|
2261
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
2264
2262
|
/*
|
|
2265
2263
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2266
2264
|
* Licensed under the MIT License.
|
|
@@ -2275,7 +2273,7 @@ const AuthorityType = {
|
|
|
2275
2273
|
Ciam: 3,
|
|
2276
2274
|
};
|
|
2277
2275
|
|
|
2278
|
-
/*! @azure/msal-common v16.0
|
|
2276
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
2279
2277
|
/*
|
|
2280
2278
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2281
2279
|
* Licensed under the MIT License.
|
|
@@ -2297,7 +2295,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
2297
2295
|
return null;
|
|
2298
2296
|
}
|
|
2299
2297
|
|
|
2300
|
-
/*! @azure/msal-common v16.0
|
|
2298
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
2301
2299
|
/*
|
|
2302
2300
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2303
2301
|
* Licensed under the MIT License.
|
|
@@ -2321,7 +2319,7 @@ const ProtocolMode = {
|
|
|
2321
2319
|
EAR: "EAR",
|
|
2322
2320
|
};
|
|
2323
2321
|
|
|
2324
|
-
/*! @azure/msal-common v16.0
|
|
2322
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
2325
2323
|
/**
|
|
2326
2324
|
* Returns the AccountInfo interface for this account.
|
|
2327
2325
|
*/
|
|
@@ -2464,7 +2462,7 @@ function isAccountEntity(entity) {
|
|
|
2464
2462
|
entity.hasOwnProperty("authorityType"));
|
|
2465
2463
|
}
|
|
2466
2464
|
|
|
2467
|
-
/*! @azure/msal-common v16.0
|
|
2465
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
2468
2466
|
|
|
2469
2467
|
/*
|
|
2470
2468
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3560,7 +3558,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3560
3558
|
}
|
|
3561
3559
|
}
|
|
3562
3560
|
|
|
3563
|
-
/*! @azure/msal-common v16.0
|
|
3561
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
3564
3562
|
/*
|
|
3565
3563
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3566
3564
|
* Licensed under the MIT License.
|
|
@@ -3574,7 +3572,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3574
3572
|
const PerformanceEventStatus = {
|
|
3575
3573
|
InProgress: 1};
|
|
3576
3574
|
|
|
3577
|
-
/*! @azure/msal-common v16.0
|
|
3575
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
3578
3576
|
|
|
3579
3577
|
/*
|
|
3580
3578
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3629,7 +3627,7 @@ class StubPerformanceClient {
|
|
|
3629
3627
|
}
|
|
3630
3628
|
}
|
|
3631
3629
|
|
|
3632
|
-
/*! @azure/msal-common v16.0
|
|
3630
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
3633
3631
|
|
|
3634
3632
|
/*
|
|
3635
3633
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3723,7 +3721,7 @@ function isOidcProtocolMode(config) {
|
|
|
3723
3721
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
3724
3722
|
}
|
|
3725
3723
|
|
|
3726
|
-
/*! @azure/msal-common v16.0
|
|
3724
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
3727
3725
|
|
|
3728
3726
|
/*
|
|
3729
3727
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3742,27 +3740,63 @@ class ServerError extends AuthError {
|
|
|
3742
3740
|
}
|
|
3743
3741
|
}
|
|
3744
3742
|
|
|
3745
|
-
/*! @azure/msal-common v16.0
|
|
3743
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
3746
3744
|
/*
|
|
3747
3745
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3748
3746
|
* Licensed under the MIT License.
|
|
3749
3747
|
*/
|
|
3750
|
-
|
|
3748
|
+
/**
|
|
3749
|
+
* MSAL-defined interaction required error code indicating no tokens are found in cache.
|
|
3750
|
+
* @public
|
|
3751
|
+
*/
|
|
3751
3752
|
const noTokensFound = "no_tokens_found";
|
|
3753
|
+
/**
|
|
3754
|
+
* MSAL-defined error code indicating a native account is unavailable on the platform.
|
|
3755
|
+
* @public
|
|
3756
|
+
*/
|
|
3752
3757
|
const nativeAccountUnavailable = "native_account_unavailable";
|
|
3758
|
+
/**
|
|
3759
|
+
* MSAL-defined error code indicating the refresh token has expired and user interaction is needed.
|
|
3760
|
+
* @public
|
|
3761
|
+
*/
|
|
3753
3762
|
const refreshTokenExpired = "refresh_token_expired";
|
|
3763
|
+
/**
|
|
3764
|
+
* MSAL-defined error code indicating UI/UX is not allowed (e.g., blocked by policy), requiring alternate interaction.
|
|
3765
|
+
* @public
|
|
3766
|
+
*/
|
|
3754
3767
|
const uxNotAllowed = "ux_not_allowed";
|
|
3755
|
-
|
|
3768
|
+
/**
|
|
3769
|
+
* Server-originated error code indicating interaction is required to complete the request.
|
|
3770
|
+
* @public
|
|
3771
|
+
*/
|
|
3756
3772
|
const interactionRequired = "interaction_required";
|
|
3773
|
+
/**
|
|
3774
|
+
* Server-originated error code indicating user consent is required.
|
|
3775
|
+
* @public
|
|
3776
|
+
*/
|
|
3757
3777
|
const consentRequired = "consent_required";
|
|
3778
|
+
/**
|
|
3779
|
+
* Server-originated error code indicating user login is required.
|
|
3780
|
+
* @public
|
|
3781
|
+
*/
|
|
3758
3782
|
const loginRequired = "login_required";
|
|
3759
|
-
|
|
3783
|
+
/**
|
|
3784
|
+
* Server-originated error code indicating the token is invalid or corrupted.
|
|
3785
|
+
* @public
|
|
3786
|
+
*/
|
|
3787
|
+
const badToken = "bad_token";
|
|
3788
|
+
/**
|
|
3789
|
+
* Server-originated error code indicating the user is in an interrupted state and interaction is required.
|
|
3790
|
+
* @public
|
|
3791
|
+
*/
|
|
3792
|
+
const interruptedUser = "interrupted_user";
|
|
3760
3793
|
|
|
3761
3794
|
var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
3762
3795
|
__proto__: null,
|
|
3763
3796
|
badToken: badToken,
|
|
3764
3797
|
consentRequired: consentRequired,
|
|
3765
3798
|
interactionRequired: interactionRequired,
|
|
3799
|
+
interruptedUser: interruptedUser,
|
|
3766
3800
|
loginRequired: loginRequired,
|
|
3767
3801
|
nativeAccountUnavailable: nativeAccountUnavailable,
|
|
3768
3802
|
noTokensFound: noTokensFound,
|
|
@@ -3770,7 +3804,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
3770
3804
|
uxNotAllowed: uxNotAllowed
|
|
3771
3805
|
});
|
|
3772
3806
|
|
|
3773
|
-
/*! @azure/msal-common v16.0
|
|
3807
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
3774
3808
|
|
|
3775
3809
|
/*
|
|
3776
3810
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3785,6 +3819,7 @@ const InteractionRequiredServerErrorMessage = [
|
|
|
3785
3819
|
loginRequired,
|
|
3786
3820
|
badToken,
|
|
3787
3821
|
uxNotAllowed,
|
|
3822
|
+
interruptedUser,
|
|
3788
3823
|
];
|
|
3789
3824
|
const InteractionRequiredAuthSubErrorMessage = [
|
|
3790
3825
|
"message_only",
|
|
@@ -3794,6 +3829,7 @@ const InteractionRequiredAuthSubErrorMessage = [
|
|
|
3794
3829
|
"consent_required",
|
|
3795
3830
|
"bad_token",
|
|
3796
3831
|
"ux_not_allowed",
|
|
3832
|
+
"interrupted_user",
|
|
3797
3833
|
];
|
|
3798
3834
|
/**
|
|
3799
3835
|
* Error thrown when user interaction is required.
|
|
@@ -3836,7 +3872,7 @@ function createInteractionRequiredAuthError(errorCode, errorMessage) {
|
|
|
3836
3872
|
return new InteractionRequiredAuthError(errorCode, errorMessage);
|
|
3837
3873
|
}
|
|
3838
3874
|
|
|
3839
|
-
/*! @azure/msal-common v16.0
|
|
3875
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
3840
3876
|
/**
|
|
3841
3877
|
* Parses the state into the RequestStateObject, which contains the LibraryState info and the state passed by the user.
|
|
3842
3878
|
* @param base64Decode
|
|
@@ -3868,7 +3904,7 @@ function parseRequestState(base64Decode, state) {
|
|
|
3868
3904
|
}
|
|
3869
3905
|
}
|
|
3870
3906
|
|
|
3871
|
-
/*! @azure/msal-common v16.0
|
|
3907
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
3872
3908
|
/*
|
|
3873
3909
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3874
3910
|
* Licensed under the MIT License.
|
|
@@ -3923,7 +3959,7 @@ function delay(t, value) {
|
|
|
3923
3959
|
return new Promise((resolve) => setTimeout(() => resolve(value), t));
|
|
3924
3960
|
}
|
|
3925
3961
|
|
|
3926
|
-
/*! @azure/msal-common v16.0
|
|
3962
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
3927
3963
|
/*
|
|
3928
3964
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3929
3965
|
* Licensed under the MIT License.
|
|
@@ -3985,7 +4021,7 @@ const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
|
|
|
3985
4021
|
*/
|
|
3986
4022
|
const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
|
|
3987
4023
|
|
|
3988
|
-
/*! @azure/msal-common v16.0
|
|
4024
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
3989
4025
|
/*
|
|
3990
4026
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3991
4027
|
* Licensed under the MIT License.
|
|
@@ -4080,7 +4116,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
4080
4116
|
};
|
|
4081
4117
|
};
|
|
4082
4118
|
|
|
4083
|
-
/*! @azure/msal-common v16.0
|
|
4119
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
4084
4120
|
|
|
4085
4121
|
/*
|
|
4086
4122
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4160,7 +4196,7 @@ class PopTokenGenerator {
|
|
|
4160
4196
|
}
|
|
4161
4197
|
}
|
|
4162
4198
|
|
|
4163
|
-
/*! @azure/msal-common v16.0
|
|
4199
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
4164
4200
|
/*
|
|
4165
4201
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4166
4202
|
* Licensed under the MIT License.
|
|
@@ -4187,7 +4223,7 @@ class PopTokenGenerator {
|
|
|
4187
4223
|
}
|
|
4188
4224
|
}
|
|
4189
4225
|
|
|
4190
|
-
/*! @azure/msal-common v16.0
|
|
4226
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
4191
4227
|
|
|
4192
4228
|
/*
|
|
4193
4229
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4446,7 +4482,7 @@ function isAuthorityMetadataExpired(metadata) {
|
|
|
4446
4482
|
return metadata.expiresAt <= nowSeconds();
|
|
4447
4483
|
}
|
|
4448
4484
|
|
|
4449
|
-
/*! @azure/msal-common v16.0
|
|
4485
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
4450
4486
|
|
|
4451
4487
|
/*
|
|
4452
4488
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4782,7 +4818,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
4782
4818
|
return baseAccount;
|
|
4783
4819
|
}
|
|
4784
4820
|
|
|
4785
|
-
/*! @azure/msal-common v16.0
|
|
4821
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
4786
4822
|
/*
|
|
4787
4823
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4788
4824
|
* Licensed under the MIT License.
|
|
@@ -4792,7 +4828,7 @@ const CcsCredentialType = {
|
|
|
4792
4828
|
UPN: "UPN",
|
|
4793
4829
|
};
|
|
4794
4830
|
|
|
4795
|
-
/*! @azure/msal-common v16.0
|
|
4831
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
4796
4832
|
/*
|
|
4797
4833
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4798
4834
|
* Licensed under the MIT License.
|
|
@@ -4810,7 +4846,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
4810
4846
|
}
|
|
4811
4847
|
}
|
|
4812
4848
|
|
|
4813
|
-
/*! @azure/msal-common v16.0
|
|
4849
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
4814
4850
|
/*
|
|
4815
4851
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4816
4852
|
* Licensed under the MIT License.
|
|
@@ -4831,7 +4867,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
4831
4867
|
};
|
|
4832
4868
|
}
|
|
4833
4869
|
|
|
4834
|
-
/*! @azure/msal-common v16.0
|
|
4870
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
4835
4871
|
|
|
4836
4872
|
/*
|
|
4837
4873
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4917,7 +4953,7 @@ class ThrottlingUtils {
|
|
|
4917
4953
|
}
|
|
4918
4954
|
}
|
|
4919
4955
|
|
|
4920
|
-
/*! @azure/msal-common v16.0
|
|
4956
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
4921
4957
|
|
|
4922
4958
|
/*
|
|
4923
4959
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4948,7 +4984,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
|
|
|
4948
4984
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
4949
4985
|
}
|
|
4950
4986
|
|
|
4951
|
-
/*! @azure/msal-common v16.0
|
|
4987
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
4952
4988
|
|
|
4953
4989
|
/*
|
|
4954
4990
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5062,7 +5098,7 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
|
|
|
5062
5098
|
return response;
|
|
5063
5099
|
}
|
|
5064
5100
|
|
|
5065
|
-
/*! @azure/msal-common v16.0
|
|
5101
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
5066
5102
|
/*
|
|
5067
5103
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5068
5104
|
* Licensed under the MIT License.
|
|
@@ -5074,7 +5110,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
5074
5110
|
response.hasOwnProperty("jwks_uri"));
|
|
5075
5111
|
}
|
|
5076
5112
|
|
|
5077
|
-
/*! @azure/msal-common v16.0
|
|
5113
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
5078
5114
|
/*
|
|
5079
5115
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5080
5116
|
* Licensed under the MIT License.
|
|
@@ -5084,7 +5120,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
5084
5120
|
response.hasOwnProperty("metadata"));
|
|
5085
5121
|
}
|
|
5086
5122
|
|
|
5087
|
-
/*! @azure/msal-common v16.0
|
|
5123
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
5088
5124
|
/*
|
|
5089
5125
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5090
5126
|
* Licensed under the MIT License.
|
|
@@ -5094,7 +5130,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
5094
5130
|
response.hasOwnProperty("error_description"));
|
|
5095
5131
|
}
|
|
5096
5132
|
|
|
5097
|
-
/*! @azure/msal-common v16.0
|
|
5133
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
5098
5134
|
|
|
5099
5135
|
/*
|
|
5100
5136
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5199,7 +5235,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
5199
5235
|
},
|
|
5200
5236
|
};
|
|
5201
5237
|
|
|
5202
|
-
/*! @azure/msal-common v16.0
|
|
5238
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
5203
5239
|
|
|
5204
5240
|
/*
|
|
5205
5241
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6022,7 +6058,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
6022
6058
|
};
|
|
6023
6059
|
}
|
|
6024
6060
|
|
|
6025
|
-
/*! @azure/msal-common v16.0
|
|
6061
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
6026
6062
|
|
|
6027
6063
|
/*
|
|
6028
6064
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6056,7 +6092,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
6056
6092
|
}
|
|
6057
6093
|
}
|
|
6058
6094
|
|
|
6059
|
-
/*! @azure/msal-common v16.0
|
|
6095
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
6060
6096
|
|
|
6061
6097
|
/*
|
|
6062
6098
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6316,7 +6352,7 @@ class AuthorizationCodeClient {
|
|
|
6316
6352
|
}
|
|
6317
6353
|
}
|
|
6318
6354
|
|
|
6319
|
-
/*! @azure/msal-common v16.0
|
|
6355
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
6320
6356
|
|
|
6321
6357
|
/*
|
|
6322
6358
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6541,7 +6577,7 @@ class RefreshTokenClient {
|
|
|
6541
6577
|
}
|
|
6542
6578
|
}
|
|
6543
6579
|
|
|
6544
|
-
/*! @azure/msal-common v16.0
|
|
6580
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
6545
6581
|
|
|
6546
6582
|
/*
|
|
6547
6583
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6650,7 +6686,7 @@ class SilentFlowClient {
|
|
|
6650
6686
|
}
|
|
6651
6687
|
}
|
|
6652
6688
|
|
|
6653
|
-
/*! @azure/msal-common v16.0
|
|
6689
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
6654
6690
|
|
|
6655
6691
|
/*
|
|
6656
6692
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6800,7 +6836,7 @@ function extractLoginHint(account) {
|
|
|
6800
6836
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
6801
6837
|
}
|
|
6802
6838
|
|
|
6803
|
-
/*! @azure/msal-common v16.0
|
|
6839
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
6804
6840
|
/*
|
|
6805
6841
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6806
6842
|
* Licensed under the MIT License.
|
|
@@ -6817,7 +6853,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
6817
6853
|
unexpectedError: unexpectedError
|
|
6818
6854
|
});
|
|
6819
6855
|
|
|
6820
|
-
/*! @azure/msal-common v16.0
|
|
6856
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
6821
6857
|
|
|
6822
6858
|
/*
|
|
6823
6859
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -9018,7 +9054,7 @@ class ClientAssertion {
|
|
|
9018
9054
|
|
|
9019
9055
|
/* eslint-disable header/header */
|
|
9020
9056
|
const name = "@azure/msal-node";
|
|
9021
|
-
const version = "5.0.
|
|
9057
|
+
const version = "5.0.5";
|
|
9022
9058
|
|
|
9023
9059
|
/*
|
|
9024
9060
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -12236,6 +12272,7 @@ exports.ClientAuthErrorCodes = ClientAuthErrorCodes;
|
|
|
12236
12272
|
exports.ClientConfigurationError = ClientConfigurationError;
|
|
12237
12273
|
exports.ClientConfigurationErrorCodes = ClientConfigurationErrorCodes;
|
|
12238
12274
|
exports.ConfidentialClientApplication = ConfidentialClientApplication;
|
|
12275
|
+
exports.CryptoProvider = CryptoProvider;
|
|
12239
12276
|
exports.DistributedCachePlugin = DistributedCachePlugin;
|
|
12240
12277
|
exports.InteractionRequiredAuthError = InteractionRequiredAuthError;
|
|
12241
12278
|
exports.InteractionRequiredAuthErrorCodes = InteractionRequiredAuthErrorCodes;
|