@azure/msal-node 5.0.0-beta.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cache/CacheHelpers.mjs +1 -1
- package/dist/cache/NodeStorage.mjs +1 -1
- package/dist/cache/TokenCache.mjs +1 -1
- package/dist/cache/distributed/DistributedCachePlugin.mjs +1 -1
- package/dist/cache/serializer/Deserializer.mjs +1 -1
- package/dist/cache/serializer/Serializer.mjs +1 -1
- package/dist/client/BaseClient.mjs +1 -1
- package/dist/client/ClientApplication.mjs +1 -1
- package/dist/client/ClientAssertion.mjs +1 -1
- package/dist/client/ClientCredentialClient.mjs +1 -1
- package/dist/client/ConfidentialClientApplication.mjs +1 -1
- package/dist/client/DeviceCodeClient.mjs +1 -1
- package/dist/client/ManagedIdentityApplication.mjs +1 -1
- package/dist/client/ManagedIdentityClient.mjs +1 -1
- package/dist/client/ManagedIdentitySources/AppService.mjs +1 -1
- package/dist/client/ManagedIdentitySources/AzureArc.mjs +1 -1
- package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.mjs +1 -1
- package/dist/client/ManagedIdentitySources/CloudShell.mjs +1 -1
- package/dist/client/ManagedIdentitySources/Imds.mjs +1 -1
- package/dist/client/ManagedIdentitySources/MachineLearning.mjs +1 -1
- package/dist/client/ManagedIdentitySources/ServiceFabric.mjs +1 -1
- package/dist/client/OnBehalfOfClient.mjs +1 -1
- package/dist/client/PublicClientApplication.mjs +1 -1
- package/dist/client/UsernamePasswordClient.mjs +1 -1
- package/dist/config/Configuration.mjs +1 -1
- package/dist/config/ManagedIdentityId.mjs +1 -1
- package/dist/config/ManagedIdentityRequestParameters.mjs +1 -1
- package/dist/crypto/CryptoProvider.mjs +1 -1
- package/dist/crypto/GuidGenerator.mjs +1 -1
- package/dist/crypto/HashUtils.mjs +1 -1
- package/dist/crypto/PkceGenerator.mjs +1 -1
- package/dist/error/ClientAuthErrorCodes.mjs +1 -1
- package/dist/error/ManagedIdentityError.mjs +1 -1
- package/dist/error/ManagedIdentityErrorCodes.mjs +1 -1
- package/dist/error/NodeAuthError.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/internals.mjs +1 -1
- package/dist/network/HttpClient.mjs +1 -1
- package/dist/network/HttpClientWithRetries.mjs +1 -1
- package/dist/network/LoopbackClient.mjs +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.d.ts.map +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/request/AuthorizationCodeRequest.d.ts +12 -11
- package/dist/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/dist/request/AuthorizationUrlRequest.d.ts +6 -24
- package/dist/request/AuthorizationUrlRequest.d.ts.map +1 -1
- package/dist/request/ClientCredentialRequest.d.ts +3 -5
- package/dist/request/ClientCredentialRequest.d.ts.map +1 -1
- package/dist/request/CommonClientCredentialRequest.d.ts +9 -7
- package/dist/request/CommonClientCredentialRequest.d.ts.map +1 -1
- package/dist/request/CommonDeviceCodeRequest.d.ts +12 -10
- package/dist/request/CommonDeviceCodeRequest.d.ts.map +1 -1
- package/dist/request/CommonOnBehalfOfRequest.d.ts +7 -5
- package/dist/request/CommonOnBehalfOfRequest.d.ts.map +1 -1
- package/dist/request/CommonUsernamePasswordRequest.d.ts +6 -9
- package/dist/request/CommonUsernamePasswordRequest.d.ts.map +1 -1
- package/dist/request/DeviceCodeRequest.d.ts +6 -6
- package/dist/request/DeviceCodeRequest.d.ts.map +1 -1
- package/dist/request/InteractiveRequest.d.ts +18 -7
- package/dist/request/InteractiveRequest.d.ts.map +1 -1
- package/dist/request/ManagedIdentityRequest.d.ts +6 -2
- package/dist/request/ManagedIdentityRequest.d.ts.map +1 -1
- package/dist/request/ManagedIdentityRequestParams.d.ts +9 -3
- package/dist/request/ManagedIdentityRequestParams.d.ts.map +1 -1
- package/dist/request/OnBehalfOfRequest.d.ts +7 -5
- package/dist/request/OnBehalfOfRequest.d.ts.map +1 -1
- package/dist/request/RefreshTokenRequest.d.ts +9 -8
- package/dist/request/RefreshTokenRequest.d.ts.map +1 -1
- package/dist/request/SilentFlowRequest.d.ts +6 -8
- package/dist/request/SilentFlowRequest.d.ts.map +1 -1
- package/dist/request/UsernamePasswordRequest.d.ts +9 -9
- package/dist/request/UsernamePasswordRequest.d.ts.map +1 -1
- package/dist/retry/DefaultManagedIdentityRetryPolicy.mjs +1 -1
- package/dist/retry/ExponentialRetryStrategy.mjs +1 -1
- package/dist/retry/ImdsRetryPolicy.mjs +1 -1
- package/dist/retry/LinearRetryStrategy.mjs +1 -1
- package/dist/utils/Constants.mjs +1 -1
- package/dist/utils/EncodingUtils.mjs +1 -1
- package/dist/utils/TimeUtils.mjs +1 -1
- package/lib/msal-node.cjs +73 -68
- package/lib/msal-node.cjs.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/lib/types/packageMetadata.d.ts.map +1 -1
- package/lib/types/request/AuthorizationCodeRequest.d.ts +12 -11
- package/lib/types/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/lib/types/request/AuthorizationUrlRequest.d.ts +6 -24
- package/lib/types/request/AuthorizationUrlRequest.d.ts.map +1 -1
- package/lib/types/request/ClientCredentialRequest.d.ts +3 -5
- package/lib/types/request/ClientCredentialRequest.d.ts.map +1 -1
- package/lib/types/request/CommonClientCredentialRequest.d.ts +9 -7
- package/lib/types/request/CommonClientCredentialRequest.d.ts.map +1 -1
- package/lib/types/request/CommonDeviceCodeRequest.d.ts +12 -10
- package/lib/types/request/CommonDeviceCodeRequest.d.ts.map +1 -1
- package/lib/types/request/CommonOnBehalfOfRequest.d.ts +7 -5
- package/lib/types/request/CommonOnBehalfOfRequest.d.ts.map +1 -1
- package/lib/types/request/CommonUsernamePasswordRequest.d.ts +6 -9
- package/lib/types/request/CommonUsernamePasswordRequest.d.ts.map +1 -1
- package/lib/types/request/DeviceCodeRequest.d.ts +6 -6
- package/lib/types/request/DeviceCodeRequest.d.ts.map +1 -1
- package/lib/types/request/InteractiveRequest.d.ts +18 -7
- package/lib/types/request/InteractiveRequest.d.ts.map +1 -1
- package/lib/types/request/ManagedIdentityRequest.d.ts +6 -2
- package/lib/types/request/ManagedIdentityRequest.d.ts.map +1 -1
- package/lib/types/request/ManagedIdentityRequestParams.d.ts +9 -3
- package/lib/types/request/ManagedIdentityRequestParams.d.ts.map +1 -1
- package/lib/types/request/OnBehalfOfRequest.d.ts +7 -5
- package/lib/types/request/OnBehalfOfRequest.d.ts.map +1 -1
- package/lib/types/request/RefreshTokenRequest.d.ts +9 -8
- package/lib/types/request/RefreshTokenRequest.d.ts.map +1 -1
- package/lib/types/request/SilentFlowRequest.d.ts +6 -8
- package/lib/types/request/SilentFlowRequest.d.ts.map +1 -1
- package/lib/types/request/UsernamePasswordRequest.d.ts +9 -9
- package/lib/types/request/UsernamePasswordRequest.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/packageMetadata.ts +1 -1
- package/src/request/AuthorizationCodeRequest.ts +12 -11
- package/src/request/AuthorizationUrlRequest.ts +6 -24
- package/src/request/ClientCredentialRequest.ts +3 -5
- package/src/request/CommonClientCredentialRequest.ts +9 -7
- package/src/request/CommonDeviceCodeRequest.ts +12 -10
- package/src/request/CommonOnBehalfOfRequest.ts +7 -5
- package/src/request/CommonUsernamePasswordRequest.ts +6 -9
- package/src/request/DeviceCodeRequest.ts +6 -6
- package/src/request/InteractiveRequest.ts +18 -7
- package/src/request/ManagedIdentityRequest.ts +6 -2
- package/src/request/ManagedIdentityRequestParams.ts +9 -3
- package/src/request/OnBehalfOfRequest.ts +7 -5
- package/src/request/RefreshTokenRequest.ts +9 -8
- package/src/request/SilentFlowRequest.ts +6 -8
- package/src/request/UsernamePasswordRequest.ts +9 -9
package/lib/msal-node.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v5.0.
|
|
1
|
+
/*! @azure/msal-node v5.0.1 2026-01-16 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -149,7 +149,7 @@ class Serializer {
|
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
/*! @azure/msal-common v16.0.
|
|
152
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
153
153
|
/*
|
|
154
154
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
155
155
|
* Licensed under the MIT License.
|
|
@@ -397,7 +397,7 @@ const EncodingTypes = {
|
|
|
397
397
|
UTF8: "utf-8",
|
|
398
398
|
};
|
|
399
399
|
|
|
400
|
-
/*! @azure/msal-common v16.0.
|
|
400
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
401
401
|
/*
|
|
402
402
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
403
403
|
* Licensed under the MIT License.
|
|
@@ -448,7 +448,7 @@ const BROKER_CLIENT_ID = "brk_client_id";
|
|
|
448
448
|
const BROKER_REDIRECT_URI = "brk_redirect_uri";
|
|
449
449
|
const INSTANCE_AWARE = "instance_aware";
|
|
450
450
|
|
|
451
|
-
/*! @azure/msal-common v16.0.
|
|
451
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
452
452
|
/*
|
|
453
453
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
454
454
|
* Licensed under the MIT License.
|
|
@@ -479,7 +479,7 @@ function createAuthError(code, additionalMessage) {
|
|
|
479
479
|
return new AuthError(code, additionalMessage || getDefaultErrorMessage(code));
|
|
480
480
|
}
|
|
481
481
|
|
|
482
|
-
/*! @azure/msal-common v16.0.
|
|
482
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
483
483
|
|
|
484
484
|
/*
|
|
485
485
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -499,7 +499,7 @@ function createClientConfigurationError(errorCode) {
|
|
|
499
499
|
return new ClientConfigurationError(errorCode);
|
|
500
500
|
}
|
|
501
501
|
|
|
502
|
-
/*! @azure/msal-common v16.0.
|
|
502
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
503
503
|
/*
|
|
504
504
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
505
505
|
* Licensed under the MIT License.
|
|
@@ -596,7 +596,7 @@ class StringUtils {
|
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
598
|
|
|
599
|
-
/*! @azure/msal-common v16.0.
|
|
599
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
600
600
|
|
|
601
601
|
/*
|
|
602
602
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -619,7 +619,7 @@ function createClientAuthError(errorCode, additionalMessage) {
|
|
|
619
619
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
620
620
|
}
|
|
621
621
|
|
|
622
|
-
/*! @azure/msal-common v16.0.
|
|
622
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
623
623
|
/*
|
|
624
624
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
625
625
|
* Licensed under the MIT License.
|
|
@@ -673,7 +673,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
673
673
|
urlParseError: urlParseError
|
|
674
674
|
});
|
|
675
675
|
|
|
676
|
-
/*! @azure/msal-common v16.0.
|
|
676
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
677
677
|
/*
|
|
678
678
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
679
679
|
* Licensed under the MIT License.
|
|
@@ -757,7 +757,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
757
757
|
userCanceled: userCanceled
|
|
758
758
|
});
|
|
759
759
|
|
|
760
|
-
/*! @azure/msal-common v16.0.
|
|
760
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
761
761
|
|
|
762
762
|
/*
|
|
763
763
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -952,7 +952,7 @@ class ScopeSet {
|
|
|
952
952
|
}
|
|
953
953
|
}
|
|
954
954
|
|
|
955
|
-
/*! @azure/msal-common v16.0.
|
|
955
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
956
956
|
|
|
957
957
|
/*
|
|
958
958
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1337,7 +1337,7 @@ function addBrokerParameters(parameters, brokerClientId, brokerRedirectUri) {
|
|
|
1337
1337
|
}
|
|
1338
1338
|
}
|
|
1339
1339
|
|
|
1340
|
-
/*! @azure/msal-common v16.0.
|
|
1340
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1341
1341
|
/**
|
|
1342
1342
|
* Parses hash string from given string. Returns empty string if no hash symbol is found.
|
|
1343
1343
|
* @param hashString
|
|
@@ -1390,7 +1390,7 @@ function mapToQueryString(parameters) {
|
|
|
1390
1390
|
return queryParameterArray.join("&");
|
|
1391
1391
|
}
|
|
1392
1392
|
|
|
1393
|
-
/*! @azure/msal-common v16.0.
|
|
1393
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1394
1394
|
|
|
1395
1395
|
/*
|
|
1396
1396
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1429,7 +1429,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
1429
1429
|
},
|
|
1430
1430
|
};
|
|
1431
1431
|
|
|
1432
|
-
/*! @azure/msal-common v16.0.
|
|
1432
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1433
1433
|
/*
|
|
1434
1434
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1435
1435
|
* Licensed under the MIT License.
|
|
@@ -1690,12 +1690,12 @@ class Logger {
|
|
|
1690
1690
|
}
|
|
1691
1691
|
}
|
|
1692
1692
|
|
|
1693
|
-
/*! @azure/msal-common v16.0.
|
|
1693
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1694
1694
|
/* eslint-disable header/header */
|
|
1695
1695
|
const name$1 = "@azure/msal-common";
|
|
1696
|
-
const version$1 = "16.0.
|
|
1696
|
+
const version$1 = "16.0.1";
|
|
1697
1697
|
|
|
1698
|
-
/*! @azure/msal-common v16.0.
|
|
1698
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1699
1699
|
/*
|
|
1700
1700
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1701
1701
|
* Licensed under the MIT License.
|
|
@@ -1715,7 +1715,7 @@ const AzureCloudInstance = {
|
|
|
1715
1715
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
1716
1716
|
};
|
|
1717
1717
|
|
|
1718
|
-
/*! @azure/msal-common v16.0.
|
|
1718
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1719
1719
|
/*
|
|
1720
1720
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1721
1721
|
* Licensed under the MIT License.
|
|
@@ -1797,7 +1797,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
1797
1797
|
return updatedAccountInfo;
|
|
1798
1798
|
}
|
|
1799
1799
|
|
|
1800
|
-
/*! @azure/msal-common v16.0.
|
|
1800
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1801
1801
|
|
|
1802
1802
|
/*
|
|
1803
1803
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1877,7 +1877,7 @@ function checkMaxAge(authTime, maxAge) {
|
|
|
1877
1877
|
}
|
|
1878
1878
|
}
|
|
1879
1879
|
|
|
1880
|
-
/*! @azure/msal-common v16.0.
|
|
1880
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
1881
1881
|
|
|
1882
1882
|
/*
|
|
1883
1883
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2034,7 +2034,7 @@ class UrlString {
|
|
|
2034
2034
|
}
|
|
2035
2035
|
}
|
|
2036
2036
|
|
|
2037
|
-
/*! @azure/msal-common v16.0.
|
|
2037
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2038
2038
|
|
|
2039
2039
|
/*
|
|
2040
2040
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2176,7 +2176,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2176
2176
|
return null;
|
|
2177
2177
|
}
|
|
2178
2178
|
|
|
2179
|
-
/*! @azure/msal-common v16.0.
|
|
2179
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2180
2180
|
/*
|
|
2181
2181
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2182
2182
|
* Licensed under the MIT License.
|
|
@@ -2184,7 +2184,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2184
2184
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
2185
2185
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
2186
2186
|
|
|
2187
|
-
/*! @azure/msal-common v16.0.
|
|
2187
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2188
2188
|
|
|
2189
2189
|
/*
|
|
2190
2190
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2222,7 +2222,7 @@ function createCacheError(e) {
|
|
|
2222
2222
|
}
|
|
2223
2223
|
}
|
|
2224
2224
|
|
|
2225
|
-
/*! @azure/msal-common v16.0.
|
|
2225
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2226
2226
|
|
|
2227
2227
|
/*
|
|
2228
2228
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2260,7 +2260,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
2260
2260
|
};
|
|
2261
2261
|
}
|
|
2262
2262
|
|
|
2263
|
-
/*! @azure/msal-common v16.0.
|
|
2263
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2264
2264
|
/*
|
|
2265
2265
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2266
2266
|
* Licensed under the MIT License.
|
|
@@ -2275,7 +2275,7 @@ const AuthorityType = {
|
|
|
2275
2275
|
Ciam: 3,
|
|
2276
2276
|
};
|
|
2277
2277
|
|
|
2278
|
-
/*! @azure/msal-common v16.0.
|
|
2278
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2279
2279
|
/*
|
|
2280
2280
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2281
2281
|
* Licensed under the MIT License.
|
|
@@ -2297,7 +2297,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
2297
2297
|
return null;
|
|
2298
2298
|
}
|
|
2299
2299
|
|
|
2300
|
-
/*! @azure/msal-common v16.0.
|
|
2300
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2301
2301
|
/*
|
|
2302
2302
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2303
2303
|
* Licensed under the MIT License.
|
|
@@ -2321,7 +2321,7 @@ const ProtocolMode = {
|
|
|
2321
2321
|
EAR: "EAR",
|
|
2322
2322
|
};
|
|
2323
2323
|
|
|
2324
|
-
/*! @azure/msal-common v16.0.
|
|
2324
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2325
2325
|
/**
|
|
2326
2326
|
* Returns the AccountInfo interface for this account.
|
|
2327
2327
|
*/
|
|
@@ -2457,7 +2457,7 @@ function isAccountEntity(entity) {
|
|
|
2457
2457
|
entity.hasOwnProperty("authorityType"));
|
|
2458
2458
|
}
|
|
2459
2459
|
|
|
2460
|
-
/*! @azure/msal-common v16.0.
|
|
2460
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
2461
2461
|
|
|
2462
2462
|
/*
|
|
2463
2463
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3553,7 +3553,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3553
3553
|
}
|
|
3554
3554
|
}
|
|
3555
3555
|
|
|
3556
|
-
/*! @azure/msal-common v16.0.
|
|
3556
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3557
3557
|
/*
|
|
3558
3558
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3559
3559
|
* Licensed under the MIT License.
|
|
@@ -3567,7 +3567,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3567
3567
|
const PerformanceEventStatus = {
|
|
3568
3568
|
InProgress: 1};
|
|
3569
3569
|
|
|
3570
|
-
/*! @azure/msal-common v16.0.
|
|
3570
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3571
3571
|
|
|
3572
3572
|
/*
|
|
3573
3573
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3622,7 +3622,7 @@ class StubPerformanceClient {
|
|
|
3622
3622
|
}
|
|
3623
3623
|
}
|
|
3624
3624
|
|
|
3625
|
-
/*! @azure/msal-common v16.0.
|
|
3625
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3626
3626
|
|
|
3627
3627
|
/*
|
|
3628
3628
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3716,7 +3716,7 @@ function isOidcProtocolMode(config) {
|
|
|
3716
3716
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
3717
3717
|
}
|
|
3718
3718
|
|
|
3719
|
-
/*! @azure/msal-common v16.0.
|
|
3719
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3720
3720
|
|
|
3721
3721
|
/*
|
|
3722
3722
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3735,7 +3735,7 @@ class ServerError extends AuthError {
|
|
|
3735
3735
|
}
|
|
3736
3736
|
}
|
|
3737
3737
|
|
|
3738
|
-
/*! @azure/msal-common v16.0.
|
|
3738
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3739
3739
|
/*
|
|
3740
3740
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3741
3741
|
* Licensed under the MIT License.
|
|
@@ -3763,7 +3763,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
3763
3763
|
uxNotAllowed: uxNotAllowed
|
|
3764
3764
|
});
|
|
3765
3765
|
|
|
3766
|
-
/*! @azure/msal-common v16.0.
|
|
3766
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3767
3767
|
|
|
3768
3768
|
/*
|
|
3769
3769
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3829,7 +3829,7 @@ function createInteractionRequiredAuthError(errorCode, errorMessage) {
|
|
|
3829
3829
|
return new InteractionRequiredAuthError(errorCode, errorMessage);
|
|
3830
3830
|
}
|
|
3831
3831
|
|
|
3832
|
-
/*! @azure/msal-common v16.0.
|
|
3832
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3833
3833
|
/**
|
|
3834
3834
|
* Parses the state into the RequestStateObject, which contains the LibraryState info and the state passed by the user.
|
|
3835
3835
|
* @param base64Decode
|
|
@@ -3861,7 +3861,7 @@ function parseRequestState(base64Decode, state) {
|
|
|
3861
3861
|
}
|
|
3862
3862
|
}
|
|
3863
3863
|
|
|
3864
|
-
/*! @azure/msal-common v16.0.
|
|
3864
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3865
3865
|
/*
|
|
3866
3866
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3867
3867
|
* Licensed under the MIT License.
|
|
@@ -3916,7 +3916,7 @@ function delay(t, value) {
|
|
|
3916
3916
|
return new Promise((resolve) => setTimeout(() => resolve(value), t));
|
|
3917
3917
|
}
|
|
3918
3918
|
|
|
3919
|
-
/*! @azure/msal-common v16.0.
|
|
3919
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3920
3920
|
/*
|
|
3921
3921
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3922
3922
|
* Licensed under the MIT License.
|
|
@@ -3978,7 +3978,7 @@ const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
|
|
|
3978
3978
|
*/
|
|
3979
3979
|
const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
|
|
3980
3980
|
|
|
3981
|
-
/*! @azure/msal-common v16.0.
|
|
3981
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
3982
3982
|
/*
|
|
3983
3983
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3984
3984
|
* Licensed under the MIT License.
|
|
@@ -4073,7 +4073,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
4073
4073
|
};
|
|
4074
4074
|
};
|
|
4075
4075
|
|
|
4076
|
-
/*! @azure/msal-common v16.0.
|
|
4076
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4077
4077
|
|
|
4078
4078
|
/*
|
|
4079
4079
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4153,7 +4153,7 @@ class PopTokenGenerator {
|
|
|
4153
4153
|
}
|
|
4154
4154
|
}
|
|
4155
4155
|
|
|
4156
|
-
/*! @azure/msal-common v16.0.
|
|
4156
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4157
4157
|
/*
|
|
4158
4158
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4159
4159
|
* Licensed under the MIT License.
|
|
@@ -4180,7 +4180,7 @@ class PopTokenGenerator {
|
|
|
4180
4180
|
}
|
|
4181
4181
|
}
|
|
4182
4182
|
|
|
4183
|
-
/*! @azure/msal-common v16.0.
|
|
4183
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4184
4184
|
|
|
4185
4185
|
/*
|
|
4186
4186
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4439,7 +4439,7 @@ function isAuthorityMetadataExpired(metadata) {
|
|
|
4439
4439
|
return metadata.expiresAt <= nowSeconds();
|
|
4440
4440
|
}
|
|
4441
4441
|
|
|
4442
|
-
/*! @azure/msal-common v16.0.
|
|
4442
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4443
4443
|
|
|
4444
4444
|
/*
|
|
4445
4445
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4630,6 +4630,7 @@ class ResponseHandler {
|
|
|
4630
4630
|
? parseInt(serverTokenResponse.refresh_token_expires_in, 10)
|
|
4631
4631
|
: serverTokenResponse.refresh_token_expires_in;
|
|
4632
4632
|
rtExpiresOn = reqTimestamp + rtExpiresIn;
|
|
4633
|
+
this.performanceClient?.addFields({ ntwkRtExpiresOnSeconds: rtExpiresOn }, request.correlationId);
|
|
4633
4634
|
}
|
|
4634
4635
|
cachedRefreshToken = createRefreshTokenEntity(this.homeAccountIdentifier, env, serverTokenResponse.refresh_token, this.clientId, serverTokenResponse.foci, userAssertionHash, rtExpiresOn);
|
|
4635
4636
|
}
|
|
@@ -4769,7 +4770,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
4769
4770
|
return baseAccount;
|
|
4770
4771
|
}
|
|
4771
4772
|
|
|
4772
|
-
/*! @azure/msal-common v16.0.
|
|
4773
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4773
4774
|
/*
|
|
4774
4775
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4775
4776
|
* Licensed under the MIT License.
|
|
@@ -4779,7 +4780,7 @@ const CcsCredentialType = {
|
|
|
4779
4780
|
UPN: "UPN",
|
|
4780
4781
|
};
|
|
4781
4782
|
|
|
4782
|
-
/*! @azure/msal-common v16.0.
|
|
4783
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4783
4784
|
/*
|
|
4784
4785
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4785
4786
|
* Licensed under the MIT License.
|
|
@@ -4797,7 +4798,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
4797
4798
|
}
|
|
4798
4799
|
}
|
|
4799
4800
|
|
|
4800
|
-
/*! @azure/msal-common v16.0.
|
|
4801
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4801
4802
|
/*
|
|
4802
4803
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4803
4804
|
* Licensed under the MIT License.
|
|
@@ -4818,7 +4819,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
4818
4819
|
};
|
|
4819
4820
|
}
|
|
4820
4821
|
|
|
4821
|
-
/*! @azure/msal-common v16.0.
|
|
4822
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4822
4823
|
|
|
4823
4824
|
/*
|
|
4824
4825
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4904,7 +4905,7 @@ class ThrottlingUtils {
|
|
|
4904
4905
|
}
|
|
4905
4906
|
}
|
|
4906
4907
|
|
|
4907
|
-
/*! @azure/msal-common v16.0.
|
|
4908
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4908
4909
|
|
|
4909
4910
|
/*
|
|
4910
4911
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4935,7 +4936,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
|
|
|
4935
4936
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
4936
4937
|
}
|
|
4937
4938
|
|
|
4938
|
-
/*! @azure/msal-common v16.0.
|
|
4939
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
4939
4940
|
|
|
4940
4941
|
/*
|
|
4941
4942
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5049,7 +5050,7 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
|
|
|
5049
5050
|
return response;
|
|
5050
5051
|
}
|
|
5051
5052
|
|
|
5052
|
-
/*! @azure/msal-common v16.0.
|
|
5053
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
5053
5054
|
/*
|
|
5054
5055
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5055
5056
|
* Licensed under the MIT License.
|
|
@@ -5061,7 +5062,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
5061
5062
|
response.hasOwnProperty("jwks_uri"));
|
|
5062
5063
|
}
|
|
5063
5064
|
|
|
5064
|
-
/*! @azure/msal-common v16.0.
|
|
5065
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
5065
5066
|
/*
|
|
5066
5067
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5067
5068
|
* Licensed under the MIT License.
|
|
@@ -5071,7 +5072,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
5071
5072
|
response.hasOwnProperty("metadata"));
|
|
5072
5073
|
}
|
|
5073
5074
|
|
|
5074
|
-
/*! @azure/msal-common v16.0.
|
|
5075
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
5075
5076
|
/*
|
|
5076
5077
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5077
5078
|
* Licensed under the MIT License.
|
|
@@ -5081,7 +5082,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
5081
5082
|
response.hasOwnProperty("error_description"));
|
|
5082
5083
|
}
|
|
5083
5084
|
|
|
5084
|
-
/*! @azure/msal-common v16.0.
|
|
5085
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
5085
5086
|
|
|
5086
5087
|
/*
|
|
5087
5088
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5186,7 +5187,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
5186
5187
|
},
|
|
5187
5188
|
};
|
|
5188
5189
|
|
|
5189
|
-
/*! @azure/msal-common v16.0.
|
|
5190
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
5190
5191
|
|
|
5191
5192
|
/*
|
|
5192
5193
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6009,7 +6010,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
6009
6010
|
};
|
|
6010
6011
|
}
|
|
6011
6012
|
|
|
6012
|
-
/*! @azure/msal-common v16.0.
|
|
6013
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6013
6014
|
|
|
6014
6015
|
/*
|
|
6015
6016
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6043,7 +6044,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
6043
6044
|
}
|
|
6044
6045
|
}
|
|
6045
6046
|
|
|
6046
|
-
/*! @azure/msal-common v16.0.
|
|
6047
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6047
6048
|
|
|
6048
6049
|
/*
|
|
6049
6050
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6303,7 +6304,7 @@ class AuthorizationCodeClient {
|
|
|
6303
6304
|
}
|
|
6304
6305
|
}
|
|
6305
6306
|
|
|
6306
|
-
/*! @azure/msal-common v16.0.
|
|
6307
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6307
6308
|
|
|
6308
6309
|
/*
|
|
6309
6310
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6392,11 +6393,16 @@ class RefreshTokenClient {
|
|
|
6392
6393
|
if (!refreshToken) {
|
|
6393
6394
|
throw createInteractionRequiredAuthError(noTokensFound);
|
|
6394
6395
|
}
|
|
6395
|
-
if (refreshToken.expiresOn
|
|
6396
|
-
|
|
6397
|
-
DEFAULT_REFRESH_TOKEN_EXPIRATION_OFFSET_SECONDS
|
|
6398
|
-
this.performanceClient?.addFields({
|
|
6399
|
-
|
|
6396
|
+
if (refreshToken.expiresOn) {
|
|
6397
|
+
const offset = request.refreshTokenExpirationOffsetSeconds ||
|
|
6398
|
+
DEFAULT_REFRESH_TOKEN_EXPIRATION_OFFSET_SECONDS;
|
|
6399
|
+
this.performanceClient?.addFields({
|
|
6400
|
+
cacheRtExpiresOnSeconds: Number(refreshToken.expiresOn),
|
|
6401
|
+
rtOffsetSeconds: offset,
|
|
6402
|
+
}, request.correlationId);
|
|
6403
|
+
if (isTokenExpired(refreshToken.expiresOn, offset)) {
|
|
6404
|
+
throw createInteractionRequiredAuthError(refreshTokenExpired);
|
|
6405
|
+
}
|
|
6400
6406
|
}
|
|
6401
6407
|
// attach cached RT size to the current measurement
|
|
6402
6408
|
const refreshTokenRequest = {
|
|
@@ -6414,7 +6420,6 @@ class RefreshTokenClient {
|
|
|
6414
6420
|
}
|
|
6415
6421
|
catch (e) {
|
|
6416
6422
|
if (e instanceof InteractionRequiredAuthError) {
|
|
6417
|
-
this.performanceClient?.addFields({ rtExpiresOnMs: Number(refreshToken.expiresOn) }, request.correlationId);
|
|
6418
6423
|
if (e.subError === badToken) {
|
|
6419
6424
|
// Remove bad refresh token from cache
|
|
6420
6425
|
this.logger.verbose("acquireTokenWithRefreshToken: bad refresh token, removing from cache", request.correlationId);
|
|
@@ -6524,7 +6529,7 @@ class RefreshTokenClient {
|
|
|
6524
6529
|
}
|
|
6525
6530
|
}
|
|
6526
6531
|
|
|
6527
|
-
/*! @azure/msal-common v16.0.
|
|
6532
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6528
6533
|
|
|
6529
6534
|
/*
|
|
6530
6535
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6633,7 +6638,7 @@ class SilentFlowClient {
|
|
|
6633
6638
|
}
|
|
6634
6639
|
}
|
|
6635
6640
|
|
|
6636
|
-
/*! @azure/msal-common v16.0.
|
|
6641
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6637
6642
|
|
|
6638
6643
|
/*
|
|
6639
6644
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6783,7 +6788,7 @@ function extractLoginHint(account) {
|
|
|
6783
6788
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
6784
6789
|
}
|
|
6785
6790
|
|
|
6786
|
-
/*! @azure/msal-common v16.0.
|
|
6791
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6787
6792
|
/*
|
|
6788
6793
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6789
6794
|
* Licensed under the MIT License.
|
|
@@ -6800,7 +6805,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
6800
6805
|
unexpectedError: unexpectedError
|
|
6801
6806
|
});
|
|
6802
6807
|
|
|
6803
|
-
/*! @azure/msal-common v16.0.
|
|
6808
|
+
/*! @azure/msal-common v16.0.1 2026-01-16 */
|
|
6804
6809
|
|
|
6805
6810
|
/*
|
|
6806
6811
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8999,7 +9004,7 @@ class ClientAssertion {
|
|
|
8999
9004
|
|
|
9000
9005
|
/* eslint-disable header/header */
|
|
9001
9006
|
const name = "@azure/msal-node";
|
|
9002
|
-
const version = "5.0.
|
|
9007
|
+
const version = "5.0.1";
|
|
9003
9008
|
|
|
9004
9009
|
/*
|
|
9005
9010
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|