@azure/msal-node 5.0.4 → 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.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 +103 -82
- 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.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.
|
|
@@ -2191,7 +2174,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2191
2174
|
return null;
|
|
2192
2175
|
}
|
|
2193
2176
|
|
|
2194
|
-
/*! @azure/msal-common v16.0
|
|
2177
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
2195
2178
|
/*
|
|
2196
2179
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2197
2180
|
* Licensed under the MIT License.
|
|
@@ -2199,7 +2182,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2199
2182
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
2200
2183
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
2201
2184
|
|
|
2202
|
-
/*! @azure/msal-common v16.0
|
|
2185
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
2203
2186
|
|
|
2204
2187
|
/*
|
|
2205
2188
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2237,7 +2220,7 @@ function createCacheError(e) {
|
|
|
2237
2220
|
}
|
|
2238
2221
|
}
|
|
2239
2222
|
|
|
2240
|
-
/*! @azure/msal-common v16.0
|
|
2223
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
2241
2224
|
|
|
2242
2225
|
/*
|
|
2243
2226
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2275,7 +2258,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
2275
2258
|
};
|
|
2276
2259
|
}
|
|
2277
2260
|
|
|
2278
|
-
/*! @azure/msal-common v16.0
|
|
2261
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
2279
2262
|
/*
|
|
2280
2263
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2281
2264
|
* Licensed under the MIT License.
|
|
@@ -2290,7 +2273,7 @@ const AuthorityType = {
|
|
|
2290
2273
|
Ciam: 3,
|
|
2291
2274
|
};
|
|
2292
2275
|
|
|
2293
|
-
/*! @azure/msal-common v16.0
|
|
2276
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
2294
2277
|
/*
|
|
2295
2278
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2296
2279
|
* Licensed under the MIT License.
|
|
@@ -2312,7 +2295,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
2312
2295
|
return null;
|
|
2313
2296
|
}
|
|
2314
2297
|
|
|
2315
|
-
/*! @azure/msal-common v16.0
|
|
2298
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
2316
2299
|
/*
|
|
2317
2300
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2318
2301
|
* Licensed under the MIT License.
|
|
@@ -2336,7 +2319,7 @@ const ProtocolMode = {
|
|
|
2336
2319
|
EAR: "EAR",
|
|
2337
2320
|
};
|
|
2338
2321
|
|
|
2339
|
-
/*! @azure/msal-common v16.0
|
|
2322
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
2340
2323
|
/**
|
|
2341
2324
|
* Returns the AccountInfo interface for this account.
|
|
2342
2325
|
*/
|
|
@@ -2479,7 +2462,7 @@ function isAccountEntity(entity) {
|
|
|
2479
2462
|
entity.hasOwnProperty("authorityType"));
|
|
2480
2463
|
}
|
|
2481
2464
|
|
|
2482
|
-
/*! @azure/msal-common v16.0
|
|
2465
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
2483
2466
|
|
|
2484
2467
|
/*
|
|
2485
2468
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3575,7 +3558,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3575
3558
|
}
|
|
3576
3559
|
}
|
|
3577
3560
|
|
|
3578
|
-
/*! @azure/msal-common v16.0
|
|
3561
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
3579
3562
|
/*
|
|
3580
3563
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3581
3564
|
* Licensed under the MIT License.
|
|
@@ -3589,7 +3572,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3589
3572
|
const PerformanceEventStatus = {
|
|
3590
3573
|
InProgress: 1};
|
|
3591
3574
|
|
|
3592
|
-
/*! @azure/msal-common v16.0
|
|
3575
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
3593
3576
|
|
|
3594
3577
|
/*
|
|
3595
3578
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3644,7 +3627,7 @@ class StubPerformanceClient {
|
|
|
3644
3627
|
}
|
|
3645
3628
|
}
|
|
3646
3629
|
|
|
3647
|
-
/*! @azure/msal-common v16.0
|
|
3630
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
3648
3631
|
|
|
3649
3632
|
/*
|
|
3650
3633
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3738,7 +3721,7 @@ function isOidcProtocolMode(config) {
|
|
|
3738
3721
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
3739
3722
|
}
|
|
3740
3723
|
|
|
3741
|
-
/*! @azure/msal-common v16.0
|
|
3724
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
3742
3725
|
|
|
3743
3726
|
/*
|
|
3744
3727
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3757,27 +3740,63 @@ class ServerError extends AuthError {
|
|
|
3757
3740
|
}
|
|
3758
3741
|
}
|
|
3759
3742
|
|
|
3760
|
-
/*! @azure/msal-common v16.0
|
|
3743
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
3761
3744
|
/*
|
|
3762
3745
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3763
3746
|
* Licensed under the MIT License.
|
|
3764
3747
|
*/
|
|
3765
|
-
|
|
3748
|
+
/**
|
|
3749
|
+
* MSAL-defined interaction required error code indicating no tokens are found in cache.
|
|
3750
|
+
* @public
|
|
3751
|
+
*/
|
|
3766
3752
|
const noTokensFound = "no_tokens_found";
|
|
3753
|
+
/**
|
|
3754
|
+
* MSAL-defined error code indicating a native account is unavailable on the platform.
|
|
3755
|
+
* @public
|
|
3756
|
+
*/
|
|
3767
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
|
+
*/
|
|
3768
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
|
+
*/
|
|
3769
3767
|
const uxNotAllowed = "ux_not_allowed";
|
|
3770
|
-
|
|
3768
|
+
/**
|
|
3769
|
+
* Server-originated error code indicating interaction is required to complete the request.
|
|
3770
|
+
* @public
|
|
3771
|
+
*/
|
|
3771
3772
|
const interactionRequired = "interaction_required";
|
|
3773
|
+
/**
|
|
3774
|
+
* Server-originated error code indicating user consent is required.
|
|
3775
|
+
* @public
|
|
3776
|
+
*/
|
|
3772
3777
|
const consentRequired = "consent_required";
|
|
3778
|
+
/**
|
|
3779
|
+
* Server-originated error code indicating user login is required.
|
|
3780
|
+
* @public
|
|
3781
|
+
*/
|
|
3773
3782
|
const loginRequired = "login_required";
|
|
3774
|
-
|
|
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";
|
|
3775
3793
|
|
|
3776
3794
|
var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
3777
3795
|
__proto__: null,
|
|
3778
3796
|
badToken: badToken,
|
|
3779
3797
|
consentRequired: consentRequired,
|
|
3780
3798
|
interactionRequired: interactionRequired,
|
|
3799
|
+
interruptedUser: interruptedUser,
|
|
3781
3800
|
loginRequired: loginRequired,
|
|
3782
3801
|
nativeAccountUnavailable: nativeAccountUnavailable,
|
|
3783
3802
|
noTokensFound: noTokensFound,
|
|
@@ -3785,7 +3804,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
3785
3804
|
uxNotAllowed: uxNotAllowed
|
|
3786
3805
|
});
|
|
3787
3806
|
|
|
3788
|
-
/*! @azure/msal-common v16.0
|
|
3807
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
3789
3808
|
|
|
3790
3809
|
/*
|
|
3791
3810
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3800,6 +3819,7 @@ const InteractionRequiredServerErrorMessage = [
|
|
|
3800
3819
|
loginRequired,
|
|
3801
3820
|
badToken,
|
|
3802
3821
|
uxNotAllowed,
|
|
3822
|
+
interruptedUser,
|
|
3803
3823
|
];
|
|
3804
3824
|
const InteractionRequiredAuthSubErrorMessage = [
|
|
3805
3825
|
"message_only",
|
|
@@ -3809,6 +3829,7 @@ const InteractionRequiredAuthSubErrorMessage = [
|
|
|
3809
3829
|
"consent_required",
|
|
3810
3830
|
"bad_token",
|
|
3811
3831
|
"ux_not_allowed",
|
|
3832
|
+
"interrupted_user",
|
|
3812
3833
|
];
|
|
3813
3834
|
/**
|
|
3814
3835
|
* Error thrown when user interaction is required.
|
|
@@ -3851,7 +3872,7 @@ function createInteractionRequiredAuthError(errorCode, errorMessage) {
|
|
|
3851
3872
|
return new InteractionRequiredAuthError(errorCode, errorMessage);
|
|
3852
3873
|
}
|
|
3853
3874
|
|
|
3854
|
-
/*! @azure/msal-common v16.0
|
|
3875
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
3855
3876
|
/**
|
|
3856
3877
|
* Parses the state into the RequestStateObject, which contains the LibraryState info and the state passed by the user.
|
|
3857
3878
|
* @param base64Decode
|
|
@@ -3883,7 +3904,7 @@ function parseRequestState(base64Decode, state) {
|
|
|
3883
3904
|
}
|
|
3884
3905
|
}
|
|
3885
3906
|
|
|
3886
|
-
/*! @azure/msal-common v16.0
|
|
3907
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
3887
3908
|
/*
|
|
3888
3909
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3889
3910
|
* Licensed under the MIT License.
|
|
@@ -3938,7 +3959,7 @@ function delay(t, value) {
|
|
|
3938
3959
|
return new Promise((resolve) => setTimeout(() => resolve(value), t));
|
|
3939
3960
|
}
|
|
3940
3961
|
|
|
3941
|
-
/*! @azure/msal-common v16.0
|
|
3962
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
3942
3963
|
/*
|
|
3943
3964
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3944
3965
|
* Licensed under the MIT License.
|
|
@@ -4000,7 +4021,7 @@ const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
|
|
|
4000
4021
|
*/
|
|
4001
4022
|
const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
|
|
4002
4023
|
|
|
4003
|
-
/*! @azure/msal-common v16.0
|
|
4024
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
4004
4025
|
/*
|
|
4005
4026
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4006
4027
|
* Licensed under the MIT License.
|
|
@@ -4095,7 +4116,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
4095
4116
|
};
|
|
4096
4117
|
};
|
|
4097
4118
|
|
|
4098
|
-
/*! @azure/msal-common v16.0
|
|
4119
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
4099
4120
|
|
|
4100
4121
|
/*
|
|
4101
4122
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4175,7 +4196,7 @@ class PopTokenGenerator {
|
|
|
4175
4196
|
}
|
|
4176
4197
|
}
|
|
4177
4198
|
|
|
4178
|
-
/*! @azure/msal-common v16.0
|
|
4199
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
4179
4200
|
/*
|
|
4180
4201
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4181
4202
|
* Licensed under the MIT License.
|
|
@@ -4202,7 +4223,7 @@ class PopTokenGenerator {
|
|
|
4202
4223
|
}
|
|
4203
4224
|
}
|
|
4204
4225
|
|
|
4205
|
-
/*! @azure/msal-common v16.0
|
|
4226
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
4206
4227
|
|
|
4207
4228
|
/*
|
|
4208
4229
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4461,7 +4482,7 @@ function isAuthorityMetadataExpired(metadata) {
|
|
|
4461
4482
|
return metadata.expiresAt <= nowSeconds();
|
|
4462
4483
|
}
|
|
4463
4484
|
|
|
4464
|
-
/*! @azure/msal-common v16.0
|
|
4485
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
4465
4486
|
|
|
4466
4487
|
/*
|
|
4467
4488
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4797,7 +4818,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
4797
4818
|
return baseAccount;
|
|
4798
4819
|
}
|
|
4799
4820
|
|
|
4800
|
-
/*! @azure/msal-common v16.0
|
|
4821
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
4801
4822
|
/*
|
|
4802
4823
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4803
4824
|
* Licensed under the MIT License.
|
|
@@ -4807,7 +4828,7 @@ const CcsCredentialType = {
|
|
|
4807
4828
|
UPN: "UPN",
|
|
4808
4829
|
};
|
|
4809
4830
|
|
|
4810
|
-
/*! @azure/msal-common v16.0
|
|
4831
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
4811
4832
|
/*
|
|
4812
4833
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4813
4834
|
* Licensed under the MIT License.
|
|
@@ -4825,7 +4846,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
4825
4846
|
}
|
|
4826
4847
|
}
|
|
4827
4848
|
|
|
4828
|
-
/*! @azure/msal-common v16.0
|
|
4849
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
4829
4850
|
/*
|
|
4830
4851
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4831
4852
|
* Licensed under the MIT License.
|
|
@@ -4846,7 +4867,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
4846
4867
|
};
|
|
4847
4868
|
}
|
|
4848
4869
|
|
|
4849
|
-
/*! @azure/msal-common v16.0
|
|
4870
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
4850
4871
|
|
|
4851
4872
|
/*
|
|
4852
4873
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4932,7 +4953,7 @@ class ThrottlingUtils {
|
|
|
4932
4953
|
}
|
|
4933
4954
|
}
|
|
4934
4955
|
|
|
4935
|
-
/*! @azure/msal-common v16.0
|
|
4956
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
4936
4957
|
|
|
4937
4958
|
/*
|
|
4938
4959
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4963,7 +4984,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
|
|
|
4963
4984
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
4964
4985
|
}
|
|
4965
4986
|
|
|
4966
|
-
/*! @azure/msal-common v16.0
|
|
4987
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
4967
4988
|
|
|
4968
4989
|
/*
|
|
4969
4990
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5077,7 +5098,7 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
|
|
|
5077
5098
|
return response;
|
|
5078
5099
|
}
|
|
5079
5100
|
|
|
5080
|
-
/*! @azure/msal-common v16.0
|
|
5101
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
5081
5102
|
/*
|
|
5082
5103
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5083
5104
|
* Licensed under the MIT License.
|
|
@@ -5089,7 +5110,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
5089
5110
|
response.hasOwnProperty("jwks_uri"));
|
|
5090
5111
|
}
|
|
5091
5112
|
|
|
5092
|
-
/*! @azure/msal-common v16.0
|
|
5113
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
5093
5114
|
/*
|
|
5094
5115
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5095
5116
|
* Licensed under the MIT License.
|
|
@@ -5099,7 +5120,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
5099
5120
|
response.hasOwnProperty("metadata"));
|
|
5100
5121
|
}
|
|
5101
5122
|
|
|
5102
|
-
/*! @azure/msal-common v16.0
|
|
5123
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
5103
5124
|
/*
|
|
5104
5125
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5105
5126
|
* Licensed under the MIT License.
|
|
@@ -5109,7 +5130,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
5109
5130
|
response.hasOwnProperty("error_description"));
|
|
5110
5131
|
}
|
|
5111
5132
|
|
|
5112
|
-
/*! @azure/msal-common v16.0
|
|
5133
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
5113
5134
|
|
|
5114
5135
|
/*
|
|
5115
5136
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5214,7 +5235,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
5214
5235
|
},
|
|
5215
5236
|
};
|
|
5216
5237
|
|
|
5217
|
-
/*! @azure/msal-common v16.0
|
|
5238
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
5218
5239
|
|
|
5219
5240
|
/*
|
|
5220
5241
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6037,7 +6058,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
6037
6058
|
};
|
|
6038
6059
|
}
|
|
6039
6060
|
|
|
6040
|
-
/*! @azure/msal-common v16.0
|
|
6061
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
6041
6062
|
|
|
6042
6063
|
/*
|
|
6043
6064
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6071,7 +6092,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
6071
6092
|
}
|
|
6072
6093
|
}
|
|
6073
6094
|
|
|
6074
|
-
/*! @azure/msal-common v16.0
|
|
6095
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
6075
6096
|
|
|
6076
6097
|
/*
|
|
6077
6098
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6331,7 +6352,7 @@ class AuthorizationCodeClient {
|
|
|
6331
6352
|
}
|
|
6332
6353
|
}
|
|
6333
6354
|
|
|
6334
|
-
/*! @azure/msal-common v16.0
|
|
6355
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
6335
6356
|
|
|
6336
6357
|
/*
|
|
6337
6358
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6556,7 +6577,7 @@ class RefreshTokenClient {
|
|
|
6556
6577
|
}
|
|
6557
6578
|
}
|
|
6558
6579
|
|
|
6559
|
-
/*! @azure/msal-common v16.0
|
|
6580
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
6560
6581
|
|
|
6561
6582
|
/*
|
|
6562
6583
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6665,7 +6686,7 @@ class SilentFlowClient {
|
|
|
6665
6686
|
}
|
|
6666
6687
|
}
|
|
6667
6688
|
|
|
6668
|
-
/*! @azure/msal-common v16.0
|
|
6689
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
6669
6690
|
|
|
6670
6691
|
/*
|
|
6671
6692
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6815,7 +6836,7 @@ function extractLoginHint(account) {
|
|
|
6815
6836
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
6816
6837
|
}
|
|
6817
6838
|
|
|
6818
|
-
/*! @azure/msal-common v16.0
|
|
6839
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
6819
6840
|
/*
|
|
6820
6841
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6821
6842
|
* Licensed under the MIT License.
|
|
@@ -6832,7 +6853,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
6832
6853
|
unexpectedError: unexpectedError
|
|
6833
6854
|
});
|
|
6834
6855
|
|
|
6835
|
-
/*! @azure/msal-common v16.0
|
|
6856
|
+
/*! @azure/msal-common v16.1.0 2026-02-24 */
|
|
6836
6857
|
|
|
6837
6858
|
/*
|
|
6838
6859
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -9033,7 +9054,7 @@ class ClientAssertion {
|
|
|
9033
9054
|
|
|
9034
9055
|
/* eslint-disable header/header */
|
|
9035
9056
|
const name = "@azure/msal-node";
|
|
9036
|
-
const version = "5.0.
|
|
9057
|
+
const version = "5.0.5";
|
|
9037
9058
|
|
|
9038
9059
|
/*
|
|
9039
9060
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|