@azure/msal-node 7.2.3 → 7.2.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/README.md +14 -3
- 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/SilentRequestCoalescer.mjs +1 -1
- package/dist/client/UserFederatedIdentityCredentialClient.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.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/TimeUtils.mjs +1 -1
- package/lib/msal-node.cjs +159 -92
- package/lib/msal-node.cjs.map +1 -1
- package/package.json +7 -2
- package/src/packageMetadata.ts +1 -1
- package/types/packageMetadata.d.ts +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Microsoft Authentication Library for Node (msal-node)
|
|
2
2
|
|
|
3
|
+
**Documentation:** [Browse MSAL Node guides](./docs/README.md).
|
|
4
|
+
|
|
3
5
|
[](https://www.npmjs.com/package/@azure/msal-node/)
|
|
4
6
|
[](https://nodei.co/npm/@azure/msal-node/)
|
|
5
7
|
[](https://codecov.io/gh/AzureAD/microsoft-authentication-library-for-js)
|
|
@@ -9,6 +11,7 @@
|
|
|
9
11
|
|
|
10
12
|
1. [About](#about)
|
|
11
13
|
1. [FAQ](#faq)
|
|
14
|
+
1. [Migration Guides](#migration-guides)
|
|
12
15
|
1. [Changelog](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-node/CHANGELOG.md)
|
|
13
16
|
1. [Prerequisites](#prerequisites)
|
|
14
17
|
1. [Installation](#installation)
|
|
@@ -64,6 +67,12 @@ More details on scenarios and the authentication flows that map to each of them
|
|
|
64
67
|
|
|
65
68
|
See [here](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-node/docs/faq.md).
|
|
66
69
|
|
|
70
|
+
## Migration Guides
|
|
71
|
+
|
|
72
|
+
- [MSAL Node v7](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-node/docs/v7-migration.md)
|
|
73
|
+
- [MSAL Node v6](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-node/docs/v6-migration.md)
|
|
74
|
+
- [MSAL Node v5](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-node/docs/v5-migration.md)
|
|
75
|
+
|
|
67
76
|
## Prerequisites
|
|
68
77
|
|
|
69
78
|
Before using `@azure/msal-node` you will need to register your app in the azure portal:
|
|
@@ -90,12 +99,14 @@ Any major MSAL Node release:
|
|
|
90
99
|
|
|
91
100
|
| MSAL Node version | MSAL support status | Supported Node versions |
|
|
92
101
|
| ----------------- | ------------------- | ----------------------- |
|
|
93
|
-
|
|
|
94
|
-
|
|
|
102
|
+
| 7.x.x | Active development | 20, 22, 24 |
|
|
103
|
+
| 6.x.x | In maintenance | 20, 22, 24 |
|
|
104
|
+
| 5.x.x | In maintenance | 20, 22, 24 |
|
|
105
|
+
| 3.x.x | In maintenance | 16, 18, 20, 22, 24 |
|
|
95
106
|
| 2.x.x | In maintenance | 16, 18, 20, 22 |
|
|
96
107
|
| 1.x.x | In maintenance | 10, 12, 14, 16, 18 |
|
|
97
108
|
|
|
98
|
-
**Note:** There
|
|
109
|
+
**Note:** There was no MSAL Node v4 release. The package version was incremented from v3 directly to v5 to align with the other MSAL.js libraries. There were no functional changes in the MSAL Node v2 release.
|
|
99
110
|
|
|
100
111
|
## Usage
|
|
101
112
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v7.2.
|
|
1
|
+
/*! @azure/msal-node v7.2.4 2026-12-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { CacheManager, StubPerformanceClient, DEFAULT_TOKEN_BINDING_KEY_MANAGER, AccountEntityUtils, CacheHelpers } from '@azure/msal-common/node';
|
|
4
4
|
import { Deserializer } from './serializer/Deserializer.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v7.2.
|
|
1
|
+
/*! @azure/msal-node v7.2.4 2026-12-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { buildClientConfiguration, Logger, StubPerformanceClient, TokenProtocol } from '@azure/msal-common/node';
|
|
4
4
|
import { name, version } from '../packageMetadata.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v7.2.
|
|
1
|
+
/*! @azure/msal-node v7.2.4 2026-12-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { Logger, buildStaticAuthorityOptions, Constants, AuthorizationCodeClient, StubPerformanceClient, AuthError, RefreshTokenClient, Authority, SilentFlowClient, ClientAuthError, ClientAuthErrorCodes, createClientAuthError, getClientAssertion, ServerTelemetryManager, AuthorityFactory } from '@azure/msal-common/node';
|
|
4
4
|
import { buildAppConfiguration } from '../config/Configuration.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v7.2.
|
|
1
|
+
/*! @azure/msal-node v7.2.4 2026-12-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { StringUtils, Constants, TokenCacheContext, ScopeSet, TimeUtils, ResponseHandler, createClientAuthError, ClientAuthErrorCodes, UrlString, RequestParameterBuilder, getClientAssertion, AADServerParamKeys, UrlUtils } from '@azure/msal-common/node';
|
|
4
4
|
import { ApiId } from '../utils/Constants.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v7.2.
|
|
1
|
+
/*! @azure/msal-node v7.2.4 2026-12-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { TimeUtils, ResponseHandler, UrlString, RequestParameterBuilder, UrlUtils, createClientAuthError, Constants, createAuthError, AuthErrorCodes, StringUtils } from '@azure/msal-common/node';
|
|
4
4
|
import { ApiId } from '../utils/Constants.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v7.2.
|
|
1
|
+
/*! @azure/msal-node v7.2.4 2026-12-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { Logger, DEFAULT_CRYPTO_IMPLEMENTATION, Constants, Authority, ProtocolMode, StubPerformanceClient, createClientConfigurationError, ClientConfigurationErrorCodes } from '@azure/msal-common/node';
|
|
4
4
|
import { buildManagedIdentityConfiguration } from '../config/Configuration.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v7.2.
|
|
1
|
+
/*! @azure/msal-node v7.2.4 2026-12-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { BaseManagedIdentitySource } from './BaseManagedIdentitySource.mjs';
|
|
4
4
|
import { ManagedIdentityEnvironmentVariableNames, ManagedIdentitySourceNames, ManagedIdentityHeaders, ManagedIdentityQueryParameters, ManagedIdentityIdType, HttpMethod } from '../../utils/Constants.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v7.2.
|
|
1
|
+
/*! @azure/msal-node v7.2.4 2026-12-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { Constants, AuthError, createClientAuthError, ClientAuthErrorCodes } from '@azure/msal-common/node';
|
|
4
4
|
import { ManagedIdentityRequestParameters } from '../../config/ManagedIdentityRequestParameters.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v7.2.
|
|
1
|
+
/*! @azure/msal-node v7.2.4 2026-12-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { TimeUtils, Constants, AuthError, createClientAuthError, ClientAuthErrorCodes, ResponseHandler, StubPerformanceClient, UrlString } from '@azure/msal-common/node';
|
|
4
4
|
import { ManagedIdentityQueryParameters, HttpMethod, ApiId, ManagedIdentityIdType } from '../../utils/Constants.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v7.2.
|
|
1
|
+
/*! @azure/msal-node v7.2.4 2026-12-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { ManagedIdentityRequestParameters } from '../../config/ManagedIdentityRequestParameters.mjs';
|
|
4
4
|
import { BaseManagedIdentitySource } from './BaseManagedIdentitySource.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v7.2.
|
|
1
|
+
/*! @azure/msal-node v7.2.4 2026-12-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { ManagedIdentityRequestParameters } from '../../config/ManagedIdentityRequestParameters.mjs';
|
|
4
4
|
import { BaseManagedIdentitySource } from './BaseManagedIdentitySource.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v7.2.
|
|
1
|
+
/*! @azure/msal-node v7.2.4 2026-12-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { BaseManagedIdentitySource, ManagedIdentityUserAssignedIdQueryParameterNames } from './BaseManagedIdentitySource.mjs';
|
|
4
4
|
import { ManagedIdentityEnvironmentVariableNames, ManagedIdentitySourceNames, ManagedIdentityHeaders, ManagedIdentityQueryParameters, ManagedIdentityIdType, HttpMethod } from '../../utils/Constants.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v7.2.
|
|
1
|
+
/*! @azure/msal-node v7.2.4 2026-12-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { ManagedIdentityRequestParameters } from '../../config/ManagedIdentityRequestParameters.mjs';
|
|
4
4
|
import { BaseManagedIdentitySource } from './BaseManagedIdentitySource.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v7.2.
|
|
1
|
+
/*! @azure/msal-node v7.2.4 2026-12-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { ScopeSet, StringUtils, Constants, createClientAuthError, ClientAuthErrorCodes, TimeUtils, AuthToken, ResponseHandler, UrlString, RequestParameterBuilder, AADServerParamKeys, getClientAssertion, UrlUtils } from '@azure/msal-common/node';
|
|
4
4
|
import { ApiId } from '../utils/Constants.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v7.2.
|
|
1
|
+
/*! @azure/msal-node v7.2.4 2026-12-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { Constants, ApiId, LOOPBACK_SERVER_CONSTANTS } from '../utils/Constants.mjs';
|
|
4
4
|
import { ServerTelemetryManager, enforceResourceParameter, AuthError, Constants as Constants$1, createClientConfigurationError, ClientConfigurationErrorCodes, ProtocolUtils, ServerError, AADServerParamKeys } from '@azure/msal-common/node';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v7.2.
|
|
1
|
+
/*! @azure/msal-node v7.2.4 2026-12-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { ScopeSet, Constants, UrlString, TimeUtils, ResponseHandler, RequestParameterBuilder, AADServerParamKeys, getClientAssertion, StringUtils, UrlUtils } from '@azure/msal-common/node';
|
|
4
4
|
import { ApiId } from '../utils/Constants.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v7.2.
|
|
1
|
+
/*! @azure/msal-node v7.2.4 2026-12-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { TimeUtils, ResponseHandler, UrlString, CcsCredentialType, RequestParameterBuilder, Constants, getClientAssertion, StringUtils, UrlUtils } from '@azure/msal-common/node';
|
|
4
4
|
import { ApiId } from '../utils/Constants.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v7.2.
|
|
1
|
+
/*! @azure/msal-node v7.2.4 2026-12-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { createManagedIdentityError } from '../error/ManagedIdentityError.mjs';
|
|
4
4
|
import { ManagedIdentityIdType, DEFAULT_MANAGED_IDENTITY_ID } from '../utils/Constants.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v7.2.
|
|
1
|
+
/*! @azure/msal-node v7.2.4 2026-12-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { RequestParameterBuilder, UrlUtils, UrlString } from '@azure/msal-common/node';
|
|
4
4
|
import { DefaultManagedIdentityRetryPolicy } from '../retry/DefaultManagedIdentityRetryPolicy.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v7.2.
|
|
1
|
+
/*! @azure/msal-node v7.2.4 2026-12-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthError } from '@azure/msal-common/node';
|
|
4
4
|
import { wwwAuthenticateHeaderUnsupportedFormat, wwwAuthenticateHeaderMissing, userAssignedManagedIdentityNotConfirmed, userAssignedNotAvailableAtRuntime, unableToReadSecretFile, unableToCreateSource, unableToCreateCloudShell, unableToCreateAzureArc, networkUnavailable, MsiEnvironmentVariableUrlMalformedErrorCodes, missingId, platformNotSupported, invalidSecret, invalidManagedIdentityIdType, invalidFilePath, invalidFileExtension } from './ManagedIdentityErrorCodes.mjs';
|
package/dist/index.mjs
CHANGED
package/dist/internals.mjs
CHANGED
package/dist/packageMetadata.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @azure/msal-node v7.2.
|
|
1
|
+
/*! @azure/msal-node v7.2.4 2026-12-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
/* eslint-disable header/header */
|
|
4
4
|
const name = "@azure/msal-node";
|
|
5
|
-
const version = "7.2.
|
|
5
|
+
const version = "7.2.4";
|
|
6
6
|
|
|
7
7
|
export { name, version };
|
|
8
8
|
//# sourceMappingURL=packageMetadata.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v7.2.
|
|
1
|
+
/*! @azure/msal-node v7.2.4 2026-12-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthorizeProtocol, RequestParameterBuilder, ProtocolMode, Constants as Constants$1 } from '@azure/msal-common/node';
|
|
4
4
|
import { Constants } from '../utils/Constants.mjs';
|
package/dist/utils/Constants.mjs
CHANGED
package/dist/utils/TimeUtils.mjs
CHANGED