@azure/msal-node 2.7.0-alpha.0 → 2.7.1-alpha.0
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 +1 -1
- package/dist/cache/ITokenCache.d.ts +15 -15
- package/dist/cache/NodeStorage.cjs +423 -423
- package/dist/cache/NodeStorage.cjs.map +1 -1
- package/dist/cache/NodeStorage.d.ts +193 -193
- package/dist/cache/NodeStorage.d.ts.map +1 -1
- package/dist/cache/NodeStorage.mjs +424 -424
- package/dist/cache/NodeStorage.mjs.map +1 -1
- package/dist/cache/TokenCache.cjs +265 -265
- package/dist/cache/TokenCache.d.ts +90 -90
- package/dist/cache/TokenCache.mjs +265 -265
- package/dist/cache/distributed/DistributedCachePlugin.cjs +26 -26
- package/dist/cache/distributed/DistributedCachePlugin.d.ts +10 -10
- package/dist/cache/distributed/DistributedCachePlugin.mjs +26 -26
- package/dist/cache/distributed/ICacheClient.d.ts +17 -17
- package/dist/cache/distributed/IPartitionManager.d.ts +28 -28
- package/dist/cache/serializer/Deserializer.cjs +167 -170
- package/dist/cache/serializer/Deserializer.cjs.map +1 -1
- package/dist/cache/serializer/Deserializer.d.ts +42 -42
- package/dist/cache/serializer/Deserializer.d.ts.map +1 -1
- package/dist/cache/serializer/Deserializer.mjs +168 -171
- package/dist/cache/serializer/Deserializer.mjs.map +1 -1
- package/dist/cache/serializer/Serializer.cjs +137 -137
- package/dist/cache/serializer/Serializer.d.ts +39 -39
- package/dist/cache/serializer/Serializer.mjs +137 -137
- package/dist/cache/serializer/SerializerTypes.d.ts +102 -102
- package/dist/client/ClientApplication.cjs +335 -333
- package/dist/client/ClientApplication.cjs.map +1 -1
- package/dist/client/ClientApplication.d.ts +143 -142
- package/dist/client/ClientApplication.d.ts.map +1 -1
- package/dist/client/ClientApplication.mjs +336 -334
- package/dist/client/ClientApplication.mjs.map +1 -1
- package/dist/client/ClientAssertion.cjs +116 -116
- package/dist/client/ClientAssertion.d.ts +46 -46
- package/dist/client/ClientAssertion.mjs +116 -116
- package/dist/client/ClientCredentialClient.cjs +194 -194
- package/dist/client/ClientCredentialClient.cjs.map +1 -1
- package/dist/client/ClientCredentialClient.d.ts +33 -33
- package/dist/client/ClientCredentialClient.d.ts.map +1 -1
- package/dist/client/ClientCredentialClient.mjs +195 -195
- package/dist/client/ClientCredentialClient.mjs.map +1 -1
- package/dist/client/ConfidentialClientApplication.cjs +166 -163
- package/dist/client/ConfidentialClientApplication.cjs.map +1 -1
- package/dist/client/ConfidentialClientApplication.d.ts +58 -58
- package/dist/client/ConfidentialClientApplication.d.ts.map +1 -1
- package/dist/client/ConfidentialClientApplication.mjs +168 -165
- package/dist/client/ConfidentialClientApplication.mjs.map +1 -1
- package/dist/client/DeviceCodeClient.cjs +207 -207
- package/dist/client/DeviceCodeClient.d.ts +53 -53
- package/dist/client/DeviceCodeClient.mjs +207 -207
- package/dist/client/IConfidentialClientApplication.d.ts +39 -39
- package/dist/client/IPublicClientApplication.d.ts +42 -42
- package/dist/client/ManagedIdentityApplication.cjs +75 -80
- package/dist/client/ManagedIdentityApplication.cjs.map +1 -1
- package/dist/client/ManagedIdentityApplication.d.ts +23 -23
- package/dist/client/ManagedIdentityApplication.d.ts.map +1 -1
- package/dist/client/ManagedIdentityApplication.mjs +76 -81
- package/dist/client/ManagedIdentityApplication.mjs.map +1 -1
- package/dist/client/ManagedIdentityClient.cjs +40 -36
- package/dist/client/ManagedIdentityClient.cjs.map +1 -1
- package/dist/client/ManagedIdentityClient.d.ts +19 -24
- package/dist/client/ManagedIdentityClient.d.ts.map +1 -1
- package/dist/client/ManagedIdentityClient.mjs +40 -36
- package/dist/client/ManagedIdentityClient.mjs.map +1 -1
- package/dist/client/ManagedIdentitySources/AppService.cjs +42 -69
- package/dist/client/ManagedIdentitySources/AppService.cjs.map +1 -1
- package/dist/client/ManagedIdentitySources/AppService.d.ts +16 -16
- package/dist/client/ManagedIdentitySources/AppService.d.ts.map +1 -1
- package/dist/client/ManagedIdentitySources/AppService.mjs +43 -70
- package/dist/client/ManagedIdentitySources/AppService.mjs.map +1 -1
- package/dist/client/ManagedIdentitySources/AzureArc.cjs +81 -92
- package/dist/client/ManagedIdentitySources/AzureArc.cjs.map +1 -1
- package/dist/client/ManagedIdentitySources/AzureArc.d.ts +18 -18
- package/dist/client/ManagedIdentitySources/AzureArc.d.ts.map +1 -1
- package/dist/client/ManagedIdentitySources/AzureArc.mjs +84 -95
- package/dist/client/ManagedIdentitySources/AzureArc.mjs.map +1 -1
- package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.cjs +116 -77
- package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.cjs.map +1 -1
- package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.d.ts +30 -18
- package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.d.ts.map +1 -1
- package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.mjs +118 -80
- package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.mjs.map +1 -1
- package/dist/client/ManagedIdentitySources/CloudShell.cjs +47 -0
- package/dist/client/ManagedIdentitySources/CloudShell.cjs.map +1 -0
- package/dist/client/ManagedIdentitySources/CloudShell.d.ts +15 -6
- package/dist/client/ManagedIdentitySources/CloudShell.d.ts.map +1 -1
- package/dist/client/ManagedIdentitySources/CloudShell.mjs +45 -0
- package/dist/client/ManagedIdentitySources/CloudShell.mjs.map +1 -0
- package/dist/client/ManagedIdentitySources/Imds.cjs +43 -52
- package/dist/client/ManagedIdentitySources/Imds.cjs.map +1 -1
- package/dist/client/ManagedIdentitySources/Imds.d.ts +12 -12
- package/dist/client/ManagedIdentitySources/Imds.d.ts.map +1 -1
- package/dist/client/ManagedIdentitySources/Imds.mjs +44 -53
- package/dist/client/ManagedIdentitySources/Imds.mjs.map +1 -1
- package/dist/client/ManagedIdentitySources/ServiceFabric.cjs +61 -0
- package/dist/client/ManagedIdentitySources/ServiceFabric.cjs.map +1 -0
- package/dist/client/ManagedIdentitySources/ServiceFabric.d.ts +16 -6
- package/dist/client/ManagedIdentitySources/ServiceFabric.d.ts.map +1 -1
- package/dist/client/ManagedIdentitySources/ServiceFabric.mjs +59 -0
- package/dist/client/ManagedIdentitySources/ServiceFabric.mjs.map +1 -0
- package/dist/client/OnBehalfOfClient.cjs +202 -202
- package/dist/client/OnBehalfOfClient.cjs.map +1 -1
- package/dist/client/OnBehalfOfClient.d.ts +47 -47
- package/dist/client/OnBehalfOfClient.d.ts.map +1 -1
- package/dist/client/OnBehalfOfClient.mjs +203 -203
- package/dist/client/OnBehalfOfClient.mjs.map +1 -1
- package/dist/client/PublicClientApplication.cjs +229 -229
- package/dist/client/PublicClientApplication.d.ts +71 -71
- package/dist/client/PublicClientApplication.mjs +229 -229
- package/dist/client/UsernamePasswordClient.cjs +95 -95
- package/dist/client/UsernamePasswordClient.cjs.map +1 -1
- package/dist/client/UsernamePasswordClient.d.ts +25 -25
- package/dist/client/UsernamePasswordClient.d.ts.map +1 -1
- package/dist/client/UsernamePasswordClient.mjs +96 -96
- package/dist/client/UsernamePasswordClient.mjs.map +1 -1
- package/dist/config/Configuration.cjs +102 -86
- package/dist/config/Configuration.cjs.map +1 -1
- package/dist/config/Configuration.d.ts +126 -122
- package/dist/config/Configuration.d.ts.map +1 -1
- package/dist/config/Configuration.mjs +102 -86
- package/dist/config/Configuration.mjs.map +1 -1
- package/dist/config/ManagedIdentityId.cjs +48 -48
- package/dist/config/ManagedIdentityId.d.ts +11 -11
- package/dist/config/ManagedIdentityId.mjs +48 -48
- package/dist/config/ManagedIdentityRequestParameters.cjs +28 -29
- package/dist/config/ManagedIdentityRequestParameters.cjs.map +1 -1
- package/dist/config/ManagedIdentityRequestParameters.d.ts +11 -11
- package/dist/config/ManagedIdentityRequestParameters.d.ts.map +1 -1
- package/dist/config/ManagedIdentityRequestParameters.mjs +28 -29
- package/dist/config/ManagedIdentityRequestParameters.mjs.map +1 -1
- package/dist/crypto/CryptoProvider.cjs +75 -75
- package/dist/crypto/CryptoProvider.d.ts +52 -52
- package/dist/crypto/CryptoProvider.mjs +75 -75
- package/dist/crypto/GuidGenerator.cjs +22 -22
- package/dist/crypto/GuidGenerator.d.ts +14 -14
- package/dist/crypto/GuidGenerator.mjs +22 -22
- package/dist/crypto/HashUtils.cjs +13 -13
- package/dist/crypto/HashUtils.d.ts +8 -8
- package/dist/crypto/HashUtils.mjs +13 -13
- package/dist/crypto/PkceGenerator.cjs +49 -49
- package/dist/crypto/PkceGenerator.d.ts +22 -22
- package/dist/crypto/PkceGenerator.mjs +49 -49
- package/dist/error/ManagedIdentityError.cjs +38 -28
- package/dist/error/ManagedIdentityError.cjs.map +1 -1
- package/dist/error/ManagedIdentityError.d.ts +26 -21
- package/dist/error/ManagedIdentityError.d.ts.map +1 -1
- package/dist/error/ManagedIdentityError.mjs +39 -29
- package/dist/error/ManagedIdentityError.mjs.map +1 -1
- package/dist/error/ManagedIdentityErrorCodes.cjs +26 -15
- package/dist/error/ManagedIdentityErrorCodes.cjs.map +1 -1
- package/dist/error/ManagedIdentityErrorCodes.d.ts +18 -9
- package/dist/error/ManagedIdentityErrorCodes.d.ts.map +1 -1
- package/dist/error/ManagedIdentityErrorCodes.mjs +23 -14
- package/dist/error/ManagedIdentityErrorCodes.mjs.map +1 -1
- package/dist/error/NodeAuthError.cjs +85 -85
- package/dist/error/NodeAuthError.d.ts +65 -65
- package/dist/error/NodeAuthError.mjs +85 -85
- package/dist/index.cjs +21 -21
- package/dist/index.d.ts +44 -44
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/internals.cjs +8 -8
- package/dist/internals.d.ts +6 -6
- package/dist/internals.mjs +8 -8
- package/dist/network/HttpClient.cjs +281 -283
- package/dist/network/HttpClient.cjs.map +1 -1
- package/dist/network/HttpClient.d.ts +25 -26
- package/dist/network/HttpClient.d.ts.map +1 -1
- package/dist/network/HttpClient.mjs +281 -283
- package/dist/network/HttpClient.mjs.map +1 -1
- package/dist/network/HttpClientWithRetries.cjs +44 -0
- package/dist/network/HttpClientWithRetries.cjs.map +1 -0
- package/dist/network/HttpClientWithRetries.d.ts +12 -0
- package/dist/network/HttpClientWithRetries.d.ts.map +1 -0
- package/dist/network/HttpClientWithRetries.mjs +42 -0
- package/dist/network/HttpClientWithRetries.mjs.map +1 -0
- package/dist/network/ILoopbackClient.d.ts +10 -10
- package/dist/network/LoopbackClient.cjs +77 -77
- package/dist/network/LoopbackClient.d.ts +21 -21
- package/dist/network/LoopbackClient.mjs +77 -77
- package/dist/packageMetadata.cjs +4 -4
- package/dist/packageMetadata.d.ts +2 -2
- package/dist/packageMetadata.mjs +4 -4
- package/dist/request/AuthorizationCodeRequest.d.ts +21 -21
- package/dist/request/AuthorizationUrlRequest.d.ts +33 -33
- package/dist/request/ClientCredentialRequest.d.ts +14 -14
- package/dist/request/ClientCredentialRequest.d.ts.map +1 -1
- package/dist/request/DeviceCodeRequest.d.ts +15 -15
- package/dist/request/InteractiveRequest.d.ts +22 -22
- package/dist/request/ManagedIdentityRequest.d.ts +8 -8
- package/dist/request/ManagedIdentityRequestParams.d.ts +9 -9
- package/dist/request/OnBehalfOfRequest.d.ts +14 -14
- package/dist/request/RefreshTokenRequest.d.ts +17 -17
- package/dist/request/SignOutRequest.d.ts +5 -5
- package/dist/request/SilentFlowRequest.d.ts +16 -16
- package/dist/request/UsernamePasswordRequest.d.ts +19 -19
- package/dist/response/ManagedIdentityTokenResponse.d.ts +24 -24
- package/dist/retry/IHttpRetryPolicy.d.ts +6 -0
- package/dist/retry/IHttpRetryPolicy.d.ts.map +1 -0
- package/dist/retry/LinearRetryPolicy.cjs +47 -0
- package/dist/retry/LinearRetryPolicy.cjs.map +1 -0
- package/dist/retry/LinearRetryPolicy.d.ts +12 -0
- package/dist/retry/LinearRetryPolicy.d.ts.map +1 -0
- package/dist/retry/LinearRetryPolicy.mjs +45 -0
- package/dist/retry/LinearRetryPolicy.mjs.map +1 -0
- package/dist/utils/Constants.cjs +142 -103
- package/dist/utils/Constants.cjs.map +1 -1
- package/dist/utils/Constants.d.ts +132 -106
- package/dist/utils/Constants.d.ts.map +1 -1
- package/dist/utils/Constants.mjs +134 -100
- package/dist/utils/Constants.mjs.map +1 -1
- package/dist/utils/EncodingUtils.cjs +44 -44
- package/dist/utils/EncodingUtils.d.ts +26 -26
- package/dist/utils/EncodingUtils.mjs +44 -44
- package/dist/utils/NetworkUtils.cjs +38 -38
- package/dist/utils/NetworkUtils.d.ts +5 -5
- package/dist/utils/NetworkUtils.mjs +38 -38
- package/package.json +5 -5
- package/src/cache/NodeStorage.ts +4 -9
- package/src/cache/serializer/Deserializer.ts +1 -5
- package/src/client/ClientApplication.ts +24 -10
- package/src/client/ClientCredentialClient.ts +14 -6
- package/src/client/ConfidentialClientApplication.ts +10 -5
- package/src/client/ManagedIdentityApplication.ts +8 -16
- package/src/client/ManagedIdentityClient.ts +23 -11
- package/src/client/ManagedIdentitySources/AppService.ts +68 -97
- package/src/client/ManagedIdentitySources/AzureArc.ts +59 -68
- package/src/client/ManagedIdentitySources/BaseManagedIdentitySource.ts +82 -11
- package/src/client/ManagedIdentitySources/CloudShell.ts +93 -8
- package/src/client/ManagedIdentitySources/Imds.ts +54 -40
- package/src/client/ManagedIdentitySources/ServiceFabric.ts +126 -5
- package/src/client/OnBehalfOfClient.ts +18 -7
- package/src/client/UsernamePasswordClient.ts +16 -7
- package/src/config/Configuration.ts +50 -18
- package/src/config/ManagedIdentityRequestParameters.ts +1 -6
- package/src/error/ManagedIdentityError.ts +15 -4
- package/src/error/ManagedIdentityErrorCodes.ts +19 -1
- package/src/index.ts +1 -0
- package/src/network/HttpClient.ts +27 -39
- package/src/network/HttpClientWithRetries.ts +80 -0
- package/src/packageMetadata.ts +1 -1
- package/src/request/ClientCredentialRequest.ts +6 -3
- package/src/retry/IHttpRetryPolicy.ts +18 -0
- package/src/retry/LinearRetryPolicy.ts +71 -0
- package/src/utils/Constants.ts +47 -10
|
@@ -1,96 +1,112 @@
|
|
|
1
|
-
/*! @azure/msal-node v2.7.
|
|
1
|
+
/*! @azure/msal-node v2.7.1-alpha.0 2024-05-01 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
5
|
var msalCommon = require('@azure/msal-common');
|
|
6
6
|
var HttpClient = require('../network/HttpClient.cjs');
|
|
7
7
|
var ManagedIdentityId = require('./ManagedIdentityId.cjs');
|
|
8
|
+
var Constants = require('../utils/Constants.cjs');
|
|
9
|
+
var LinearRetryPolicy = require('../retry/LinearRetryPolicy.cjs');
|
|
10
|
+
var HttpClientWithRetries = require('../network/HttpClientWithRetries.cjs');
|
|
8
11
|
|
|
9
|
-
/*
|
|
10
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
11
|
-
* Licensed under the MIT License.
|
|
12
|
-
*/
|
|
13
|
-
const DEFAULT_AUTH_OPTIONS = {
|
|
14
|
-
clientId: msalCommon.Constants.EMPTY_STRING,
|
|
15
|
-
authority: msalCommon.Constants.DEFAULT_AUTHORITY,
|
|
16
|
-
clientSecret: msalCommon.Constants.EMPTY_STRING,
|
|
17
|
-
clientAssertion: msalCommon.Constants.EMPTY_STRING,
|
|
18
|
-
clientCertificate: {
|
|
19
|
-
thumbprint: msalCommon.Constants.EMPTY_STRING,
|
|
20
|
-
privateKey: msalCommon.Constants.EMPTY_STRING,
|
|
21
|
-
x5c: msalCommon.Constants.EMPTY_STRING,
|
|
22
|
-
},
|
|
23
|
-
knownAuthorities: [],
|
|
24
|
-
cloudDiscoveryMetadata: msalCommon.Constants.EMPTY_STRING,
|
|
25
|
-
authorityMetadata: msalCommon.Constants.EMPTY_STRING,
|
|
26
|
-
clientCapabilities: [],
|
|
27
|
-
protocolMode: msalCommon.ProtocolMode.AAD,
|
|
28
|
-
azureCloudOptions: {
|
|
29
|
-
azureCloudInstance: msalCommon.AzureCloudInstance.None,
|
|
30
|
-
tenant: msalCommon.Constants.EMPTY_STRING,
|
|
31
|
-
},
|
|
32
|
-
skipAuthorityMetadataCache: false,
|
|
33
|
-
};
|
|
34
|
-
const DEFAULT_CACHE_OPTIONS = {
|
|
35
|
-
claimsBasedCachingEnabled: false,
|
|
36
|
-
};
|
|
37
|
-
const DEFAULT_LOGGER_OPTIONS = {
|
|
38
|
-
loggerCallback: () => {
|
|
39
|
-
// allow users to not set logger call back
|
|
40
|
-
},
|
|
41
|
-
piiLoggingEnabled: false,
|
|
42
|
-
logLevel: msalCommon.LogLevel.Info,
|
|
43
|
-
};
|
|
44
|
-
const DEFAULT_SYSTEM_OPTIONS = {
|
|
45
|
-
loggerOptions: DEFAULT_LOGGER_OPTIONS,
|
|
46
|
-
networkClient: new HttpClient.HttpClient(),
|
|
47
|
-
proxyUrl: msalCommon.Constants.EMPTY_STRING,
|
|
48
|
-
customAgentOptions: {},
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
* @param
|
|
61
|
-
* @param
|
|
62
|
-
* @param
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
* @
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
),
|
|
72
|
-
loggerOptions: system?.loggerOptions || DEFAULT_LOGGER_OPTIONS,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
const
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
12
|
+
/*
|
|
13
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
14
|
+
* Licensed under the MIT License.
|
|
15
|
+
*/
|
|
16
|
+
const DEFAULT_AUTH_OPTIONS = {
|
|
17
|
+
clientId: msalCommon.Constants.EMPTY_STRING,
|
|
18
|
+
authority: msalCommon.Constants.DEFAULT_AUTHORITY,
|
|
19
|
+
clientSecret: msalCommon.Constants.EMPTY_STRING,
|
|
20
|
+
clientAssertion: msalCommon.Constants.EMPTY_STRING,
|
|
21
|
+
clientCertificate: {
|
|
22
|
+
thumbprint: msalCommon.Constants.EMPTY_STRING,
|
|
23
|
+
privateKey: msalCommon.Constants.EMPTY_STRING,
|
|
24
|
+
x5c: msalCommon.Constants.EMPTY_STRING,
|
|
25
|
+
},
|
|
26
|
+
knownAuthorities: [],
|
|
27
|
+
cloudDiscoveryMetadata: msalCommon.Constants.EMPTY_STRING,
|
|
28
|
+
authorityMetadata: msalCommon.Constants.EMPTY_STRING,
|
|
29
|
+
clientCapabilities: [],
|
|
30
|
+
protocolMode: msalCommon.ProtocolMode.AAD,
|
|
31
|
+
azureCloudOptions: {
|
|
32
|
+
azureCloudInstance: msalCommon.AzureCloudInstance.None,
|
|
33
|
+
tenant: msalCommon.Constants.EMPTY_STRING,
|
|
34
|
+
},
|
|
35
|
+
skipAuthorityMetadataCache: false,
|
|
36
|
+
};
|
|
37
|
+
const DEFAULT_CACHE_OPTIONS = {
|
|
38
|
+
claimsBasedCachingEnabled: false,
|
|
39
|
+
};
|
|
40
|
+
const DEFAULT_LOGGER_OPTIONS = {
|
|
41
|
+
loggerCallback: () => {
|
|
42
|
+
// allow users to not set logger call back
|
|
43
|
+
},
|
|
44
|
+
piiLoggingEnabled: false,
|
|
45
|
+
logLevel: msalCommon.LogLevel.Info,
|
|
46
|
+
};
|
|
47
|
+
const DEFAULT_SYSTEM_OPTIONS = {
|
|
48
|
+
loggerOptions: DEFAULT_LOGGER_OPTIONS,
|
|
49
|
+
networkClient: new HttpClient.HttpClient(),
|
|
50
|
+
proxyUrl: msalCommon.Constants.EMPTY_STRING,
|
|
51
|
+
customAgentOptions: {},
|
|
52
|
+
disableInternalRetries: false,
|
|
53
|
+
};
|
|
54
|
+
const DEFAULT_TELEMETRY_OPTIONS = {
|
|
55
|
+
application: {
|
|
56
|
+
appName: msalCommon.Constants.EMPTY_STRING,
|
|
57
|
+
appVersion: msalCommon.Constants.EMPTY_STRING,
|
|
58
|
+
},
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Sets the default options when not explicitly configured from app developer
|
|
62
|
+
*
|
|
63
|
+
* @param auth - Authentication options
|
|
64
|
+
* @param cache - Cache options
|
|
65
|
+
* @param system - System options
|
|
66
|
+
* @param telemetry - Telemetry options
|
|
67
|
+
*
|
|
68
|
+
* @returns Configuration
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
function buildAppConfiguration({ auth, broker, cache, system, telemetry, }) {
|
|
72
|
+
const systemOptions = {
|
|
73
|
+
...DEFAULT_SYSTEM_OPTIONS,
|
|
74
|
+
networkClient: new HttpClient.HttpClient(system?.proxyUrl, system?.customAgentOptions),
|
|
75
|
+
loggerOptions: system?.loggerOptions || DEFAULT_LOGGER_OPTIONS,
|
|
76
|
+
disableInternalRetries: system?.disableInternalRetries || false,
|
|
77
|
+
};
|
|
78
|
+
return {
|
|
79
|
+
auth: { ...DEFAULT_AUTH_OPTIONS, ...auth },
|
|
80
|
+
broker: { ...broker },
|
|
81
|
+
cache: { ...DEFAULT_CACHE_OPTIONS, ...cache },
|
|
82
|
+
system: { ...systemOptions, ...system },
|
|
83
|
+
telemetry: { ...DEFAULT_TELEMETRY_OPTIONS, ...telemetry },
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
function buildManagedIdentityConfiguration({ managedIdentityIdParams, system, }) {
|
|
87
|
+
const managedIdentityId = new ManagedIdentityId.ManagedIdentityId(managedIdentityIdParams);
|
|
88
|
+
const loggerOptions = system?.loggerOptions || DEFAULT_LOGGER_OPTIONS;
|
|
89
|
+
let networkClient;
|
|
90
|
+
// use developer provided network client if passed in
|
|
91
|
+
if (system?.networkClient) {
|
|
92
|
+
networkClient = system.networkClient;
|
|
93
|
+
// otherwise, create a new one
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
networkClient = new HttpClient.HttpClient(system?.proxyUrl, system?.customAgentOptions);
|
|
97
|
+
}
|
|
98
|
+
// wrap the network client with a retry policy if the developer has not disabled the option to do so
|
|
99
|
+
if (!system?.disableInternalRetries) {
|
|
100
|
+
const linearRetryPolicy = new LinearRetryPolicy.LinearRetryPolicy(Constants.MANAGED_IDENTITY_MAX_RETRIES, Constants.MANAGED_IDENTITY_RETRY_DELAY, Constants.MANAGED_IDENTITY_HTTP_STATUS_CODES_TO_RETRY_ON);
|
|
101
|
+
networkClient = new HttpClientWithRetries.HttpClientWithRetries(networkClient, linearRetryPolicy);
|
|
102
|
+
}
|
|
103
|
+
return {
|
|
104
|
+
managedIdentityId: managedIdentityId,
|
|
105
|
+
system: {
|
|
106
|
+
loggerOptions,
|
|
107
|
+
networkClient,
|
|
108
|
+
},
|
|
109
|
+
};
|
|
94
110
|
}
|
|
95
111
|
|
|
96
112
|
exports.buildAppConfiguration = buildAppConfiguration;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Configuration.cjs","sources":["../../src/config/Configuration.ts"],"sourcesContent":[null],"names":["Constants","ProtocolMode","AzureCloudInstance","LogLevel","HttpClient","ManagedIdentityId"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Configuration.cjs","sources":["../../src/config/Configuration.ts"],"sourcesContent":[null],"names":["Constants","ProtocolMode","AzureCloudInstance","LogLevel","HttpClient","ManagedIdentityId","LinearRetryPolicy","MANAGED_IDENTITY_MAX_RETRIES","MANAGED_IDENTITY_RETRY_DELAY","MANAGED_IDENTITY_HTTP_STATUS_CODES_TO_RETRY_ON","HttpClientWithRetries"],"mappings":";;;;;;;;;;;AAAA;;;AAGG;AAkIH,MAAM,oBAAoB,GAA8B;IACpD,QAAQ,EAAEA,oBAAS,CAAC,YAAY;IAChC,SAAS,EAAEA,oBAAS,CAAC,iBAAiB;IACtC,YAAY,EAA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9DC,sCAA4B,EAC5BC,sCAA4B,EAC5BC,wDAA8C,CACjD,CAAC;QACF,aAAa,GAAG,IAAIC,2CAAqB,CACrC,aAAa,EACb,iBAAiB,CACpB,CAAC;AACL,KAAA;IAED,OAAO;AACH,QAAA,iBAAiB,EAAE,iBAAiB;AACpC,QAAA,MAAM,EAAE;YACJ,aAAa;YACb,aAAa;AAChB,SAAA;KACJ,CAAC;AACN;;;;;"}
|
|
@@ -1,123 +1,127 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
/// <reference types="node" />
|
|
3
|
-
import { LoggerOptions, INetworkModule, ProtocolMode, ICachePlugin, AzureCloudOptions, ApplicationTelemetry, INativeBrokerPlugin } from "@azure/msal-common";
|
|
4
|
-
import http from "http";
|
|
5
|
-
import https from "https";
|
|
6
|
-
import { ManagedIdentityId } from "./ManagedIdentityId.js";
|
|
7
|
-
/**
|
|
8
|
-
* - clientId - Client id of the application.
|
|
9
|
-
* - authority - Url of the authority. If no value is set, defaults to https://login.microsoftonline.com/common.
|
|
10
|
-
* - knownAuthorities - Needed for Azure B2C and ADFS. All authorities that will be used in the client application. Only the host of the authority should be passed in.
|
|
11
|
-
* - clientSecret - Secret string that the application uses when requesting a token. Only used in confidential client applications. Can be created in the Azure app registration portal.
|
|
12
|
-
* - clientAssertion -
|
|
13
|
-
* - clientCertificate - Certificate that the application uses when requesting a token. Only used in confidential client applications. Requires hex encoded X.509 SHA-1 thumbprint of the certificiate, and the PEM encoded private key (string should contain -----BEGIN PRIVATE KEY----- ... -----END PRIVATE KEY----- )
|
|
14
|
-
* - protocolMode - Enum that represents the protocol that msal follows. Used for configuring proper endpoints.
|
|
15
|
-
* - skipAuthorityMetadataCache - A flag to choose whether to use or not use the local metadata cache during authority initialization. Defaults to false.
|
|
16
|
-
* @public
|
|
17
|
-
*/
|
|
18
|
-
export type NodeAuthOptions = {
|
|
19
|
-
clientId: string;
|
|
20
|
-
authority?: string;
|
|
21
|
-
clientSecret?: string;
|
|
22
|
-
clientAssertion?: string;
|
|
23
|
-
clientCertificate?: {
|
|
24
|
-
thumbprint: string;
|
|
25
|
-
privateKey: string;
|
|
26
|
-
x5c?: string;
|
|
27
|
-
};
|
|
28
|
-
knownAuthorities?: Array<string>;
|
|
29
|
-
cloudDiscoveryMetadata?: string;
|
|
30
|
-
authorityMetadata?: string;
|
|
31
|
-
clientCapabilities?: Array<string>;
|
|
32
|
-
protocolMode?: ProtocolMode;
|
|
33
|
-
azureCloudOptions?: AzureCloudOptions;
|
|
34
|
-
skipAuthorityMetadataCache?: boolean;
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* Use this to configure the below cache configuration options:
|
|
38
|
-
*
|
|
39
|
-
* - cachePlugin - Plugin for reading and writing token cache to disk.
|
|
40
|
-
* @public
|
|
41
|
-
*/
|
|
42
|
-
export type CacheOptions = {
|
|
43
|
-
cachePlugin?: ICachePlugin;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
* -
|
|
80
|
-
*
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
* @
|
|
115
|
-
* @
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
};
|
|
122
|
-
export
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/// <reference types="node" />
|
|
3
|
+
import { LoggerOptions, INetworkModule, ProtocolMode, ICachePlugin, AzureCloudOptions, ApplicationTelemetry, INativeBrokerPlugin, ClientAssertionCallback } from "@azure/msal-common";
|
|
4
|
+
import http from "http";
|
|
5
|
+
import https from "https";
|
|
6
|
+
import { ManagedIdentityId } from "./ManagedIdentityId.js";
|
|
7
|
+
/**
|
|
8
|
+
* - clientId - Client id of the application.
|
|
9
|
+
* - authority - Url of the authority. If no value is set, defaults to https://login.microsoftonline.com/common.
|
|
10
|
+
* - knownAuthorities - Needed for Azure B2C and ADFS. All authorities that will be used in the client application. Only the host of the authority should be passed in.
|
|
11
|
+
* - clientSecret - Secret string that the application uses when requesting a token. Only used in confidential client applications. Can be created in the Azure app registration portal.
|
|
12
|
+
* - clientAssertion - A ClientAssertion object containing an assertion string or a callback function that returns an assertion string that the application uses when requesting a token, as well as the assertion's type (urn:ietf:params:oauth:client-assertion-type:jwt-bearer). Only used in confidential client applications.
|
|
13
|
+
* - clientCertificate - Certificate that the application uses when requesting a token. Only used in confidential client applications. Requires hex encoded X.509 SHA-1 thumbprint of the certificiate, and the PEM encoded private key (string should contain -----BEGIN PRIVATE KEY----- ... -----END PRIVATE KEY----- )
|
|
14
|
+
* - protocolMode - Enum that represents the protocol that msal follows. Used for configuring proper endpoints.
|
|
15
|
+
* - skipAuthorityMetadataCache - A flag to choose whether to use or not use the local metadata cache during authority initialization. Defaults to false.
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
export type NodeAuthOptions = {
|
|
19
|
+
clientId: string;
|
|
20
|
+
authority?: string;
|
|
21
|
+
clientSecret?: string;
|
|
22
|
+
clientAssertion?: string | ClientAssertionCallback;
|
|
23
|
+
clientCertificate?: {
|
|
24
|
+
thumbprint: string;
|
|
25
|
+
privateKey: string;
|
|
26
|
+
x5c?: string;
|
|
27
|
+
};
|
|
28
|
+
knownAuthorities?: Array<string>;
|
|
29
|
+
cloudDiscoveryMetadata?: string;
|
|
30
|
+
authorityMetadata?: string;
|
|
31
|
+
clientCapabilities?: Array<string>;
|
|
32
|
+
protocolMode?: ProtocolMode;
|
|
33
|
+
azureCloudOptions?: AzureCloudOptions;
|
|
34
|
+
skipAuthorityMetadataCache?: boolean;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Use this to configure the below cache configuration options:
|
|
38
|
+
*
|
|
39
|
+
* - cachePlugin - Plugin for reading and writing token cache to disk.
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
export type CacheOptions = {
|
|
43
|
+
cachePlugin?: ICachePlugin;
|
|
44
|
+
/**
|
|
45
|
+
* @deprecated claims-based-caching functionality will be removed in the next version of MSALJS
|
|
46
|
+
*/
|
|
47
|
+
claimsBasedCachingEnabled?: boolean;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Use this to configure the below broker options:
|
|
51
|
+
* - nativeBrokerPlugin - Native broker implementation (should be imported from msal-node-extensions)
|
|
52
|
+
*
|
|
53
|
+
* Note: These options are only available for PublicClientApplications using the Authorization Code Flow
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
export type BrokerOptions = {
|
|
57
|
+
nativeBrokerPlugin?: INativeBrokerPlugin;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Type for configuring logger and http client options
|
|
61
|
+
*
|
|
62
|
+
* - logger - Used to initialize the Logger object; TODO: Expand on logger details or link to the documentation on logger
|
|
63
|
+
* - networkClient - Http client used for all http get and post calls. Defaults to using MSAL's default http client.
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export type NodeSystemOptions = {
|
|
67
|
+
loggerOptions?: LoggerOptions;
|
|
68
|
+
networkClient?: INetworkModule;
|
|
69
|
+
proxyUrl?: string;
|
|
70
|
+
customAgentOptions?: http.AgentOptions | https.AgentOptions;
|
|
71
|
+
disableInternalRetries?: boolean;
|
|
72
|
+
};
|
|
73
|
+
export type NodeTelemetryOptions = {
|
|
74
|
+
application?: ApplicationTelemetry;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Use the configuration object to configure MSAL and initialize the client application object
|
|
78
|
+
*
|
|
79
|
+
* - auth: this is where you configure auth elements like clientID, authority used for authenticating against the Microsoft Identity Platform
|
|
80
|
+
* - broker: this is where you configure broker options
|
|
81
|
+
* - cache: this is where you configure cache location
|
|
82
|
+
* - system: this is where you can configure the network client, logger
|
|
83
|
+
* - telemetry: this is where you can configure telemetry options
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export type Configuration = {
|
|
87
|
+
auth: NodeAuthOptions;
|
|
88
|
+
broker?: BrokerOptions;
|
|
89
|
+
cache?: CacheOptions;
|
|
90
|
+
system?: NodeSystemOptions;
|
|
91
|
+
telemetry?: NodeTelemetryOptions;
|
|
92
|
+
};
|
|
93
|
+
export type ManagedIdentityIdParams = {
|
|
94
|
+
userAssignedClientId?: string;
|
|
95
|
+
userAssignedResourceId?: string;
|
|
96
|
+
userAssignedObjectId?: string;
|
|
97
|
+
};
|
|
98
|
+
export type ManagedIdentityConfiguration = {
|
|
99
|
+
managedIdentityIdParams?: ManagedIdentityIdParams;
|
|
100
|
+
system?: NodeSystemOptions;
|
|
101
|
+
};
|
|
102
|
+
/** @internal */
|
|
103
|
+
export type NodeConfiguration = {
|
|
104
|
+
auth: Required<NodeAuthOptions>;
|
|
105
|
+
broker: BrokerOptions;
|
|
106
|
+
cache: CacheOptions;
|
|
107
|
+
system: Required<NodeSystemOptions>;
|
|
108
|
+
telemetry: Required<NodeTelemetryOptions>;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Sets the default options when not explicitly configured from app developer
|
|
112
|
+
*
|
|
113
|
+
* @param auth - Authentication options
|
|
114
|
+
* @param cache - Cache options
|
|
115
|
+
* @param system - System options
|
|
116
|
+
* @param telemetry - Telemetry options
|
|
117
|
+
*
|
|
118
|
+
* @returns Configuration
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
121
|
+
export declare function buildAppConfiguration({ auth, broker, cache, system, telemetry, }: Configuration): NodeConfiguration;
|
|
122
|
+
export type ManagedIdentityNodeConfiguration = {
|
|
123
|
+
managedIdentityId: ManagedIdentityId;
|
|
124
|
+
system: Required<Pick<NodeSystemOptions, "loggerOptions" | "networkClient">>;
|
|
125
|
+
};
|
|
126
|
+
export declare function buildManagedIdentityConfiguration({ managedIdentityIdParams, system, }: ManagedIdentityConfiguration): ManagedIdentityNodeConfiguration;
|
|
123
127
|
//# sourceMappingURL=Configuration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Configuration.d.ts","sourceRoot":"","sources":["../../src/config/Configuration.ts"],"names":[],"mappings":";;AAKA,OAAO,EACH,aAAa,EACb,cAAc,EAEd,YAAY,EACZ,YAAY,EAGZ,iBAAiB,EACjB,oBAAoB,EACpB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"Configuration.d.ts","sourceRoot":"","sources":["../../src/config/Configuration.ts"],"names":[],"mappings":";;AAKA,OAAO,EACH,aAAa,EACb,cAAc,EAEd,YAAY,EACZ,YAAY,EAGZ,iBAAiB,EACjB,oBAAoB,EACpB,mBAAmB,EACnB,uBAAuB,EAC1B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,iBA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