@azure/msal-node 3.6.2 → 3.6.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/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.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/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 +64 -136
- 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 v3.6.
|
|
1
|
+
/*! @azure/msal-node v3.6.3 2025-07-08 */
|
|
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.8.
|
|
156
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
157
157
|
/*
|
|
158
158
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
159
159
|
* Licensed under the MIT License.
|
|
@@ -435,7 +435,7 @@ const EncodingTypes = {
|
|
|
435
435
|
UTF8: "utf-8",
|
|
436
436
|
};
|
|
437
437
|
|
|
438
|
-
/*! @azure/msal-common v15.8.
|
|
438
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
439
439
|
/*
|
|
440
440
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
441
441
|
* Licensed under the MIT License.
|
|
@@ -452,7 +452,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
452
452
|
unexpectedError: unexpectedError
|
|
453
453
|
});
|
|
454
454
|
|
|
455
|
-
/*! @azure/msal-common v15.8.
|
|
455
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
456
456
|
|
|
457
457
|
/*
|
|
458
458
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -501,7 +501,7 @@ function createAuthError(code, additionalMessage) {
|
|
|
501
501
|
: AuthErrorMessages[code]);
|
|
502
502
|
}
|
|
503
503
|
|
|
504
|
-
/*! @azure/msal-common v15.8.
|
|
504
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
505
505
|
/*
|
|
506
506
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
507
507
|
* Licensed under the MIT License.
|
|
@@ -599,7 +599,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
599
599
|
userTimeoutReached: userTimeoutReached
|
|
600
600
|
});
|
|
601
601
|
|
|
602
|
-
/*! @azure/msal-common v15.8.
|
|
602
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
603
603
|
|
|
604
604
|
/*
|
|
605
605
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -851,7 +851,7 @@ function createClientAuthError(errorCode, additionalMessage) {
|
|
|
851
851
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
852
852
|
}
|
|
853
853
|
|
|
854
|
-
/*! @azure/msal-common v15.8.
|
|
854
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
855
855
|
|
|
856
856
|
/*
|
|
857
857
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -890,7 +890,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
890
890
|
},
|
|
891
891
|
};
|
|
892
892
|
|
|
893
|
-
/*! @azure/msal-common v15.8.
|
|
893
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
894
894
|
|
|
895
895
|
/*
|
|
896
896
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1081,12 +1081,12 @@ class Logger {
|
|
|
1081
1081
|
}
|
|
1082
1082
|
}
|
|
1083
1083
|
|
|
1084
|
-
/*! @azure/msal-common v15.8.
|
|
1084
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
1085
1085
|
/* eslint-disable header/header */
|
|
1086
1086
|
const name$1 = "@azure/msal-common";
|
|
1087
|
-
const version$1 = "15.8.
|
|
1087
|
+
const version$1 = "15.8.1";
|
|
1088
1088
|
|
|
1089
|
-
/*! @azure/msal-common v15.8.
|
|
1089
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
1090
1090
|
/*
|
|
1091
1091
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1092
1092
|
* Licensed under the MIT License.
|
|
@@ -1106,7 +1106,7 @@ const AzureCloudInstance = {
|
|
|
1106
1106
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
1107
1107
|
};
|
|
1108
1108
|
|
|
1109
|
-
/*! @azure/msal-common v15.8.
|
|
1109
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
1110
1110
|
|
|
1111
1111
|
/*
|
|
1112
1112
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1167,7 +1167,7 @@ function checkMaxAge(authTime, maxAge) {
|
|
|
1167
1167
|
}
|
|
1168
1168
|
}
|
|
1169
1169
|
|
|
1170
|
-
/*! @azure/msal-common v15.8.
|
|
1170
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
1171
1171
|
/*
|
|
1172
1172
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1173
1173
|
* 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.8.
|
|
1225
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
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.8.
|
|
1552
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
1553
1553
|
/*
|
|
1554
1554
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1555
1555
|
* Licensed under the MIT License.
|
|
@@ -1560,7 +1560,6 @@ const authorityUriInsecure = "authority_uri_insecure";
|
|
|
1560
1560
|
const urlParseError = "url_parse_error";
|
|
1561
1561
|
const urlEmptyError = "empty_url_error";
|
|
1562
1562
|
const emptyInputScopesError = "empty_input_scopes_error";
|
|
1563
|
-
const invalidPromptValue = "invalid_prompt_value";
|
|
1564
1563
|
const invalidClaims = "invalid_claims";
|
|
1565
1564
|
const tokenRequestEmpty = "token_request_empty";
|
|
1566
1565
|
const logoutRequestEmpty = "logout_request_empty";
|
|
@@ -1590,7 +1589,6 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
1590
1589
|
invalidClaims: invalidClaims,
|
|
1591
1590
|
invalidCloudDiscoveryMetadata: invalidCloudDiscoveryMetadata,
|
|
1592
1591
|
invalidCodeChallengeMethod: invalidCodeChallengeMethod,
|
|
1593
|
-
invalidPromptValue: invalidPromptValue,
|
|
1594
1592
|
logoutRequestEmpty: logoutRequestEmpty,
|
|
1595
1593
|
missingNonceAuthenticationHeader: missingNonceAuthenticationHeader,
|
|
1596
1594
|
missingSshJwk: missingSshJwk,
|
|
@@ -1603,7 +1601,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
1603
1601
|
urlParseError: urlParseError
|
|
1604
1602
|
});
|
|
1605
1603
|
|
|
1606
|
-
/*! @azure/msal-common v15.8.
|
|
1604
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
1607
1605
|
|
|
1608
1606
|
/*
|
|
1609
1607
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1616,7 +1614,6 @@ const ClientConfigurationErrorMessages = {
|
|
|
1616
1614
|
[urlParseError]: "URL could not be parsed into appropriate segments.",
|
|
1617
1615
|
[urlEmptyError]: "URL was empty or null.",
|
|
1618
1616
|
[emptyInputScopesError]: "Scopes cannot be passed as null, undefined or empty array because they are required to obtain an access token.",
|
|
1619
|
-
[invalidPromptValue]: "Please see here for valid configuration options: https://azuread.github.io/microsoft-authentication-library-for-js/ref/modules/_azure_msal_common.html#commonauthorizationurlrequest",
|
|
1620
1617
|
[invalidClaims]: "Given claims parameter must be a stringified JSON object.",
|
|
1621
1618
|
[tokenRequestEmpty]: "Token request was empty and not found in cache.",
|
|
1622
1619
|
[logoutRequestEmpty]: "The logout request was null or undefined.",
|
|
@@ -1662,10 +1659,6 @@ const ClientConfigurationErrorMessage = {
|
|
|
1662
1659
|
code: emptyInputScopesError,
|
|
1663
1660
|
desc: ClientConfigurationErrorMessages[emptyInputScopesError],
|
|
1664
1661
|
},
|
|
1665
|
-
invalidPrompt: {
|
|
1666
|
-
code: invalidPromptValue,
|
|
1667
|
-
desc: ClientConfigurationErrorMessages[invalidPromptValue],
|
|
1668
|
-
},
|
|
1669
1662
|
invalidClaimsRequest: {
|
|
1670
1663
|
code: invalidClaims,
|
|
1671
1664
|
desc: ClientConfigurationErrorMessages[invalidClaims],
|
|
@@ -1741,7 +1734,7 @@ function createClientConfigurationError(errorCode) {
|
|
|
1741
1734
|
return new ClientConfigurationError(errorCode);
|
|
1742
1735
|
}
|
|
1743
1736
|
|
|
1744
|
-
/*! @azure/msal-common v15.8.
|
|
1737
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
1745
1738
|
/*
|
|
1746
1739
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1747
1740
|
* Licensed under the MIT License.
|
|
@@ -1838,7 +1831,7 @@ class StringUtils {
|
|
|
1838
1831
|
}
|
|
1839
1832
|
}
|
|
1840
1833
|
|
|
1841
|
-
/*! @azure/msal-common v15.8.
|
|
1834
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
1842
1835
|
|
|
1843
1836
|
/*
|
|
1844
1837
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2029,7 +2022,7 @@ class ScopeSet {
|
|
|
2029
2022
|
}
|
|
2030
2023
|
}
|
|
2031
2024
|
|
|
2032
|
-
/*! @azure/msal-common v15.8.
|
|
2025
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2033
2026
|
|
|
2034
2027
|
/*
|
|
2035
2028
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2069,7 +2062,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
2069
2062
|
};
|
|
2070
2063
|
}
|
|
2071
2064
|
|
|
2072
|
-
/*! @azure/msal-common v15.8.
|
|
2065
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2073
2066
|
/*
|
|
2074
2067
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2075
2068
|
* Licensed under the MIT License.
|
|
@@ -2148,7 +2141,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
2148
2141
|
return updatedAccountInfo;
|
|
2149
2142
|
}
|
|
2150
2143
|
|
|
2151
|
-
/*! @azure/msal-common v15.8.
|
|
2144
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2152
2145
|
/*
|
|
2153
2146
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2154
2147
|
* Licensed under the MIT License.
|
|
@@ -2163,7 +2156,7 @@ const AuthorityType = {
|
|
|
2163
2156
|
Ciam: 3,
|
|
2164
2157
|
};
|
|
2165
2158
|
|
|
2166
|
-
/*! @azure/msal-common v15.8.
|
|
2159
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2167
2160
|
/*
|
|
2168
2161
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2169
2162
|
* Licensed under the MIT License.
|
|
@@ -2185,7 +2178,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
2185
2178
|
return null;
|
|
2186
2179
|
}
|
|
2187
2180
|
|
|
2188
|
-
/*! @azure/msal-common v15.8.
|
|
2181
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2189
2182
|
/*
|
|
2190
2183
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2191
2184
|
* Licensed under the MIT License.
|
|
@@ -2209,7 +2202,7 @@ const ProtocolMode = {
|
|
|
2209
2202
|
EAR: "EAR",
|
|
2210
2203
|
};
|
|
2211
2204
|
|
|
2212
|
-
/*! @azure/msal-common v15.8.
|
|
2205
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2213
2206
|
|
|
2214
2207
|
/*
|
|
2215
2208
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2452,7 +2445,7 @@ class AccountEntity {
|
|
|
2452
2445
|
}
|
|
2453
2446
|
}
|
|
2454
2447
|
|
|
2455
|
-
/*! @azure/msal-common v15.8.
|
|
2448
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2456
2449
|
|
|
2457
2450
|
/*
|
|
2458
2451
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2517,7 +2510,7 @@ function mapToQueryString(parameters, encodeExtraParams = true, extraQueryParame
|
|
|
2517
2510
|
return queryParameterArray.join("&");
|
|
2518
2511
|
}
|
|
2519
2512
|
|
|
2520
|
-
/*! @azure/msal-common v15.8.
|
|
2513
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2521
2514
|
|
|
2522
2515
|
/*
|
|
2523
2516
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2681,7 +2674,7 @@ class UrlString {
|
|
|
2681
2674
|
}
|
|
2682
2675
|
}
|
|
2683
2676
|
|
|
2684
|
-
/*! @azure/msal-common v15.8.
|
|
2677
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2685
2678
|
|
|
2686
2679
|
/*
|
|
2687
2680
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2820,7 +2813,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2820
2813
|
return null;
|
|
2821
2814
|
}
|
|
2822
2815
|
|
|
2823
|
-
/*! @azure/msal-common v15.8.
|
|
2816
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2824
2817
|
/*
|
|
2825
2818
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2826
2819
|
* Licensed under the MIT License.
|
|
@@ -2828,7 +2821,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2828
2821
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
2829
2822
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
2830
2823
|
|
|
2831
|
-
/*! @azure/msal-common v15.8.
|
|
2824
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2832
2825
|
|
|
2833
2826
|
/*
|
|
2834
2827
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2873,7 +2866,7 @@ function createCacheError(e) {
|
|
|
2873
2866
|
}
|
|
2874
2867
|
}
|
|
2875
2868
|
|
|
2876
|
-
/*! @azure/msal-common v15.8.
|
|
2869
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
2877
2870
|
|
|
2878
2871
|
/*
|
|
2879
2872
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4039,7 +4032,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
4039
4032
|
}
|
|
4040
4033
|
}
|
|
4041
4034
|
|
|
4042
|
-
/*! @azure/msal-common v15.8.
|
|
4035
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
4043
4036
|
/*
|
|
4044
4037
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4045
4038
|
* Licensed under the MIT License.
|
|
@@ -4306,7 +4299,7 @@ const PerformanceEvents = {
|
|
|
4306
4299
|
const PerformanceEventStatus = {
|
|
4307
4300
|
InProgress: 1};
|
|
4308
4301
|
|
|
4309
|
-
/*! @azure/msal-common v15.8.
|
|
4302
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
4310
4303
|
|
|
4311
4304
|
/*
|
|
4312
4305
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4385,7 +4378,7 @@ class StubPerformanceClient {
|
|
|
4385
4378
|
}
|
|
4386
4379
|
}
|
|
4387
4380
|
|
|
4388
|
-
/*! @azure/msal-common v15.8.
|
|
4381
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
4389
4382
|
|
|
4390
4383
|
/*
|
|
4391
4384
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4485,7 +4478,7 @@ function isOidcProtocolMode(config) {
|
|
|
4485
4478
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
4486
4479
|
}
|
|
4487
4480
|
|
|
4488
|
-
/*! @azure/msal-common v15.8.
|
|
4481
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
4489
4482
|
/*
|
|
4490
4483
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4491
4484
|
* Licensed under the MIT License.
|
|
@@ -4495,7 +4488,7 @@ const CcsCredentialType = {
|
|
|
4495
4488
|
UPN: "UPN",
|
|
4496
4489
|
};
|
|
4497
4490
|
|
|
4498
|
-
/*! @azure/msal-common v15.8.
|
|
4491
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
4499
4492
|
/*
|
|
4500
4493
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4501
4494
|
* Licensed under the MIT License.
|
|
@@ -4546,7 +4539,7 @@ const BROKER_CLIENT_ID = "brk_client_id";
|
|
|
4546
4539
|
const BROKER_REDIRECT_URI = "brk_redirect_uri";
|
|
4547
4540
|
const INSTANCE_AWARE = "instance_aware";
|
|
4548
4541
|
|
|
4549
|
-
/*! @azure/msal-common v15.8.
|
|
4542
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
4550
4543
|
|
|
4551
4544
|
/*
|
|
4552
4545
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4932,7 +4925,7 @@ function addBrokerParameters(parameters, brokerClientId, brokerRedirectUri) {
|
|
|
4932
4925
|
}
|
|
4933
4926
|
}
|
|
4934
4927
|
|
|
4935
|
-
/*! @azure/msal-common v15.8.
|
|
4928
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
4936
4929
|
/*
|
|
4937
4930
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4938
4931
|
* Licensed under the MIT License.
|
|
@@ -4944,7 +4937,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
4944
4937
|
response.hasOwnProperty("jwks_uri"));
|
|
4945
4938
|
}
|
|
4946
4939
|
|
|
4947
|
-
/*! @azure/msal-common v15.8.
|
|
4940
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
4948
4941
|
/*
|
|
4949
4942
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4950
4943
|
* Licensed under the MIT License.
|
|
@@ -4954,7 +4947,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
4954
4947
|
response.hasOwnProperty("metadata"));
|
|
4955
4948
|
}
|
|
4956
4949
|
|
|
4957
|
-
/*! @azure/msal-common v15.8.
|
|
4950
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
4958
4951
|
/*
|
|
4959
4952
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4960
4953
|
* Licensed under the MIT License.
|
|
@@ -4964,7 +4957,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
4964
4957
|
response.hasOwnProperty("error_description"));
|
|
4965
4958
|
}
|
|
4966
4959
|
|
|
4967
|
-
/*! @azure/msal-common v15.8.
|
|
4960
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
4968
4961
|
/*
|
|
4969
4962
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4970
4963
|
* Licensed under the MIT License.
|
|
@@ -5060,7 +5053,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
5060
5053
|
};
|
|
5061
5054
|
};
|
|
5062
5055
|
|
|
5063
|
-
/*! @azure/msal-common v15.8.
|
|
5056
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
5064
5057
|
|
|
5065
5058
|
/*
|
|
5066
5059
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5166,7 +5159,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
5166
5159
|
},
|
|
5167
5160
|
};
|
|
5168
5161
|
|
|
5169
|
-
/*! @azure/msal-common v15.8.
|
|
5162
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
5170
5163
|
|
|
5171
5164
|
/*
|
|
5172
5165
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6005,7 +5998,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
6005
5998
|
};
|
|
6006
5999
|
}
|
|
6007
6000
|
|
|
6008
|
-
/*! @azure/msal-common v15.8.
|
|
6001
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6009
6002
|
|
|
6010
6003
|
/*
|
|
6011
6004
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6036,7 +6029,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
6036
6029
|
}
|
|
6037
6030
|
}
|
|
6038
6031
|
|
|
6039
|
-
/*! @azure/msal-common v15.8.
|
|
6032
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6040
6033
|
|
|
6041
6034
|
/*
|
|
6042
6035
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6055,7 +6048,7 @@ class ServerError extends AuthError {
|
|
|
6055
6048
|
}
|
|
6056
6049
|
}
|
|
6057
6050
|
|
|
6058
|
-
/*! @azure/msal-common v15.8.
|
|
6051
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6059
6052
|
/*
|
|
6060
6053
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6061
6054
|
* Licensed under the MIT License.
|
|
@@ -6076,7 +6069,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
6076
6069
|
};
|
|
6077
6070
|
}
|
|
6078
6071
|
|
|
6079
|
-
/*! @azure/msal-common v15.8.
|
|
6072
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6080
6073
|
|
|
6081
6074
|
/*
|
|
6082
6075
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6163,7 +6156,7 @@ class ThrottlingUtils {
|
|
|
6163
6156
|
}
|
|
6164
6157
|
}
|
|
6165
6158
|
|
|
6166
|
-
/*! @azure/msal-common v15.8.
|
|
6159
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6167
6160
|
|
|
6168
6161
|
/*
|
|
6169
6162
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6183,7 +6176,7 @@ class NetworkError extends AuthError {
|
|
|
6183
6176
|
}
|
|
6184
6177
|
}
|
|
6185
6178
|
|
|
6186
|
-
/*! @azure/msal-common v15.8.
|
|
6179
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6187
6180
|
|
|
6188
6181
|
/*
|
|
6189
6182
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6331,7 +6324,7 @@ class BaseClient {
|
|
|
6331
6324
|
}
|
|
6332
6325
|
}
|
|
6333
6326
|
|
|
6334
|
-
/*! @azure/msal-common v15.8.
|
|
6327
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6335
6328
|
/*
|
|
6336
6329
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6337
6330
|
* Licensed under the MIT License.
|
|
@@ -6359,7 +6352,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
6359
6352
|
uxNotAllowed: uxNotAllowed
|
|
6360
6353
|
});
|
|
6361
6354
|
|
|
6362
|
-
/*! @azure/msal-common v15.8.
|
|
6355
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6363
6356
|
|
|
6364
6357
|
/*
|
|
6365
6358
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6449,7 +6442,7 @@ function createInteractionRequiredAuthError(errorCode) {
|
|
|
6449
6442
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
6450
6443
|
}
|
|
6451
6444
|
|
|
6452
|
-
/*! @azure/msal-common v15.8.
|
|
6445
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6453
6446
|
|
|
6454
6447
|
/*
|
|
6455
6448
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6521,7 +6514,7 @@ class ProtocolUtils {
|
|
|
6521
6514
|
}
|
|
6522
6515
|
}
|
|
6523
6516
|
|
|
6524
|
-
/*! @azure/msal-common v15.8.
|
|
6517
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6525
6518
|
|
|
6526
6519
|
/*
|
|
6527
6520
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6603,7 +6596,7 @@ class PopTokenGenerator {
|
|
|
6603
6596
|
}
|
|
6604
6597
|
}
|
|
6605
6598
|
|
|
6606
|
-
/*! @azure/msal-common v15.8.
|
|
6599
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6607
6600
|
/*
|
|
6608
6601
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6609
6602
|
* Licensed under the MIT License.
|
|
@@ -6630,7 +6623,7 @@ class PopTokenGenerator {
|
|
|
6630
6623
|
}
|
|
6631
6624
|
}
|
|
6632
6625
|
|
|
6633
|
-
/*! @azure/msal-common v15.8.
|
|
6626
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
6634
6627
|
|
|
6635
6628
|
/*
|
|
6636
6629
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6961,74 +6954,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
6961
6954
|
return baseAccount;
|
|
6962
6955
|
}
|
|
6963
6956
|
|
|
6964
|
-
/*! @azure/msal-common v15.8.
|
|
6965
|
-
|
|
6966
|
-
/*
|
|
6967
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6968
|
-
* Licensed under the MIT License.
|
|
6969
|
-
*/
|
|
6970
|
-
/**
|
|
6971
|
-
* Validates server consumable params from the "request" objects
|
|
6972
|
-
*/
|
|
6973
|
-
class RequestValidator {
|
|
6974
|
-
/**
|
|
6975
|
-
* Utility to check if the `redirectUri` in the request is a non-null value
|
|
6976
|
-
* @param redirectUri
|
|
6977
|
-
*/
|
|
6978
|
-
static validateRedirectUri(redirectUri) {
|
|
6979
|
-
if (!redirectUri) {
|
|
6980
|
-
throw createClientConfigurationError(redirectUriEmpty);
|
|
6981
|
-
}
|
|
6982
|
-
}
|
|
6983
|
-
/**
|
|
6984
|
-
* Utility to validate prompt sent by the user in the request
|
|
6985
|
-
* @param prompt
|
|
6986
|
-
*/
|
|
6987
|
-
static validatePrompt(prompt) {
|
|
6988
|
-
const promptValues = [];
|
|
6989
|
-
for (const value in PromptValue) {
|
|
6990
|
-
promptValues.push(PromptValue[value]);
|
|
6991
|
-
}
|
|
6992
|
-
if (promptValues.indexOf(prompt) < 0) {
|
|
6993
|
-
throw createClientConfigurationError(invalidPromptValue);
|
|
6994
|
-
}
|
|
6995
|
-
}
|
|
6996
|
-
static validateClaims(claims) {
|
|
6997
|
-
try {
|
|
6998
|
-
JSON.parse(claims);
|
|
6999
|
-
}
|
|
7000
|
-
catch (e) {
|
|
7001
|
-
throw createClientConfigurationError(invalidClaims);
|
|
7002
|
-
}
|
|
7003
|
-
}
|
|
7004
|
-
/**
|
|
7005
|
-
* Utility to validate code_challenge and code_challenge_method
|
|
7006
|
-
* @param codeChallenge
|
|
7007
|
-
* @param codeChallengeMethod
|
|
7008
|
-
*/
|
|
7009
|
-
static validateCodeChallengeParams(codeChallenge, codeChallengeMethod) {
|
|
7010
|
-
if (!codeChallenge || !codeChallengeMethod) {
|
|
7011
|
-
throw createClientConfigurationError(pkceParamsMissing);
|
|
7012
|
-
}
|
|
7013
|
-
else {
|
|
7014
|
-
this.validateCodeChallengeMethod(codeChallengeMethod);
|
|
7015
|
-
}
|
|
7016
|
-
}
|
|
7017
|
-
/**
|
|
7018
|
-
* Utility to validate code_challenge_method
|
|
7019
|
-
* @param codeChallengeMethod
|
|
7020
|
-
*/
|
|
7021
|
-
static validateCodeChallengeMethod(codeChallengeMethod) {
|
|
7022
|
-
if ([
|
|
7023
|
-
CodeChallengeMethodValues.PLAIN,
|
|
7024
|
-
CodeChallengeMethodValues.S256,
|
|
7025
|
-
].indexOf(codeChallengeMethod) < 0) {
|
|
7026
|
-
throw createClientConfigurationError(invalidCodeChallengeMethod);
|
|
7027
|
-
}
|
|
7028
|
-
}
|
|
7029
|
-
}
|
|
7030
|
-
|
|
7031
|
-
/*! @azure/msal-common v15.8.0 2025-07-01 */
|
|
6957
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
7032
6958
|
/*
|
|
7033
6959
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7034
6960
|
* Licensed under the MIT License.
|
|
@@ -7046,7 +6972,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
7046
6972
|
}
|
|
7047
6973
|
}
|
|
7048
6974
|
|
|
7049
|
-
/*! @azure/msal-common v15.8.
|
|
6975
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
7050
6976
|
|
|
7051
6977
|
/*
|
|
7052
6978
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7140,7 +7066,9 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
7140
7066
|
*/
|
|
7141
7067
|
if (!this.includeRedirectUri) {
|
|
7142
7068
|
// Just validate
|
|
7143
|
-
|
|
7069
|
+
if (!request.redirectUri) {
|
|
7070
|
+
throw createClientConfigurationError(redirectUriEmpty);
|
|
7071
|
+
}
|
|
7144
7072
|
}
|
|
7145
7073
|
else {
|
|
7146
7074
|
// Validate and include redirect uri
|
|
@@ -7279,7 +7207,7 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
7279
7207
|
}
|
|
7280
7208
|
}
|
|
7281
7209
|
|
|
7282
|
-
/*! @azure/msal-common v15.8.
|
|
7210
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
7283
7211
|
|
|
7284
7212
|
/*
|
|
7285
7213
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7488,7 +7416,7 @@ class RefreshTokenClient extends BaseClient {
|
|
|
7488
7416
|
}
|
|
7489
7417
|
}
|
|
7490
7418
|
|
|
7491
|
-
/*! @azure/msal-common v15.8.
|
|
7419
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
7492
7420
|
|
|
7493
7421
|
/*
|
|
7494
7422
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7586,7 +7514,7 @@ class SilentFlowClient extends BaseClient {
|
|
|
7586
7514
|
}
|
|
7587
7515
|
}
|
|
7588
7516
|
|
|
7589
|
-
/*! @azure/msal-common v15.8.
|
|
7517
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
7590
7518
|
|
|
7591
7519
|
/*
|
|
7592
7520
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7736,7 +7664,7 @@ function extractLoginHint(account) {
|
|
|
7736
7664
|
return account.idTokenClaims?.login_hint || null;
|
|
7737
7665
|
}
|
|
7738
7666
|
|
|
7739
|
-
/*! @azure/msal-common v15.8.
|
|
7667
|
+
/*! @azure/msal-common v15.8.1 2025-07-08 */
|
|
7740
7668
|
|
|
7741
7669
|
/*
|
|
7742
7670
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -10032,7 +9960,7 @@ class ClientAssertion {
|
|
|
10032
9960
|
|
|
10033
9961
|
/* eslint-disable header/header */
|
|
10034
9962
|
const name = "@azure/msal-node";
|
|
10035
|
-
const version = "3.6.
|
|
9963
|
+
const version = "3.6.3";
|
|
10036
9964
|
|
|
10037
9965
|
/*
|
|
10038
9966
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|