@azure/msal-node 3.2.2 → 3.2.3
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/README.md +3 -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.d.ts +1 -0
- package/dist/client/ClientApplication.d.ts.map +1 -1
- package/dist/client/ClientApplication.mjs +2 -1
- package/dist/client/ClientApplication.mjs.map +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/IConfidentialClientApplication.d.ts +4 -1
- package/dist/client/IConfidentialClientApplication.d.ts.map +1 -1
- package/dist/client/IPublicClientApplication.d.ts +4 -1
- package/dist/client/IPublicClientApplication.d.ts.map +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.d.ts +1 -0
- package/dist/client/UsernamePasswordClient.d.ts.map +1 -1
- package/dist/client/UsernamePasswordClient.mjs +2 -1
- package/dist/client/UsernamePasswordClient.mjs.map +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/retry/LinearRetryPolicy.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 +61 -59
- package/lib/msal-node.cjs.map +1 -1
- package/lib/types/client/ClientApplication.d.ts +1 -0
- package/lib/types/client/ClientApplication.d.ts.map +1 -1
- package/lib/types/client/IConfidentialClientApplication.d.ts +4 -1
- package/lib/types/client/IConfidentialClientApplication.d.ts.map +1 -1
- package/lib/types/client/IPublicClientApplication.d.ts +4 -1
- package/lib/types/client/IPublicClientApplication.d.ts.map +1 -1
- package/lib/types/client/UsernamePasswordClient.d.ts +1 -0
- package/lib/types/client/UsernamePasswordClient.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/package.json +2 -2
- package/src/client/ClientApplication.ts +1 -0
- package/src/client/IConfidentialClientApplication.ts +4 -1
- package/src/client/IPublicClientApplication.ts +4 -1
- package/src/client/UsernamePasswordClient.ts +1 -0
- package/src/packageMetadata.ts +1 -1
package/lib/msal-node.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v3.2.
|
|
1
|
+
/*! @azure/msal-node v3.2.3 2025-02-18 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -152,7 +152,7 @@ class Serializer {
|
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
/*! @azure/msal-common v15.
|
|
155
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
156
156
|
/*
|
|
157
157
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
158
158
|
* Licensed under the MIT License.
|
|
@@ -445,7 +445,7 @@ const CacheOutcome = {
|
|
|
445
445
|
// Token renewal offset default in seconds
|
|
446
446
|
const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
447
447
|
|
|
448
|
-
/*! @azure/msal-common v15.
|
|
448
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
449
449
|
/*
|
|
450
450
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
451
451
|
* Licensed under the MIT License.
|
|
@@ -462,7 +462,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
462
462
|
unexpectedError: unexpectedError
|
|
463
463
|
});
|
|
464
464
|
|
|
465
|
-
/*! @azure/msal-common v15.
|
|
465
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
466
466
|
|
|
467
467
|
/*
|
|
468
468
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -511,7 +511,7 @@ function createAuthError(code, additionalMessage) {
|
|
|
511
511
|
: AuthErrorMessages[code]);
|
|
512
512
|
}
|
|
513
513
|
|
|
514
|
-
/*! @azure/msal-common v15.
|
|
514
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
515
515
|
/*
|
|
516
516
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
517
517
|
* Licensed under the MIT License.
|
|
@@ -609,7 +609,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
609
609
|
userTimeoutReached: userTimeoutReached
|
|
610
610
|
});
|
|
611
611
|
|
|
612
|
-
/*! @azure/msal-common v15.
|
|
612
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
613
613
|
|
|
614
614
|
/*
|
|
615
615
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -861,7 +861,7 @@ function createClientAuthError(errorCode, additionalMessage) {
|
|
|
861
861
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
862
862
|
}
|
|
863
863
|
|
|
864
|
-
/*! @azure/msal-common v15.
|
|
864
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
865
865
|
|
|
866
866
|
/*
|
|
867
867
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -900,7 +900,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
900
900
|
},
|
|
901
901
|
};
|
|
902
902
|
|
|
903
|
-
/*! @azure/msal-common v15.
|
|
903
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
904
904
|
|
|
905
905
|
/*
|
|
906
906
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1091,12 +1091,12 @@ class Logger {
|
|
|
1091
1091
|
}
|
|
1092
1092
|
}
|
|
1093
1093
|
|
|
1094
|
-
/*! @azure/msal-common v15.
|
|
1094
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
1095
1095
|
/* eslint-disable header/header */
|
|
1096
1096
|
const name$1 = "@azure/msal-common";
|
|
1097
|
-
const version$1 = "15.
|
|
1097
|
+
const version$1 = "15.2.0";
|
|
1098
1098
|
|
|
1099
|
-
/*! @azure/msal-common v15.
|
|
1099
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
1100
1100
|
/*
|
|
1101
1101
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1102
1102
|
* Licensed under the MIT License.
|
|
@@ -1116,7 +1116,7 @@ const AzureCloudInstance = {
|
|
|
1116
1116
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
1117
1117
|
};
|
|
1118
1118
|
|
|
1119
|
-
/*! @azure/msal-common v15.
|
|
1119
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
1120
1120
|
|
|
1121
1121
|
/*
|
|
1122
1122
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1177,7 +1177,7 @@ function checkMaxAge(authTime, maxAge) {
|
|
|
1177
1177
|
}
|
|
1178
1178
|
}
|
|
1179
1179
|
|
|
1180
|
-
/*! @azure/msal-common v15.
|
|
1180
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
1181
1181
|
/*
|
|
1182
1182
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1183
1183
|
* Licensed under the MIT License.
|
|
@@ -1222,7 +1222,7 @@ function delay(t, value) {
|
|
|
1222
1222
|
return new Promise((resolve) => setTimeout(() => resolve(value), t));
|
|
1223
1223
|
}
|
|
1224
1224
|
|
|
1225
|
-
/*! @azure/msal-common v15.
|
|
1225
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
1226
1226
|
|
|
1227
1227
|
/*
|
|
1228
1228
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1549,7 +1549,7 @@ function isAuthorityMetadataExpired(metadata) {
|
|
|
1549
1549
|
return metadata.expiresAt <= nowSeconds();
|
|
1550
1550
|
}
|
|
1551
1551
|
|
|
1552
|
-
/*! @azure/msal-common v15.
|
|
1552
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
1553
1553
|
/*
|
|
1554
1554
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1555
1555
|
* Licensed under the MIT License.
|
|
@@ -1603,7 +1603,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
1603
1603
|
urlParseError: urlParseError
|
|
1604
1604
|
});
|
|
1605
1605
|
|
|
1606
|
-
/*! @azure/msal-common v15.
|
|
1606
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
1607
1607
|
|
|
1608
1608
|
/*
|
|
1609
1609
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1741,7 +1741,7 @@ function createClientConfigurationError(errorCode) {
|
|
|
1741
1741
|
return new ClientConfigurationError(errorCode);
|
|
1742
1742
|
}
|
|
1743
1743
|
|
|
1744
|
-
/*! @azure/msal-common v15.
|
|
1744
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
1745
1745
|
/*
|
|
1746
1746
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1747
1747
|
* Licensed under the MIT License.
|
|
@@ -1838,7 +1838,7 @@ class StringUtils {
|
|
|
1838
1838
|
}
|
|
1839
1839
|
}
|
|
1840
1840
|
|
|
1841
|
-
/*! @azure/msal-common v15.
|
|
1841
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
1842
1842
|
|
|
1843
1843
|
/*
|
|
1844
1844
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2029,7 +2029,7 @@ class ScopeSet {
|
|
|
2029
2029
|
}
|
|
2030
2030
|
}
|
|
2031
2031
|
|
|
2032
|
-
/*! @azure/msal-common v15.
|
|
2032
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
2033
2033
|
|
|
2034
2034
|
/*
|
|
2035
2035
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2069,7 +2069,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
2069
2069
|
};
|
|
2070
2070
|
}
|
|
2071
2071
|
|
|
2072
|
-
/*! @azure/msal-common v15.
|
|
2072
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
2073
2073
|
/*
|
|
2074
2074
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2075
2075
|
* Licensed under the MIT License.
|
|
@@ -2148,7 +2148,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
2148
2148
|
return updatedAccountInfo;
|
|
2149
2149
|
}
|
|
2150
2150
|
|
|
2151
|
-
/*! @azure/msal-common v15.
|
|
2151
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
2152
2152
|
/*
|
|
2153
2153
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2154
2154
|
* Licensed under the MIT License.
|
|
@@ -2163,7 +2163,7 @@ const AuthorityType = {
|
|
|
2163
2163
|
Ciam: 3,
|
|
2164
2164
|
};
|
|
2165
2165
|
|
|
2166
|
-
/*! @azure/msal-common v15.
|
|
2166
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
2167
2167
|
/*
|
|
2168
2168
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2169
2169
|
* Licensed under the MIT License.
|
|
@@ -2185,7 +2185,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
2185
2185
|
return null;
|
|
2186
2186
|
}
|
|
2187
2187
|
|
|
2188
|
-
/*! @azure/msal-common v15.
|
|
2188
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
2189
2189
|
/*
|
|
2190
2190
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2191
2191
|
* Licensed under the MIT License.
|
|
@@ -2198,7 +2198,7 @@ const ProtocolMode = {
|
|
|
2198
2198
|
OIDC: "OIDC",
|
|
2199
2199
|
};
|
|
2200
2200
|
|
|
2201
|
-
/*! @azure/msal-common v15.
|
|
2201
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
2202
2202
|
|
|
2203
2203
|
/*
|
|
2204
2204
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2441,7 +2441,7 @@ class AccountEntity {
|
|
|
2441
2441
|
}
|
|
2442
2442
|
}
|
|
2443
2443
|
|
|
2444
|
-
/*! @azure/msal-common v15.
|
|
2444
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
2445
2445
|
|
|
2446
2446
|
/*
|
|
2447
2447
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2488,7 +2488,7 @@ function getDeserializedResponse(responseString) {
|
|
|
2488
2488
|
return null;
|
|
2489
2489
|
}
|
|
2490
2490
|
|
|
2491
|
-
/*! @azure/msal-common v15.
|
|
2491
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
2492
2492
|
|
|
2493
2493
|
/*
|
|
2494
2494
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2652,7 +2652,7 @@ class UrlString {
|
|
|
2652
2652
|
}
|
|
2653
2653
|
}
|
|
2654
2654
|
|
|
2655
|
-
/*! @azure/msal-common v15.
|
|
2655
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
2656
2656
|
|
|
2657
2657
|
/*
|
|
2658
2658
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2792,7 +2792,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2792
2792
|
return null;
|
|
2793
2793
|
}
|
|
2794
2794
|
|
|
2795
|
-
/*! @azure/msal-common v15.
|
|
2795
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
2796
2796
|
/*
|
|
2797
2797
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2798
2798
|
* Licensed under the MIT License.
|
|
@@ -2800,7 +2800,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2800
2800
|
const cacheQuotaExceededErrorCode = "cache_quota_exceeded";
|
|
2801
2801
|
const cacheUnknownErrorCode = "cache_error_unknown";
|
|
2802
2802
|
|
|
2803
|
-
/*! @azure/msal-common v15.
|
|
2803
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
2804
2804
|
|
|
2805
2805
|
/*
|
|
2806
2806
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2827,7 +2827,7 @@ class CacheError extends Error {
|
|
|
2827
2827
|
}
|
|
2828
2828
|
}
|
|
2829
2829
|
|
|
2830
|
-
/*! @azure/msal-common v15.
|
|
2830
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
2831
2831
|
|
|
2832
2832
|
/*
|
|
2833
2833
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4011,7 +4011,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
4011
4011
|
}
|
|
4012
4012
|
}
|
|
4013
4013
|
|
|
4014
|
-
/*! @azure/msal-common v15.
|
|
4014
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
4015
4015
|
|
|
4016
4016
|
/*
|
|
4017
4017
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4110,7 +4110,7 @@ function isOidcProtocolMode(config) {
|
|
|
4110
4110
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
4111
4111
|
}
|
|
4112
4112
|
|
|
4113
|
-
/*! @azure/msal-common v15.
|
|
4113
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
4114
4114
|
/*
|
|
4115
4115
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4116
4116
|
* Licensed under the MIT License.
|
|
@@ -4120,7 +4120,7 @@ const CcsCredentialType = {
|
|
|
4120
4120
|
UPN: "UPN",
|
|
4121
4121
|
};
|
|
4122
4122
|
|
|
4123
|
-
/*! @azure/msal-common v15.
|
|
4123
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
4124
4124
|
/*
|
|
4125
4125
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4126
4126
|
* Licensed under the MIT License.
|
|
@@ -4171,7 +4171,7 @@ const X_CLIENT_EXTRA_SKU = "x-client-xtra-sku";
|
|
|
4171
4171
|
const BROKER_CLIENT_ID = "brk_client_id";
|
|
4172
4172
|
const BROKER_REDIRECT_URI = "brk_redirect_uri";
|
|
4173
4173
|
|
|
4174
|
-
/*! @azure/msal-common v15.
|
|
4174
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
4175
4175
|
|
|
4176
4176
|
/*
|
|
4177
4177
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4238,7 +4238,7 @@ class RequestValidator {
|
|
|
4238
4238
|
}
|
|
4239
4239
|
}
|
|
4240
4240
|
|
|
4241
|
-
/*! @azure/msal-common v15.
|
|
4241
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
4242
4242
|
|
|
4243
4243
|
/*
|
|
4244
4244
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4646,7 +4646,7 @@ class RequestParameterBuilder {
|
|
|
4646
4646
|
}
|
|
4647
4647
|
}
|
|
4648
4648
|
|
|
4649
|
-
/*! @azure/msal-common v15.
|
|
4649
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
4650
4650
|
/*
|
|
4651
4651
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4652
4652
|
* Licensed under the MIT License.
|
|
@@ -4658,7 +4658,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
4658
4658
|
response.hasOwnProperty("jwks_uri"));
|
|
4659
4659
|
}
|
|
4660
4660
|
|
|
4661
|
-
/*! @azure/msal-common v15.
|
|
4661
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
4662
4662
|
/*
|
|
4663
4663
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4664
4664
|
* Licensed under the MIT License.
|
|
@@ -4668,7 +4668,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
4668
4668
|
response.hasOwnProperty("metadata"));
|
|
4669
4669
|
}
|
|
4670
4670
|
|
|
4671
|
-
/*! @azure/msal-common v15.
|
|
4671
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
4672
4672
|
/*
|
|
4673
4673
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4674
4674
|
* Licensed under the MIT License.
|
|
@@ -4678,7 +4678,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
4678
4678
|
response.hasOwnProperty("error_description"));
|
|
4679
4679
|
}
|
|
4680
4680
|
|
|
4681
|
-
/*! @azure/msal-common v15.
|
|
4681
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
4682
4682
|
/*
|
|
4683
4683
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4684
4684
|
* Licensed under the MIT License.
|
|
@@ -4933,7 +4933,7 @@ const PerformanceEvents = {
|
|
|
4933
4933
|
Decrypt: "decrypt",
|
|
4934
4934
|
};
|
|
4935
4935
|
|
|
4936
|
-
/*! @azure/msal-common v15.
|
|
4936
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
4937
4937
|
/*
|
|
4938
4938
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4939
4939
|
* Licensed under the MIT License.
|
|
@@ -5029,7 +5029,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
5029
5029
|
};
|
|
5030
5030
|
};
|
|
5031
5031
|
|
|
5032
|
-
/*! @azure/msal-common v15.
|
|
5032
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
5033
5033
|
|
|
5034
5034
|
/*
|
|
5035
5035
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5138,7 +5138,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
5138
5138
|
},
|
|
5139
5139
|
};
|
|
5140
5140
|
|
|
5141
|
-
/*! @azure/msal-common v15.
|
|
5141
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
5142
5142
|
|
|
5143
5143
|
/*
|
|
5144
5144
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5977,7 +5977,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
5977
5977
|
};
|
|
5978
5978
|
}
|
|
5979
5979
|
|
|
5980
|
-
/*! @azure/msal-common v15.
|
|
5980
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
5981
5981
|
|
|
5982
5982
|
/*
|
|
5983
5983
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6008,7 +6008,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
6008
6008
|
}
|
|
6009
6009
|
}
|
|
6010
6010
|
|
|
6011
|
-
/*! @azure/msal-common v15.
|
|
6011
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
6012
6012
|
|
|
6013
6013
|
/*
|
|
6014
6014
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6027,7 +6027,7 @@ class ServerError extends AuthError {
|
|
|
6027
6027
|
}
|
|
6028
6028
|
}
|
|
6029
6029
|
|
|
6030
|
-
/*! @azure/msal-common v15.
|
|
6030
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
6031
6031
|
|
|
6032
6032
|
/*
|
|
6033
6033
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6125,7 +6125,7 @@ class ThrottlingUtils {
|
|
|
6125
6125
|
}
|
|
6126
6126
|
}
|
|
6127
6127
|
|
|
6128
|
-
/*! @azure/msal-common v15.
|
|
6128
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
6129
6129
|
|
|
6130
6130
|
/*
|
|
6131
6131
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6145,7 +6145,7 @@ class NetworkError extends AuthError {
|
|
|
6145
6145
|
}
|
|
6146
6146
|
}
|
|
6147
6147
|
|
|
6148
|
-
/*! @azure/msal-common v15.
|
|
6148
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
6149
6149
|
|
|
6150
6150
|
/*
|
|
6151
6151
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6295,7 +6295,7 @@ class BaseClient {
|
|
|
6295
6295
|
}
|
|
6296
6296
|
}
|
|
6297
6297
|
|
|
6298
|
-
/*! @azure/msal-common v15.
|
|
6298
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
6299
6299
|
/*
|
|
6300
6300
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6301
6301
|
* Licensed under the MIT License.
|
|
@@ -6321,7 +6321,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
6321
6321
|
refreshTokenExpired: refreshTokenExpired
|
|
6322
6322
|
});
|
|
6323
6323
|
|
|
6324
|
-
/*! @azure/msal-common v15.
|
|
6324
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
6325
6325
|
|
|
6326
6326
|
/*
|
|
6327
6327
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6409,7 +6409,7 @@ function createInteractionRequiredAuthError(errorCode) {
|
|
|
6409
6409
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
6410
6410
|
}
|
|
6411
6411
|
|
|
6412
|
-
/*! @azure/msal-common v15.
|
|
6412
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
6413
6413
|
|
|
6414
6414
|
/*
|
|
6415
6415
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6481,7 +6481,7 @@ class ProtocolUtils {
|
|
|
6481
6481
|
}
|
|
6482
6482
|
}
|
|
6483
6483
|
|
|
6484
|
-
/*! @azure/msal-common v15.
|
|
6484
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
6485
6485
|
|
|
6486
6486
|
/*
|
|
6487
6487
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6565,7 +6565,7 @@ class PopTokenGenerator {
|
|
|
6565
6565
|
}
|
|
6566
6566
|
}
|
|
6567
6567
|
|
|
6568
|
-
/*! @azure/msal-common v15.
|
|
6568
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
6569
6569
|
/*
|
|
6570
6570
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6571
6571
|
* Licensed under the MIT License.
|
|
@@ -6592,7 +6592,7 @@ class PopTokenGenerator {
|
|
|
6592
6592
|
}
|
|
6593
6593
|
}
|
|
6594
6594
|
|
|
6595
|
-
/*! @azure/msal-common v15.
|
|
6595
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
6596
6596
|
|
|
6597
6597
|
/*
|
|
6598
6598
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6969,7 +6969,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
6969
6969
|
return baseAccount;
|
|
6970
6970
|
}
|
|
6971
6971
|
|
|
6972
|
-
/*! @azure/msal-common v15.
|
|
6972
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
6973
6973
|
/*
|
|
6974
6974
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6975
6975
|
* Licensed under the MIT License.
|
|
@@ -6987,7 +6987,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
6987
6987
|
}
|
|
6988
6988
|
}
|
|
6989
6989
|
|
|
6990
|
-
/*! @azure/msal-common v15.
|
|
6990
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
6991
6991
|
|
|
6992
6992
|
/*
|
|
6993
6993
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7437,7 +7437,7 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
7437
7437
|
}
|
|
7438
7438
|
}
|
|
7439
7439
|
|
|
7440
|
-
/*! @azure/msal-common v15.
|
|
7440
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
7441
7441
|
|
|
7442
7442
|
/*
|
|
7443
7443
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7660,7 +7660,7 @@ class RefreshTokenClient extends BaseClient {
|
|
|
7660
7660
|
}
|
|
7661
7661
|
}
|
|
7662
7662
|
|
|
7663
|
-
/*! @azure/msal-common v15.
|
|
7663
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
7664
7664
|
|
|
7665
7665
|
/*
|
|
7666
7666
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7758,7 +7758,7 @@ class SilentFlowClient extends BaseClient {
|
|
|
7758
7758
|
}
|
|
7759
7759
|
}
|
|
7760
7760
|
|
|
7761
|
-
/*! @azure/msal-common v15.
|
|
7761
|
+
/*! @azure/msal-common v15.2.0 2025-02-18 */
|
|
7762
7762
|
|
|
7763
7763
|
/*
|
|
7764
7764
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -10131,7 +10131,7 @@ class ClientAssertion {
|
|
|
10131
10131
|
|
|
10132
10132
|
/* eslint-disable header/header */
|
|
10133
10133
|
const name = "@azure/msal-node";
|
|
10134
|
-
const version = "3.2.
|
|
10134
|
+
const version = "3.2.3";
|
|
10135
10135
|
|
|
10136
10136
|
/*
|
|
10137
10137
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -10141,6 +10141,7 @@ const version = "3.2.2";
|
|
|
10141
10141
|
* Oauth2.0 Password grant client
|
|
10142
10142
|
* Note: We are only supporting public clients for password grant and for purely testing purposes
|
|
10143
10143
|
* @public
|
|
10144
|
+
* @deprecated - Use a more secure flow instead
|
|
10144
10145
|
*/
|
|
10145
10146
|
class UsernamePasswordClient extends BaseClient {
|
|
10146
10147
|
constructor(configuration) {
|
|
@@ -10408,6 +10409,7 @@ class ClientApplication {
|
|
|
10408
10409
|
* https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-authentication-flows#usernamepassword
|
|
10409
10410
|
*
|
|
10410
10411
|
* @param request - UsenamePasswordRequest
|
|
10412
|
+
* @deprecated - Use a more secure flow instead
|
|
10411
10413
|
*/
|
|
10412
10414
|
async acquireTokenByUsernamePassword(request) {
|
|
10413
10415
|
this.logger.info("acquireTokenByUsernamePassword called", request.correlationId);
|