@azure/msal-node 5.0.4 → 5.0.6
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 +105 -86
- 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.6 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0";
|
|
1697
1680
|
|
|
1698
|
-
/*! @azure/msal-common v16.0
|
|
1681
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
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.2.0 2026-03-02 */
|
|
4004
4025
|
/*
|
|
4005
4026
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4006
4027
|
* Licensed under the MIT License.
|
|
@@ -4023,8 +4044,7 @@ const invoke = (callback, eventName, logger, telemetryClient, correlationId) =>
|
|
|
4023
4044
|
const inProgressEvent = telemetryClient.startMeasurement(eventName, correlationId);
|
|
4024
4045
|
if (correlationId) {
|
|
4025
4046
|
// Track number of times this API is called in a single request
|
|
4026
|
-
|
|
4027
|
-
telemetryClient.incrementFields({ [eventCount]: 1 }, correlationId);
|
|
4047
|
+
telemetryClient.incrementFields({ [`ext.${eventName}CallCount`]: 1 }, correlationId);
|
|
4028
4048
|
}
|
|
4029
4049
|
try {
|
|
4030
4050
|
const result = callback(...args);
|
|
@@ -4068,8 +4088,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
4068
4088
|
const inProgressEvent = telemetryClient.startMeasurement(eventName, correlationId);
|
|
4069
4089
|
if (correlationId) {
|
|
4070
4090
|
// Track number of times this API is called in a single request
|
|
4071
|
-
|
|
4072
|
-
telemetryClient.incrementFields({ [eventCount]: 1 }, correlationId);
|
|
4091
|
+
telemetryClient.incrementFields({ [`ext.${eventName}CallCount`]: 1 }, correlationId);
|
|
4073
4092
|
}
|
|
4074
4093
|
return callback(...args)
|
|
4075
4094
|
.then((response) => {
|
|
@@ -4095,7 +4114,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
4095
4114
|
};
|
|
4096
4115
|
};
|
|
4097
4116
|
|
|
4098
|
-
/*! @azure/msal-common v16.0
|
|
4117
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
4099
4118
|
|
|
4100
4119
|
/*
|
|
4101
4120
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4175,7 +4194,7 @@ class PopTokenGenerator {
|
|
|
4175
4194
|
}
|
|
4176
4195
|
}
|
|
4177
4196
|
|
|
4178
|
-
/*! @azure/msal-common v16.0
|
|
4197
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
4179
4198
|
/*
|
|
4180
4199
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4181
4200
|
* Licensed under the MIT License.
|
|
@@ -4202,7 +4221,7 @@ class PopTokenGenerator {
|
|
|
4202
4221
|
}
|
|
4203
4222
|
}
|
|
4204
4223
|
|
|
4205
|
-
/*! @azure/msal-common v16.0
|
|
4224
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
4206
4225
|
|
|
4207
4226
|
/*
|
|
4208
4227
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4461,7 +4480,7 @@ function isAuthorityMetadataExpired(metadata) {
|
|
|
4461
4480
|
return metadata.expiresAt <= nowSeconds();
|
|
4462
4481
|
}
|
|
4463
4482
|
|
|
4464
|
-
/*! @azure/msal-common v16.0
|
|
4483
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
4465
4484
|
|
|
4466
4485
|
/*
|
|
4467
4486
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4797,7 +4816,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
4797
4816
|
return baseAccount;
|
|
4798
4817
|
}
|
|
4799
4818
|
|
|
4800
|
-
/*! @azure/msal-common v16.0
|
|
4819
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
4801
4820
|
/*
|
|
4802
4821
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4803
4822
|
* Licensed under the MIT License.
|
|
@@ -4807,7 +4826,7 @@ const CcsCredentialType = {
|
|
|
4807
4826
|
UPN: "UPN",
|
|
4808
4827
|
};
|
|
4809
4828
|
|
|
4810
|
-
/*! @azure/msal-common v16.0
|
|
4829
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
4811
4830
|
/*
|
|
4812
4831
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4813
4832
|
* Licensed under the MIT License.
|
|
@@ -4825,7 +4844,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
4825
4844
|
}
|
|
4826
4845
|
}
|
|
4827
4846
|
|
|
4828
|
-
/*! @azure/msal-common v16.0
|
|
4847
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
4829
4848
|
/*
|
|
4830
4849
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4831
4850
|
* Licensed under the MIT License.
|
|
@@ -4846,7 +4865,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
4846
4865
|
};
|
|
4847
4866
|
}
|
|
4848
4867
|
|
|
4849
|
-
/*! @azure/msal-common v16.0
|
|
4868
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
4850
4869
|
|
|
4851
4870
|
/*
|
|
4852
4871
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4932,7 +4951,7 @@ class ThrottlingUtils {
|
|
|
4932
4951
|
}
|
|
4933
4952
|
}
|
|
4934
4953
|
|
|
4935
|
-
/*! @azure/msal-common v16.0
|
|
4954
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
4936
4955
|
|
|
4937
4956
|
/*
|
|
4938
4957
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4963,7 +4982,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
|
|
|
4963
4982
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
4964
4983
|
}
|
|
4965
4984
|
|
|
4966
|
-
/*! @azure/msal-common v16.0
|
|
4985
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
4967
4986
|
|
|
4968
4987
|
/*
|
|
4969
4988
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5077,7 +5096,7 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
|
|
|
5077
5096
|
return response;
|
|
5078
5097
|
}
|
|
5079
5098
|
|
|
5080
|
-
/*! @azure/msal-common v16.0
|
|
5099
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
5081
5100
|
/*
|
|
5082
5101
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5083
5102
|
* Licensed under the MIT License.
|
|
@@ -5089,7 +5108,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
5089
5108
|
response.hasOwnProperty("jwks_uri"));
|
|
5090
5109
|
}
|
|
5091
5110
|
|
|
5092
|
-
/*! @azure/msal-common v16.0
|
|
5111
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
5093
5112
|
/*
|
|
5094
5113
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5095
5114
|
* Licensed under the MIT License.
|
|
@@ -5099,7 +5118,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
5099
5118
|
response.hasOwnProperty("metadata"));
|
|
5100
5119
|
}
|
|
5101
5120
|
|
|
5102
|
-
/*! @azure/msal-common v16.0
|
|
5121
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
5103
5122
|
/*
|
|
5104
5123
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5105
5124
|
* Licensed under the MIT License.
|
|
@@ -5109,7 +5128,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
5109
5128
|
response.hasOwnProperty("error_description"));
|
|
5110
5129
|
}
|
|
5111
5130
|
|
|
5112
|
-
/*! @azure/msal-common v16.0
|
|
5131
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
5113
5132
|
|
|
5114
5133
|
/*
|
|
5115
5134
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5214,7 +5233,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
5214
5233
|
},
|
|
5215
5234
|
};
|
|
5216
5235
|
|
|
5217
|
-
/*! @azure/msal-common v16.0
|
|
5236
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
5218
5237
|
|
|
5219
5238
|
/*
|
|
5220
5239
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6037,7 +6056,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
6037
6056
|
};
|
|
6038
6057
|
}
|
|
6039
6058
|
|
|
6040
|
-
/*! @azure/msal-common v16.0
|
|
6059
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
6041
6060
|
|
|
6042
6061
|
/*
|
|
6043
6062
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6071,7 +6090,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
6071
6090
|
}
|
|
6072
6091
|
}
|
|
6073
6092
|
|
|
6074
|
-
/*! @azure/msal-common v16.0
|
|
6093
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
6075
6094
|
|
|
6076
6095
|
/*
|
|
6077
6096
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6331,7 +6350,7 @@ class AuthorizationCodeClient {
|
|
|
6331
6350
|
}
|
|
6332
6351
|
}
|
|
6333
6352
|
|
|
6334
|
-
/*! @azure/msal-common v16.0
|
|
6353
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
6335
6354
|
|
|
6336
6355
|
/*
|
|
6337
6356
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6556,7 +6575,7 @@ class RefreshTokenClient {
|
|
|
6556
6575
|
}
|
|
6557
6576
|
}
|
|
6558
6577
|
|
|
6559
|
-
/*! @azure/msal-common v16.0
|
|
6578
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
6560
6579
|
|
|
6561
6580
|
/*
|
|
6562
6581
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6665,7 +6684,7 @@ class SilentFlowClient {
|
|
|
6665
6684
|
}
|
|
6666
6685
|
}
|
|
6667
6686
|
|
|
6668
|
-
/*! @azure/msal-common v16.0
|
|
6687
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
6669
6688
|
|
|
6670
6689
|
/*
|
|
6671
6690
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6815,7 +6834,7 @@ function extractLoginHint(account) {
|
|
|
6815
6834
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
6816
6835
|
}
|
|
6817
6836
|
|
|
6818
|
-
/*! @azure/msal-common v16.0
|
|
6837
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
6819
6838
|
/*
|
|
6820
6839
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6821
6840
|
* Licensed under the MIT License.
|
|
@@ -6832,7 +6851,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
6832
6851
|
unexpectedError: unexpectedError
|
|
6833
6852
|
});
|
|
6834
6853
|
|
|
6835
|
-
/*! @azure/msal-common v16.0
|
|
6854
|
+
/*! @azure/msal-common v16.2.0 2026-03-02 */
|
|
6836
6855
|
|
|
6837
6856
|
/*
|
|
6838
6857
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -9033,7 +9052,7 @@ class ClientAssertion {
|
|
|
9033
9052
|
|
|
9034
9053
|
/* eslint-disable header/header */
|
|
9035
9054
|
const name = "@azure/msal-node";
|
|
9036
|
-
const version = "5.0.
|
|
9055
|
+
const version = "5.0.6";
|
|
9037
9056
|
|
|
9038
9057
|
/*
|
|
9039
9058
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|