@azure/msal-node 3.6.2 → 3.6.4
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 +79 -137
- 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.4 2025-07-23 */
|
|
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.9.0 2025-07-23 */
|
|
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.
|
|
438
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
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.
|
|
455
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
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.
|
|
504
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
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.
|
|
602
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
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.
|
|
854
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
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.
|
|
893
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
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.
|
|
1084
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
1085
1085
|
/* eslint-disable header/header */
|
|
1086
1086
|
const name$1 = "@azure/msal-common";
|
|
1087
|
-
const version$1 = "15.
|
|
1087
|
+
const version$1 = "15.9.0";
|
|
1088
1088
|
|
|
1089
|
-
/*! @azure/msal-common v15.
|
|
1089
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
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.
|
|
1109
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
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.
|
|
1170
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
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.
|
|
1225
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
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.9.0 2025-07-23 */
|
|
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";
|
|
@@ -1575,7 +1574,9 @@ const missingNonceAuthenticationHeader = "missing_nonce_authentication_header";
|
|
|
1575
1574
|
const invalidAuthenticationHeader = "invalid_authentication_header";
|
|
1576
1575
|
const cannotSetOIDCOptions = "cannot_set_OIDCOptions";
|
|
1577
1576
|
const cannotAllowPlatformBroker = "cannot_allow_platform_broker";
|
|
1578
|
-
const authorityMismatch = "authority_mismatch";
|
|
1577
|
+
const authorityMismatch = "authority_mismatch";
|
|
1578
|
+
const invalidRequestMethodForEAR = "invalid_request_method_for_EAR";
|
|
1579
|
+
const invalidAuthorizePostBodyParameters = "invalid_authorize_post_body_parameters";
|
|
1579
1580
|
|
|
1580
1581
|
var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
1581
1582
|
__proto__: null,
|
|
@@ -1587,10 +1588,11 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
1587
1588
|
emptyInputScopesError: emptyInputScopesError,
|
|
1588
1589
|
invalidAuthenticationHeader: invalidAuthenticationHeader,
|
|
1589
1590
|
invalidAuthorityMetadata: invalidAuthorityMetadata,
|
|
1591
|
+
invalidAuthorizePostBodyParameters: invalidAuthorizePostBodyParameters,
|
|
1590
1592
|
invalidClaims: invalidClaims,
|
|
1591
1593
|
invalidCloudDiscoveryMetadata: invalidCloudDiscoveryMetadata,
|
|
1592
1594
|
invalidCodeChallengeMethod: invalidCodeChallengeMethod,
|
|
1593
|
-
|
|
1595
|
+
invalidRequestMethodForEAR: invalidRequestMethodForEAR,
|
|
1594
1596
|
logoutRequestEmpty: logoutRequestEmpty,
|
|
1595
1597
|
missingNonceAuthenticationHeader: missingNonceAuthenticationHeader,
|
|
1596
1598
|
missingSshJwk: missingSshJwk,
|
|
@@ -1603,7 +1605,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
1603
1605
|
urlParseError: urlParseError
|
|
1604
1606
|
});
|
|
1605
1607
|
|
|
1606
|
-
/*! @azure/msal-common v15.
|
|
1608
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
1607
1609
|
|
|
1608
1610
|
/*
|
|
1609
1611
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1616,7 +1618,6 @@ const ClientConfigurationErrorMessages = {
|
|
|
1616
1618
|
[urlParseError]: "URL could not be parsed into appropriate segments.",
|
|
1617
1619
|
[urlEmptyError]: "URL was empty or null.",
|
|
1618
1620
|
[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
1621
|
[invalidClaims]: "Given claims parameter must be a stringified JSON object.",
|
|
1621
1622
|
[tokenRequestEmpty]: "Token request was empty and not found in cache.",
|
|
1622
1623
|
[logoutRequestEmpty]: "The logout request was null or undefined.",
|
|
@@ -1632,6 +1633,8 @@ const ClientConfigurationErrorMessages = {
|
|
|
1632
1633
|
[cannotSetOIDCOptions]: "Cannot set OIDCOptions parameter. Please change the protocol mode to OIDC or use a non-Microsoft authority.",
|
|
1633
1634
|
[cannotAllowPlatformBroker]: "Cannot set allowPlatformBroker parameter to true when not in AAD protocol mode.",
|
|
1634
1635
|
[authorityMismatch]: "Authority mismatch error. Authority provided in login request or PublicClientApplication config does not match the environment of the provided account. Please use a matching account or make an interactive request to login to this authority.",
|
|
1636
|
+
[invalidAuthorizePostBodyParameters]: "Invalid authorize post body parameters provided. If you are using authorizePostBodyParameters, the request method must be POST. Please check the request method and parameters.",
|
|
1637
|
+
[invalidRequestMethodForEAR]: "Invalid request method for EAR protocol mode. The request method cannot be GET when using EAR protocol mode. Please change the request method to POST.",
|
|
1635
1638
|
};
|
|
1636
1639
|
/**
|
|
1637
1640
|
* ClientConfigurationErrorMessage class containing string constants used by error codes and messages.
|
|
@@ -1662,10 +1665,6 @@ const ClientConfigurationErrorMessage = {
|
|
|
1662
1665
|
code: emptyInputScopesError,
|
|
1663
1666
|
desc: ClientConfigurationErrorMessages[emptyInputScopesError],
|
|
1664
1667
|
},
|
|
1665
|
-
invalidPrompt: {
|
|
1666
|
-
code: invalidPromptValue,
|
|
1667
|
-
desc: ClientConfigurationErrorMessages[invalidPromptValue],
|
|
1668
|
-
},
|
|
1669
1668
|
invalidClaimsRequest: {
|
|
1670
1669
|
code: invalidClaims,
|
|
1671
1670
|
desc: ClientConfigurationErrorMessages[invalidClaims],
|
|
@@ -1726,6 +1725,14 @@ const ClientConfigurationErrorMessage = {
|
|
|
1726
1725
|
code: authorityMismatch,
|
|
1727
1726
|
desc: ClientConfigurationErrorMessages[authorityMismatch],
|
|
1728
1727
|
},
|
|
1728
|
+
invalidAuthorizePostBodyParameters: {
|
|
1729
|
+
code: invalidAuthorizePostBodyParameters,
|
|
1730
|
+
desc: ClientConfigurationErrorMessages[invalidAuthorizePostBodyParameters],
|
|
1731
|
+
},
|
|
1732
|
+
invalidRequestMethodForEAR: {
|
|
1733
|
+
code: invalidRequestMethodForEAR,
|
|
1734
|
+
desc: ClientConfigurationErrorMessages[invalidRequestMethodForEAR],
|
|
1735
|
+
},
|
|
1729
1736
|
};
|
|
1730
1737
|
/**
|
|
1731
1738
|
* Error thrown when there is an error in configuration of the MSAL.js library.
|
|
@@ -1741,7 +1748,7 @@ function createClientConfigurationError(errorCode) {
|
|
|
1741
1748
|
return new ClientConfigurationError(errorCode);
|
|
1742
1749
|
}
|
|
1743
1750
|
|
|
1744
|
-
/*! @azure/msal-common v15.
|
|
1751
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
1745
1752
|
/*
|
|
1746
1753
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1747
1754
|
* Licensed under the MIT License.
|
|
@@ -1838,7 +1845,7 @@ class StringUtils {
|
|
|
1838
1845
|
}
|
|
1839
1846
|
}
|
|
1840
1847
|
|
|
1841
|
-
/*! @azure/msal-common v15.
|
|
1848
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
1842
1849
|
|
|
1843
1850
|
/*
|
|
1844
1851
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2029,7 +2036,7 @@ class ScopeSet {
|
|
|
2029
2036
|
}
|
|
2030
2037
|
}
|
|
2031
2038
|
|
|
2032
|
-
/*! @azure/msal-common v15.
|
|
2039
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
2033
2040
|
|
|
2034
2041
|
/*
|
|
2035
2042
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2069,7 +2076,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
2069
2076
|
};
|
|
2070
2077
|
}
|
|
2071
2078
|
|
|
2072
|
-
/*! @azure/msal-common v15.
|
|
2079
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
2073
2080
|
/*
|
|
2074
2081
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2075
2082
|
* Licensed under the MIT License.
|
|
@@ -2148,7 +2155,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
2148
2155
|
return updatedAccountInfo;
|
|
2149
2156
|
}
|
|
2150
2157
|
|
|
2151
|
-
/*! @azure/msal-common v15.
|
|
2158
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
2152
2159
|
/*
|
|
2153
2160
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2154
2161
|
* Licensed under the MIT License.
|
|
@@ -2163,7 +2170,7 @@ const AuthorityType = {
|
|
|
2163
2170
|
Ciam: 3,
|
|
2164
2171
|
};
|
|
2165
2172
|
|
|
2166
|
-
/*! @azure/msal-common v15.
|
|
2173
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
2167
2174
|
/*
|
|
2168
2175
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2169
2176
|
* Licensed under the MIT License.
|
|
@@ -2185,7 +2192,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
2185
2192
|
return null;
|
|
2186
2193
|
}
|
|
2187
2194
|
|
|
2188
|
-
/*! @azure/msal-common v15.
|
|
2195
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
2189
2196
|
/*
|
|
2190
2197
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2191
2198
|
* Licensed under the MIT License.
|
|
@@ -2209,7 +2216,7 @@ const ProtocolMode = {
|
|
|
2209
2216
|
EAR: "EAR",
|
|
2210
2217
|
};
|
|
2211
2218
|
|
|
2212
|
-
/*! @azure/msal-common v15.
|
|
2219
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
2213
2220
|
|
|
2214
2221
|
/*
|
|
2215
2222
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2452,7 +2459,7 @@ class AccountEntity {
|
|
|
2452
2459
|
}
|
|
2453
2460
|
}
|
|
2454
2461
|
|
|
2455
|
-
/*! @azure/msal-common v15.
|
|
2462
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
2456
2463
|
|
|
2457
2464
|
/*
|
|
2458
2465
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2517,7 +2524,7 @@ function mapToQueryString(parameters, encodeExtraParams = true, extraQueryParame
|
|
|
2517
2524
|
return queryParameterArray.join("&");
|
|
2518
2525
|
}
|
|
2519
2526
|
|
|
2520
|
-
/*! @azure/msal-common v15.
|
|
2527
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
2521
2528
|
|
|
2522
2529
|
/*
|
|
2523
2530
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2681,7 +2688,7 @@ class UrlString {
|
|
|
2681
2688
|
}
|
|
2682
2689
|
}
|
|
2683
2690
|
|
|
2684
|
-
/*! @azure/msal-common v15.
|
|
2691
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
2685
2692
|
|
|
2686
2693
|
/*
|
|
2687
2694
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2820,7 +2827,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2820
2827
|
return null;
|
|
2821
2828
|
}
|
|
2822
2829
|
|
|
2823
|
-
/*! @azure/msal-common v15.
|
|
2830
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
2824
2831
|
/*
|
|
2825
2832
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2826
2833
|
* Licensed under the MIT License.
|
|
@@ -2828,7 +2835,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2828
2835
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
2829
2836
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
2830
2837
|
|
|
2831
|
-
/*! @azure/msal-common v15.
|
|
2838
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
2832
2839
|
|
|
2833
2840
|
/*
|
|
2834
2841
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2873,7 +2880,7 @@ function createCacheError(e) {
|
|
|
2873
2880
|
}
|
|
2874
2881
|
}
|
|
2875
2882
|
|
|
2876
|
-
/*! @azure/msal-common v15.
|
|
2883
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
2877
2884
|
|
|
2878
2885
|
/*
|
|
2879
2886
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4039,7 +4046,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
4039
4046
|
}
|
|
4040
4047
|
}
|
|
4041
4048
|
|
|
4042
|
-
/*! @azure/msal-common v15.
|
|
4049
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
4043
4050
|
/*
|
|
4044
4051
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4045
4052
|
* Licensed under the MIT License.
|
|
@@ -4306,7 +4313,7 @@ const PerformanceEvents = {
|
|
|
4306
4313
|
const PerformanceEventStatus = {
|
|
4307
4314
|
InProgress: 1};
|
|
4308
4315
|
|
|
4309
|
-
/*! @azure/msal-common v15.
|
|
4316
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
4310
4317
|
|
|
4311
4318
|
/*
|
|
4312
4319
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4385,7 +4392,7 @@ class StubPerformanceClient {
|
|
|
4385
4392
|
}
|
|
4386
4393
|
}
|
|
4387
4394
|
|
|
4388
|
-
/*! @azure/msal-common v15.
|
|
4395
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
4389
4396
|
|
|
4390
4397
|
/*
|
|
4391
4398
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4485,7 +4492,7 @@ function isOidcProtocolMode(config) {
|
|
|
4485
4492
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
4486
4493
|
}
|
|
4487
4494
|
|
|
4488
|
-
/*! @azure/msal-common v15.
|
|
4495
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
4489
4496
|
/*
|
|
4490
4497
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4491
4498
|
* Licensed under the MIT License.
|
|
@@ -4495,7 +4502,7 @@ const CcsCredentialType = {
|
|
|
4495
4502
|
UPN: "UPN",
|
|
4496
4503
|
};
|
|
4497
4504
|
|
|
4498
|
-
/*! @azure/msal-common v15.
|
|
4505
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
4499
4506
|
/*
|
|
4500
4507
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4501
4508
|
* Licensed under the MIT License.
|
|
@@ -4546,7 +4553,7 @@ const BROKER_CLIENT_ID = "brk_client_id";
|
|
|
4546
4553
|
const BROKER_REDIRECT_URI = "brk_redirect_uri";
|
|
4547
4554
|
const INSTANCE_AWARE = "instance_aware";
|
|
4548
4555
|
|
|
4549
|
-
/*! @azure/msal-common v15.
|
|
4556
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
4550
4557
|
|
|
4551
4558
|
/*
|
|
4552
4559
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4932,7 +4939,7 @@ function addBrokerParameters(parameters, brokerClientId, brokerRedirectUri) {
|
|
|
4932
4939
|
}
|
|
4933
4940
|
}
|
|
4934
4941
|
|
|
4935
|
-
/*! @azure/msal-common v15.
|
|
4942
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
4936
4943
|
/*
|
|
4937
4944
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4938
4945
|
* Licensed under the MIT License.
|
|
@@ -4944,7 +4951,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
4944
4951
|
response.hasOwnProperty("jwks_uri"));
|
|
4945
4952
|
}
|
|
4946
4953
|
|
|
4947
|
-
/*! @azure/msal-common v15.
|
|
4954
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
4948
4955
|
/*
|
|
4949
4956
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4950
4957
|
* Licensed under the MIT License.
|
|
@@ -4954,7 +4961,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
4954
4961
|
response.hasOwnProperty("metadata"));
|
|
4955
4962
|
}
|
|
4956
4963
|
|
|
4957
|
-
/*! @azure/msal-common v15.
|
|
4964
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
4958
4965
|
/*
|
|
4959
4966
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4960
4967
|
* Licensed under the MIT License.
|
|
@@ -4964,7 +4971,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
4964
4971
|
response.hasOwnProperty("error_description"));
|
|
4965
4972
|
}
|
|
4966
4973
|
|
|
4967
|
-
/*! @azure/msal-common v15.
|
|
4974
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
4968
4975
|
/*
|
|
4969
4976
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4970
4977
|
* Licensed under the MIT License.
|
|
@@ -5060,7 +5067,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
5060
5067
|
};
|
|
5061
5068
|
};
|
|
5062
5069
|
|
|
5063
|
-
/*! @azure/msal-common v15.
|
|
5070
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
5064
5071
|
|
|
5065
5072
|
/*
|
|
5066
5073
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5166,7 +5173,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
5166
5173
|
},
|
|
5167
5174
|
};
|
|
5168
5175
|
|
|
5169
|
-
/*! @azure/msal-common v15.
|
|
5176
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
5170
5177
|
|
|
5171
5178
|
/*
|
|
5172
5179
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6005,7 +6012,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
6005
6012
|
};
|
|
6006
6013
|
}
|
|
6007
6014
|
|
|
6008
|
-
/*! @azure/msal-common v15.
|
|
6015
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
6009
6016
|
|
|
6010
6017
|
/*
|
|
6011
6018
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6036,7 +6043,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
6036
6043
|
}
|
|
6037
6044
|
}
|
|
6038
6045
|
|
|
6039
|
-
/*! @azure/msal-common v15.
|
|
6046
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
6040
6047
|
|
|
6041
6048
|
/*
|
|
6042
6049
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6055,7 +6062,7 @@ class ServerError extends AuthError {
|
|
|
6055
6062
|
}
|
|
6056
6063
|
}
|
|
6057
6064
|
|
|
6058
|
-
/*! @azure/msal-common v15.
|
|
6065
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
6059
6066
|
/*
|
|
6060
6067
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6061
6068
|
* Licensed under the MIT License.
|
|
@@ -6076,7 +6083,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
6076
6083
|
};
|
|
6077
6084
|
}
|
|
6078
6085
|
|
|
6079
|
-
/*! @azure/msal-common v15.
|
|
6086
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
6080
6087
|
|
|
6081
6088
|
/*
|
|
6082
6089
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6163,7 +6170,7 @@ class ThrottlingUtils {
|
|
|
6163
6170
|
}
|
|
6164
6171
|
}
|
|
6165
6172
|
|
|
6166
|
-
/*! @azure/msal-common v15.
|
|
6173
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
6167
6174
|
|
|
6168
6175
|
/*
|
|
6169
6176
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6183,7 +6190,7 @@ class NetworkError extends AuthError {
|
|
|
6183
6190
|
}
|
|
6184
6191
|
}
|
|
6185
6192
|
|
|
6186
|
-
/*! @azure/msal-common v15.
|
|
6193
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
6187
6194
|
|
|
6188
6195
|
/*
|
|
6189
6196
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6331,7 +6338,7 @@ class BaseClient {
|
|
|
6331
6338
|
}
|
|
6332
6339
|
}
|
|
6333
6340
|
|
|
6334
|
-
/*! @azure/msal-common v15.
|
|
6341
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
6335
6342
|
/*
|
|
6336
6343
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6337
6344
|
* Licensed under the MIT License.
|
|
@@ -6359,7 +6366,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
6359
6366
|
uxNotAllowed: uxNotAllowed
|
|
6360
6367
|
});
|
|
6361
6368
|
|
|
6362
|
-
/*! @azure/msal-common v15.
|
|
6369
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
6363
6370
|
|
|
6364
6371
|
/*
|
|
6365
6372
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6449,7 +6456,7 @@ function createInteractionRequiredAuthError(errorCode) {
|
|
|
6449
6456
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
6450
6457
|
}
|
|
6451
6458
|
|
|
6452
|
-
/*! @azure/msal-common v15.
|
|
6459
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
6453
6460
|
|
|
6454
6461
|
/*
|
|
6455
6462
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6521,7 +6528,7 @@ class ProtocolUtils {
|
|
|
6521
6528
|
}
|
|
6522
6529
|
}
|
|
6523
6530
|
|
|
6524
|
-
/*! @azure/msal-common v15.
|
|
6531
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
6525
6532
|
|
|
6526
6533
|
/*
|
|
6527
6534
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6603,7 +6610,7 @@ class PopTokenGenerator {
|
|
|
6603
6610
|
}
|
|
6604
6611
|
}
|
|
6605
6612
|
|
|
6606
|
-
/*! @azure/msal-common v15.
|
|
6613
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
6607
6614
|
/*
|
|
6608
6615
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6609
6616
|
* Licensed under the MIT License.
|
|
@@ -6630,7 +6637,7 @@ class PopTokenGenerator {
|
|
|
6630
6637
|
}
|
|
6631
6638
|
}
|
|
6632
6639
|
|
|
6633
|
-
/*! @azure/msal-common v15.
|
|
6640
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
6634
6641
|
|
|
6635
6642
|
/*
|
|
6636
6643
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6961,74 +6968,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
6961
6968
|
return baseAccount;
|
|
6962
6969
|
}
|
|
6963
6970
|
|
|
6964
|
-
/*! @azure/msal-common v15.
|
|
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 */
|
|
6971
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
7032
6972
|
/*
|
|
7033
6973
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7034
6974
|
* Licensed under the MIT License.
|
|
@@ -7046,7 +6986,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
7046
6986
|
}
|
|
7047
6987
|
}
|
|
7048
6988
|
|
|
7049
|
-
/*! @azure/msal-common v15.
|
|
6989
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
7050
6990
|
|
|
7051
6991
|
/*
|
|
7052
6992
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7140,7 +7080,9 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
7140
7080
|
*/
|
|
7141
7081
|
if (!this.includeRedirectUri) {
|
|
7142
7082
|
// Just validate
|
|
7143
|
-
|
|
7083
|
+
if (!request.redirectUri) {
|
|
7084
|
+
throw createClientConfigurationError(redirectUriEmpty);
|
|
7085
|
+
}
|
|
7144
7086
|
}
|
|
7145
7087
|
else {
|
|
7146
7088
|
// Validate and include redirect uri
|
|
@@ -7279,7 +7221,7 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
7279
7221
|
}
|
|
7280
7222
|
}
|
|
7281
7223
|
|
|
7282
|
-
/*! @azure/msal-common v15.
|
|
7224
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
7283
7225
|
|
|
7284
7226
|
/*
|
|
7285
7227
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7488,7 +7430,7 @@ class RefreshTokenClient extends BaseClient {
|
|
|
7488
7430
|
}
|
|
7489
7431
|
}
|
|
7490
7432
|
|
|
7491
|
-
/*! @azure/msal-common v15.
|
|
7433
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
7492
7434
|
|
|
7493
7435
|
/*
|
|
7494
7436
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7586,7 +7528,7 @@ class SilentFlowClient extends BaseClient {
|
|
|
7586
7528
|
}
|
|
7587
7529
|
}
|
|
7588
7530
|
|
|
7589
|
-
/*! @azure/msal-common v15.
|
|
7531
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
7590
7532
|
|
|
7591
7533
|
/*
|
|
7592
7534
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7736,7 +7678,7 @@ function extractLoginHint(account) {
|
|
|
7736
7678
|
return account.idTokenClaims?.login_hint || null;
|
|
7737
7679
|
}
|
|
7738
7680
|
|
|
7739
|
-
/*! @azure/msal-common v15.
|
|
7681
|
+
/*! @azure/msal-common v15.9.0 2025-07-23 */
|
|
7740
7682
|
|
|
7741
7683
|
/*
|
|
7742
7684
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -10032,7 +9974,7 @@ class ClientAssertion {
|
|
|
10032
9974
|
|
|
10033
9975
|
/* eslint-disable header/header */
|
|
10034
9976
|
const name = "@azure/msal-node";
|
|
10035
|
-
const version = "3.6.
|
|
9977
|
+
const version = "3.6.4";
|
|
10036
9978
|
|
|
10037
9979
|
/*
|
|
10038
9980
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|