@azure/msal-node 3.7.3 → 3.8.0
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/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.d.ts.map +1 -1
- package/dist/client/PublicClientApplication.mjs +12 -3
- package/dist/client/PublicClientApplication.mjs.map +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/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/NetworkUtils.mjs +1 -1
- package/dist/utils/TimeUtils.mjs +1 -1
- package/lib/msal-node.cjs +78 -63
- package/lib/msal-node.cjs.map +1 -1
- package/lib/types/client/PublicClientApplication.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/package.json +2 -2
- package/src/client/PublicClientApplication.ts +12 -2
- package/src/packageMetadata.ts +1 -1
package/lib/msal-node.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v3.
|
|
1
|
+
/*! @azure/msal-node v3.8.0 2025-09-24 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -153,7 +153,7 @@ class Serializer {
|
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
/*! @azure/msal-common v15.
|
|
156
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
157
157
|
/*
|
|
158
158
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
159
159
|
* Licensed under the MIT License.
|
|
@@ -433,7 +433,7 @@ const EncodingTypes = {
|
|
|
433
433
|
UTF8: "utf-8",
|
|
434
434
|
};
|
|
435
435
|
|
|
436
|
-
/*! @azure/msal-common v15.
|
|
436
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
437
437
|
/*
|
|
438
438
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
439
439
|
* Licensed under the MIT License.
|
|
@@ -450,7 +450,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
450
450
|
unexpectedError: unexpectedError
|
|
451
451
|
});
|
|
452
452
|
|
|
453
|
-
/*! @azure/msal-common v15.
|
|
453
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
454
454
|
|
|
455
455
|
/*
|
|
456
456
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -499,7 +499,7 @@ function createAuthError(code, additionalMessage) {
|
|
|
499
499
|
: AuthErrorMessages[code]);
|
|
500
500
|
}
|
|
501
501
|
|
|
502
|
-
/*! @azure/msal-common v15.
|
|
502
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
503
503
|
/*
|
|
504
504
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
505
505
|
* Licensed under the MIT License.
|
|
@@ -597,7 +597,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
597
597
|
userTimeoutReached: userTimeoutReached
|
|
598
598
|
});
|
|
599
599
|
|
|
600
|
-
/*! @azure/msal-common v15.
|
|
600
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
601
601
|
|
|
602
602
|
/*
|
|
603
603
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -849,7 +849,7 @@ function createClientAuthError(errorCode, additionalMessage) {
|
|
|
849
849
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
850
850
|
}
|
|
851
851
|
|
|
852
|
-
/*! @azure/msal-common v15.
|
|
852
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
853
853
|
|
|
854
854
|
/*
|
|
855
855
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -888,7 +888,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
888
888
|
},
|
|
889
889
|
};
|
|
890
890
|
|
|
891
|
-
/*! @azure/msal-common v15.
|
|
891
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
892
892
|
|
|
893
893
|
/*
|
|
894
894
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1079,12 +1079,12 @@ class Logger {
|
|
|
1079
1079
|
}
|
|
1080
1080
|
}
|
|
1081
1081
|
|
|
1082
|
-
/*! @azure/msal-common v15.
|
|
1082
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
1083
1083
|
/* eslint-disable header/header */
|
|
1084
1084
|
const name$1 = "@azure/msal-common";
|
|
1085
|
-
const version$1 = "15.
|
|
1085
|
+
const version$1 = "15.13.0";
|
|
1086
1086
|
|
|
1087
|
-
/*! @azure/msal-common v15.
|
|
1087
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
1088
1088
|
/*
|
|
1089
1089
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1090
1090
|
* Licensed under the MIT License.
|
|
@@ -1104,7 +1104,7 @@ const AzureCloudInstance = {
|
|
|
1104
1104
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
1105
1105
|
};
|
|
1106
1106
|
|
|
1107
|
-
/*! @azure/msal-common v15.
|
|
1107
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
1108
1108
|
/*
|
|
1109
1109
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1110
1110
|
* Licensed under the MIT License.
|
|
@@ -1160,7 +1160,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
1160
1160
|
urlParseError: urlParseError
|
|
1161
1161
|
});
|
|
1162
1162
|
|
|
1163
|
-
/*! @azure/msal-common v15.
|
|
1163
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
1164
1164
|
|
|
1165
1165
|
/*
|
|
1166
1166
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1303,7 +1303,7 @@ function createClientConfigurationError(errorCode) {
|
|
|
1303
1303
|
return new ClientConfigurationError(errorCode);
|
|
1304
1304
|
}
|
|
1305
1305
|
|
|
1306
|
-
/*! @azure/msal-common v15.
|
|
1306
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
1307
1307
|
/*
|
|
1308
1308
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1309
1309
|
* Licensed under the MIT License.
|
|
@@ -1400,7 +1400,7 @@ class StringUtils {
|
|
|
1400
1400
|
}
|
|
1401
1401
|
}
|
|
1402
1402
|
|
|
1403
|
-
/*! @azure/msal-common v15.
|
|
1403
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
1404
1404
|
|
|
1405
1405
|
/*
|
|
1406
1406
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1595,7 +1595,7 @@ class ScopeSet {
|
|
|
1595
1595
|
}
|
|
1596
1596
|
}
|
|
1597
1597
|
|
|
1598
|
-
/*! @azure/msal-common v15.
|
|
1598
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
1599
1599
|
/*
|
|
1600
1600
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1601
1601
|
* Licensed under the MIT License.
|
|
@@ -1677,7 +1677,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
1677
1677
|
return updatedAccountInfo;
|
|
1678
1678
|
}
|
|
1679
1679
|
|
|
1680
|
-
/*! @azure/msal-common v15.
|
|
1680
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
1681
1681
|
|
|
1682
1682
|
/*
|
|
1683
1683
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1738,7 +1738,7 @@ function checkMaxAge(authTime, maxAge) {
|
|
|
1738
1738
|
}
|
|
1739
1739
|
}
|
|
1740
1740
|
|
|
1741
|
-
/*! @azure/msal-common v15.
|
|
1741
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
1742
1742
|
/**
|
|
1743
1743
|
* Parses hash string from given string. Returns empty string if no hash symbol is found.
|
|
1744
1744
|
* @param hashString
|
|
@@ -1798,7 +1798,7 @@ function mapToQueryString(parameters, encodeExtraParams = true, extraQueryParame
|
|
|
1798
1798
|
return queryParameterArray.join("&");
|
|
1799
1799
|
}
|
|
1800
1800
|
|
|
1801
|
-
/*! @azure/msal-common v15.
|
|
1801
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
1802
1802
|
|
|
1803
1803
|
/*
|
|
1804
1804
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1962,7 +1962,7 @@ class UrlString {
|
|
|
1962
1962
|
}
|
|
1963
1963
|
}
|
|
1964
1964
|
|
|
1965
|
-
/*! @azure/msal-common v15.
|
|
1965
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
1966
1966
|
|
|
1967
1967
|
/*
|
|
1968
1968
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2101,7 +2101,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2101
2101
|
return null;
|
|
2102
2102
|
}
|
|
2103
2103
|
|
|
2104
|
-
/*! @azure/msal-common v15.
|
|
2104
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
2105
2105
|
/*
|
|
2106
2106
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2107
2107
|
* Licensed under the MIT License.
|
|
@@ -2109,7 +2109,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2109
2109
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
2110
2110
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
2111
2111
|
|
|
2112
|
-
/*! @azure/msal-common v15.
|
|
2112
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
2113
2113
|
|
|
2114
2114
|
/*
|
|
2115
2115
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2154,7 +2154,7 @@ function createCacheError(e) {
|
|
|
2154
2154
|
}
|
|
2155
2155
|
}
|
|
2156
2156
|
|
|
2157
|
-
/*! @azure/msal-common v15.
|
|
2157
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
2158
2158
|
|
|
2159
2159
|
/*
|
|
2160
2160
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3262,7 +3262,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3262
3262
|
}
|
|
3263
3263
|
}
|
|
3264
3264
|
|
|
3265
|
-
/*! @azure/msal-common v15.
|
|
3265
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
3266
3266
|
/*
|
|
3267
3267
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3268
3268
|
* Licensed under the MIT License.
|
|
@@ -3286,7 +3286,7 @@ const ProtocolMode = {
|
|
|
3286
3286
|
EAR: "EAR",
|
|
3287
3287
|
};
|
|
3288
3288
|
|
|
3289
|
-
/*! @azure/msal-common v15.
|
|
3289
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
3290
3290
|
/*
|
|
3291
3291
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3292
3292
|
* Licensed under the MIT License.
|
|
@@ -3553,7 +3553,7 @@ const PerformanceEvents = {
|
|
|
3553
3553
|
const PerformanceEventStatus = {
|
|
3554
3554
|
InProgress: 1};
|
|
3555
3555
|
|
|
3556
|
-
/*! @azure/msal-common v15.
|
|
3556
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
3557
3557
|
|
|
3558
3558
|
/*
|
|
3559
3559
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3632,7 +3632,7 @@ class StubPerformanceClient {
|
|
|
3632
3632
|
}
|
|
3633
3633
|
}
|
|
3634
3634
|
|
|
3635
|
-
/*! @azure/msal-common v15.
|
|
3635
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
3636
3636
|
|
|
3637
3637
|
/*
|
|
3638
3638
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3732,7 +3732,7 @@ function isOidcProtocolMode(config) {
|
|
|
3732
3732
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
3733
3733
|
}
|
|
3734
3734
|
|
|
3735
|
-
/*! @azure/msal-common v15.
|
|
3735
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
3736
3736
|
/*
|
|
3737
3737
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3738
3738
|
* Licensed under the MIT License.
|
|
@@ -3742,7 +3742,7 @@ const CcsCredentialType = {
|
|
|
3742
3742
|
UPN: "UPN",
|
|
3743
3743
|
};
|
|
3744
3744
|
|
|
3745
|
-
/*! @azure/msal-common v15.
|
|
3745
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
3746
3746
|
|
|
3747
3747
|
/*
|
|
3748
3748
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3782,7 +3782,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
3782
3782
|
};
|
|
3783
3783
|
}
|
|
3784
3784
|
|
|
3785
|
-
/*! @azure/msal-common v15.
|
|
3785
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
3786
3786
|
/*
|
|
3787
3787
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3788
3788
|
* Licensed under the MIT License.
|
|
@@ -3833,7 +3833,7 @@ const BROKER_CLIENT_ID = "brk_client_id";
|
|
|
3833
3833
|
const BROKER_REDIRECT_URI = "brk_redirect_uri";
|
|
3834
3834
|
const INSTANCE_AWARE = "instance_aware";
|
|
3835
3835
|
|
|
3836
|
-
/*! @azure/msal-common v15.
|
|
3836
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
3837
3837
|
|
|
3838
3838
|
/*
|
|
3839
3839
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4219,7 +4219,7 @@ function addBrokerParameters(parameters, brokerClientId, brokerRedirectUri) {
|
|
|
4219
4219
|
}
|
|
4220
4220
|
}
|
|
4221
4221
|
|
|
4222
|
-
/*! @azure/msal-common v15.
|
|
4222
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
4223
4223
|
/*
|
|
4224
4224
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4225
4225
|
* Licensed under the MIT License.
|
|
@@ -4234,7 +4234,7 @@ const AuthorityType = {
|
|
|
4234
4234
|
Ciam: 3,
|
|
4235
4235
|
};
|
|
4236
4236
|
|
|
4237
|
-
/*! @azure/msal-common v15.
|
|
4237
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
4238
4238
|
/*
|
|
4239
4239
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4240
4240
|
* Licensed under the MIT License.
|
|
@@ -4246,7 +4246,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
4246
4246
|
response.hasOwnProperty("jwks_uri"));
|
|
4247
4247
|
}
|
|
4248
4248
|
|
|
4249
|
-
/*! @azure/msal-common v15.
|
|
4249
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
4250
4250
|
/*
|
|
4251
4251
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4252
4252
|
* Licensed under the MIT License.
|
|
@@ -4256,7 +4256,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
4256
4256
|
response.hasOwnProperty("metadata"));
|
|
4257
4257
|
}
|
|
4258
4258
|
|
|
4259
|
-
/*! @azure/msal-common v15.
|
|
4259
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
4260
4260
|
/*
|
|
4261
4261
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4262
4262
|
* Licensed under the MIT License.
|
|
@@ -4266,7 +4266,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
4266
4266
|
response.hasOwnProperty("error_description"));
|
|
4267
4267
|
}
|
|
4268
4268
|
|
|
4269
|
-
/*! @azure/msal-common v15.
|
|
4269
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
4270
4270
|
/*
|
|
4271
4271
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4272
4272
|
* Licensed under the MIT License.
|
|
@@ -4362,7 +4362,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
4362
4362
|
};
|
|
4363
4363
|
};
|
|
4364
4364
|
|
|
4365
|
-
/*! @azure/msal-common v15.
|
|
4365
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
4366
4366
|
|
|
4367
4367
|
/*
|
|
4368
4368
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4468,7 +4468,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
4468
4468
|
},
|
|
4469
4469
|
};
|
|
4470
4470
|
|
|
4471
|
-
/*! @azure/msal-common v15.
|
|
4471
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
4472
4472
|
/*
|
|
4473
4473
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4474
4474
|
* Licensed under the MIT License.
|
|
@@ -4523,7 +4523,7 @@ function delay(t, value) {
|
|
|
4523
4523
|
return new Promise((resolve) => setTimeout(() => resolve(value), t));
|
|
4524
4524
|
}
|
|
4525
4525
|
|
|
4526
|
-
/*! @azure/msal-common v15.
|
|
4526
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
4527
4527
|
|
|
4528
4528
|
/*
|
|
4529
4529
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4785,7 +4785,7 @@ function isAuthorityMetadataExpired(metadata) {
|
|
|
4785
4785
|
return metadata.expiresAt <= nowSeconds();
|
|
4786
4786
|
}
|
|
4787
4787
|
|
|
4788
|
-
/*! @azure/msal-common v15.
|
|
4788
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
4789
4789
|
|
|
4790
4790
|
/*
|
|
4791
4791
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5624,7 +5624,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
5624
5624
|
};
|
|
5625
5625
|
}
|
|
5626
5626
|
|
|
5627
|
-
/*! @azure/msal-common v15.
|
|
5627
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
5628
5628
|
|
|
5629
5629
|
/*
|
|
5630
5630
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5655,7 +5655,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
5655
5655
|
}
|
|
5656
5656
|
}
|
|
5657
5657
|
|
|
5658
|
-
/*! @azure/msal-common v15.
|
|
5658
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
5659
5659
|
|
|
5660
5660
|
/*
|
|
5661
5661
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5674,7 +5674,7 @@ class ServerError extends AuthError {
|
|
|
5674
5674
|
}
|
|
5675
5675
|
}
|
|
5676
5676
|
|
|
5677
|
-
/*! @azure/msal-common v15.
|
|
5677
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
5678
5678
|
/*
|
|
5679
5679
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5680
5680
|
* Licensed under the MIT License.
|
|
@@ -5695,7 +5695,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
5695
5695
|
};
|
|
5696
5696
|
}
|
|
5697
5697
|
|
|
5698
|
-
/*! @azure/msal-common v15.
|
|
5698
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
5699
5699
|
|
|
5700
5700
|
/*
|
|
5701
5701
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5782,7 +5782,7 @@ class ThrottlingUtils {
|
|
|
5782
5782
|
}
|
|
5783
5783
|
}
|
|
5784
5784
|
|
|
5785
|
-
/*! @azure/msal-common v15.
|
|
5785
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
5786
5786
|
|
|
5787
5787
|
/*
|
|
5788
5788
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5802,7 +5802,7 @@ class NetworkError extends AuthError {
|
|
|
5802
5802
|
}
|
|
5803
5803
|
}
|
|
5804
5804
|
|
|
5805
|
-
/*! @azure/msal-common v15.
|
|
5805
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
5806
5806
|
|
|
5807
5807
|
/*
|
|
5808
5808
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5950,7 +5950,7 @@ class BaseClient {
|
|
|
5950
5950
|
}
|
|
5951
5951
|
}
|
|
5952
5952
|
|
|
5953
|
-
/*! @azure/msal-common v15.
|
|
5953
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
5954
5954
|
/*
|
|
5955
5955
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5956
5956
|
* Licensed under the MIT License.
|
|
@@ -5972,7 +5972,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
5972
5972
|
return null;
|
|
5973
5973
|
}
|
|
5974
5974
|
|
|
5975
|
-
/*! @azure/msal-common v15.
|
|
5975
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
5976
5976
|
|
|
5977
5977
|
/*
|
|
5978
5978
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6020,6 +6020,7 @@ class AccountEntity {
|
|
|
6020
6020
|
tenantProfiles: new Map((this.tenantProfiles || []).map((tenantProfile) => {
|
|
6021
6021
|
return [tenantProfile.tenantId, tenantProfile];
|
|
6022
6022
|
})),
|
|
6023
|
+
dataBoundary: this.dataBoundary,
|
|
6023
6024
|
};
|
|
6024
6025
|
}
|
|
6025
6026
|
/**
|
|
@@ -6046,6 +6047,10 @@ class AccountEntity {
|
|
|
6046
6047
|
let clientInfo;
|
|
6047
6048
|
if (accountDetails.clientInfo && base64Decode) {
|
|
6048
6049
|
clientInfo = buildClientInfo(accountDetails.clientInfo, base64Decode);
|
|
6050
|
+
if (clientInfo.xms_tdbr) {
|
|
6051
|
+
account.dataBoundary =
|
|
6052
|
+
clientInfo.xms_tdbr === "EU" ? "EU" : "None";
|
|
6053
|
+
}
|
|
6049
6054
|
}
|
|
6050
6055
|
account.clientInfo = accountDetails.clientInfo;
|
|
6051
6056
|
account.homeAccountId = accountDetails.homeAccountId;
|
|
@@ -6114,6 +6119,7 @@ class AccountEntity {
|
|
|
6114
6119
|
account.msGraphHost = msGraphHost;
|
|
6115
6120
|
// Serialize tenant profiles map into an array
|
|
6116
6121
|
account.tenantProfiles = Array.from(accountInfo.tenantProfiles?.values() || []);
|
|
6122
|
+
account.dataBoundary = accountInfo.dataBoundary;
|
|
6117
6123
|
return account;
|
|
6118
6124
|
}
|
|
6119
6125
|
/**
|
|
@@ -6187,7 +6193,7 @@ class AccountEntity {
|
|
|
6187
6193
|
}
|
|
6188
6194
|
}
|
|
6189
6195
|
|
|
6190
|
-
/*! @azure/msal-common v15.
|
|
6196
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
6191
6197
|
/*
|
|
6192
6198
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6193
6199
|
* Licensed under the MIT License.
|
|
@@ -6215,7 +6221,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
6215
6221
|
uxNotAllowed: uxNotAllowed
|
|
6216
6222
|
});
|
|
6217
6223
|
|
|
6218
|
-
/*! @azure/msal-common v15.
|
|
6224
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
6219
6225
|
|
|
6220
6226
|
/*
|
|
6221
6227
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6305,7 +6311,7 @@ function createInteractionRequiredAuthError(errorCode) {
|
|
|
6305
6311
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
6306
6312
|
}
|
|
6307
6313
|
|
|
6308
|
-
/*! @azure/msal-common v15.
|
|
6314
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
6309
6315
|
|
|
6310
6316
|
/*
|
|
6311
6317
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6377,7 +6383,7 @@ class ProtocolUtils {
|
|
|
6377
6383
|
}
|
|
6378
6384
|
}
|
|
6379
6385
|
|
|
6380
|
-
/*! @azure/msal-common v15.
|
|
6386
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
6381
6387
|
|
|
6382
6388
|
/*
|
|
6383
6389
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6459,7 +6465,7 @@ class PopTokenGenerator {
|
|
|
6459
6465
|
}
|
|
6460
6466
|
}
|
|
6461
6467
|
|
|
6462
|
-
/*! @azure/msal-common v15.
|
|
6468
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
6463
6469
|
/*
|
|
6464
6470
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6465
6471
|
* Licensed under the MIT License.
|
|
@@ -6486,7 +6492,7 @@ class PopTokenGenerator {
|
|
|
6486
6492
|
}
|
|
6487
6493
|
}
|
|
6488
6494
|
|
|
6489
|
-
/*! @azure/msal-common v15.
|
|
6495
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
6490
6496
|
|
|
6491
6497
|
/*
|
|
6492
6498
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6817,7 +6823,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
6817
6823
|
return baseAccount;
|
|
6818
6824
|
}
|
|
6819
6825
|
|
|
6820
|
-
/*! @azure/msal-common v15.
|
|
6826
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
6821
6827
|
/*
|
|
6822
6828
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6823
6829
|
* Licensed under the MIT License.
|
|
@@ -6835,7 +6841,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
6835
6841
|
}
|
|
6836
6842
|
}
|
|
6837
6843
|
|
|
6838
|
-
/*! @azure/msal-common v15.
|
|
6844
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
6839
6845
|
|
|
6840
6846
|
/*
|
|
6841
6847
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7070,7 +7076,7 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
7070
7076
|
}
|
|
7071
7077
|
}
|
|
7072
7078
|
|
|
7073
|
-
/*! @azure/msal-common v15.
|
|
7079
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
7074
7080
|
|
|
7075
7081
|
/*
|
|
7076
7082
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7279,7 +7285,7 @@ class RefreshTokenClient extends BaseClient {
|
|
|
7279
7285
|
}
|
|
7280
7286
|
}
|
|
7281
7287
|
|
|
7282
|
-
/*! @azure/msal-common v15.
|
|
7288
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
7283
7289
|
|
|
7284
7290
|
/*
|
|
7285
7291
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7377,7 +7383,7 @@ class SilentFlowClient extends BaseClient {
|
|
|
7377
7383
|
}
|
|
7378
7384
|
}
|
|
7379
7385
|
|
|
7380
|
-
/*! @azure/msal-common v15.
|
|
7386
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
7381
7387
|
|
|
7382
7388
|
/*
|
|
7383
7389
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7527,7 +7533,7 @@ function extractLoginHint(account) {
|
|
|
7527
7533
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
7528
7534
|
}
|
|
7529
7535
|
|
|
7530
|
-
/*! @azure/msal-common v15.
|
|
7536
|
+
/*! @azure/msal-common v15.13.0 2025-09-24 */
|
|
7531
7537
|
|
|
7532
7538
|
/*
|
|
7533
7539
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -9884,7 +9890,7 @@ class ClientAssertion {
|
|
|
9884
9890
|
|
|
9885
9891
|
/* eslint-disable header/header */
|
|
9886
9892
|
const name = "@azure/msal-node";
|
|
9887
|
-
const version = "3.
|
|
9893
|
+
const version = "3.8.0";
|
|
9888
9894
|
|
|
9889
9895
|
/*
|
|
9890
9896
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -10779,7 +10785,12 @@ class PublicClientApplication extends ClientApplication {
|
|
|
10779
10785
|
return this.nativeBrokerPlugin.acquireTokenInteractive(brokerRequest, windowHandle);
|
|
10780
10786
|
}
|
|
10781
10787
|
if (request.redirectUri) {
|
|
10782
|
-
throw
|
|
10788
|
+
// If its not a broker fallback scenario, we throw a error
|
|
10789
|
+
if (!this.config.broker.nativeBrokerPlugin) {
|
|
10790
|
+
throw NodeAuthError.createRedirectUriNotSupportedError();
|
|
10791
|
+
}
|
|
10792
|
+
// If a redirect URI is provided for a broker flow but MSAL runtime startup failed, we fall back to the browser flow and will ignore the redirect URI provided for the broker flow
|
|
10793
|
+
request.redirectUri = "";
|
|
10783
10794
|
}
|
|
10784
10795
|
const { verifier, challenge } = await this.cryptoProvider.generatePkceCodes();
|
|
10785
10796
|
const loopbackClient = customLoopbackClient || new LoopbackClient();
|
|
@@ -10857,7 +10868,11 @@ class PublicClientApplication extends ClientApplication {
|
|
|
10857
10868
|
return this.nativeBrokerPlugin.acquireTokenSilent(brokerRequest);
|
|
10858
10869
|
}
|
|
10859
10870
|
if (request.redirectUri) {
|
|
10860
|
-
throw
|
|
10871
|
+
// If its not a broker fallback scenario, we throw a error
|
|
10872
|
+
if (!this.config.broker.nativeBrokerPlugin) {
|
|
10873
|
+
throw NodeAuthError.createRedirectUriNotSupportedError();
|
|
10874
|
+
}
|
|
10875
|
+
request.redirectUri = "";
|
|
10861
10876
|
}
|
|
10862
10877
|
return super.acquireTokenSilent(request);
|
|
10863
10878
|
}
|