@azure/msal-node 3.8.4 → 5.0.0-beta.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.
Files changed (313) hide show
  1. package/README.md +2 -1
  2. package/dist/cache/CacheHelpers.d.ts.map +1 -1
  3. package/dist/cache/CacheHelpers.mjs +4 -5
  4. package/dist/cache/CacheHelpers.mjs.map +1 -1
  5. package/dist/cache/NodeStorage.d.ts.map +1 -1
  6. package/dist/cache/NodeStorage.mjs +17 -18
  7. package/dist/cache/NodeStorage.mjs.map +1 -1
  8. package/dist/cache/TokenCache.d.ts.map +1 -1
  9. package/dist/cache/TokenCache.mjs +15 -15
  10. package/dist/cache/TokenCache.mjs.map +1 -1
  11. package/dist/cache/distributed/DistributedCachePlugin.d.ts.map +1 -1
  12. package/dist/cache/distributed/DistributedCachePlugin.mjs +3 -3
  13. package/dist/cache/distributed/DistributedCachePlugin.mjs.map +1 -1
  14. package/dist/cache/serializer/Deserializer.d.ts.map +1 -1
  15. package/dist/cache/serializer/Deserializer.mjs +3 -5
  16. package/dist/cache/serializer/Deserializer.mjs.map +1 -1
  17. package/dist/cache/serializer/Serializer.d.ts.map +1 -1
  18. package/dist/cache/serializer/Serializer.mjs +1 -3
  19. package/dist/cache/serializer/Serializer.mjs.map +1 -1
  20. package/dist/cache/serializer/SerializerTypes.d.ts +0 -2
  21. package/dist/cache/serializer/SerializerTypes.d.ts.map +1 -1
  22. package/dist/client/BaseClient.d.ts +42 -0
  23. package/dist/client/BaseClient.d.ts.map +1 -0
  24. package/dist/client/BaseClient.mjs +68 -0
  25. package/dist/client/BaseClient.mjs.map +1 -0
  26. package/dist/client/ClientApplication.d.ts.map +1 -1
  27. package/dist/client/ClientApplication.mjs +33 -43
  28. package/dist/client/ClientApplication.mjs.map +1 -1
  29. package/dist/client/ClientAssertion.d.ts.map +1 -1
  30. package/dist/client/ClientAssertion.mjs +6 -5
  31. package/dist/client/ClientAssertion.mjs.map +1 -1
  32. package/dist/client/ClientCredentialClient.d.ts +4 -2
  33. package/dist/client/ClientCredentialClient.d.ts.map +1 -1
  34. package/dist/client/ClientCredentialClient.mjs +23 -21
  35. package/dist/client/ClientCredentialClient.mjs.map +1 -1
  36. package/dist/client/ConfidentialClientApplication.d.ts.map +1 -1
  37. package/dist/client/ConfidentialClientApplication.mjs +10 -9
  38. package/dist/client/ConfidentialClientApplication.mjs.map +1 -1
  39. package/dist/client/DeviceCodeClient.d.ts +3 -1
  40. package/dist/client/DeviceCodeClient.d.ts.map +1 -1
  41. package/dist/client/DeviceCodeClient.mjs +21 -19
  42. package/dist/client/DeviceCodeClient.mjs.map +1 -1
  43. package/dist/client/ManagedIdentityApplication.d.ts.map +1 -1
  44. package/dist/client/ManagedIdentityApplication.mjs +7 -6
  45. package/dist/client/ManagedIdentityApplication.mjs.map +1 -1
  46. package/dist/client/ManagedIdentityClient.mjs +1 -1
  47. package/dist/client/ManagedIdentitySources/AppService.d.ts.map +1 -1
  48. package/dist/client/ManagedIdentitySources/AppService.mjs +3 -3
  49. package/dist/client/ManagedIdentitySources/AppService.mjs.map +1 -1
  50. package/dist/client/ManagedIdentitySources/AzureArc.d.ts.map +1 -1
  51. package/dist/client/ManagedIdentitySources/AzureArc.mjs +8 -8
  52. package/dist/client/ManagedIdentitySources/AzureArc.mjs.map +1 -1
  53. package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.d.ts.map +1 -1
  54. package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.mjs +12 -11
  55. package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.mjs.map +1 -1
  56. package/dist/client/ManagedIdentitySources/CloudShell.d.ts.map +1 -1
  57. package/dist/client/ManagedIdentitySources/CloudShell.mjs +3 -3
  58. package/dist/client/ManagedIdentitySources/CloudShell.mjs.map +1 -1
  59. package/dist/client/ManagedIdentitySources/Imds.d.ts.map +1 -1
  60. package/dist/client/ManagedIdentitySources/Imds.mjs +3 -3
  61. package/dist/client/ManagedIdentitySources/Imds.mjs.map +1 -1
  62. package/dist/client/ManagedIdentitySources/MachineLearning.d.ts.map +1 -1
  63. package/dist/client/ManagedIdentitySources/MachineLearning.mjs +3 -3
  64. package/dist/client/ManagedIdentitySources/MachineLearning.mjs.map +1 -1
  65. package/dist/client/ManagedIdentitySources/ServiceFabric.d.ts.map +1 -1
  66. package/dist/client/ManagedIdentitySources/ServiceFabric.mjs +4 -4
  67. package/dist/client/ManagedIdentitySources/ServiceFabric.mjs.map +1 -1
  68. package/dist/client/OnBehalfOfClient.d.ts +3 -1
  69. package/dist/client/OnBehalfOfClient.d.ts.map +1 -1
  70. package/dist/client/OnBehalfOfClient.mjs +19 -18
  71. package/dist/client/OnBehalfOfClient.mjs.map +1 -1
  72. package/dist/client/PublicClientApplication.d.ts.map +1 -1
  73. package/dist/client/PublicClientApplication.mjs +15 -14
  74. package/dist/client/PublicClientApplication.mjs.map +1 -1
  75. package/dist/client/UsernamePasswordClient.d.ts +3 -1
  76. package/dist/client/UsernamePasswordClient.d.ts.map +1 -1
  77. package/dist/client/UsernamePasswordClient.mjs +8 -7
  78. package/dist/client/UsernamePasswordClient.mjs.map +1 -1
  79. package/dist/config/Configuration.d.ts +2 -19
  80. package/dist/config/Configuration.d.ts.map +1 -1
  81. package/dist/config/Configuration.mjs +18 -25
  82. package/dist/config/Configuration.mjs.map +1 -1
  83. package/dist/config/ManagedIdentityId.mjs +1 -1
  84. package/dist/config/ManagedIdentityRequestParameters.mjs +3 -3
  85. package/dist/config/ManagedIdentityRequestParameters.mjs.map +1 -1
  86. package/dist/crypto/CryptoProvider.d.ts.map +1 -1
  87. package/dist/crypto/CryptoProvider.mjs +5 -3
  88. package/dist/crypto/CryptoProvider.mjs.map +1 -1
  89. package/dist/crypto/GuidGenerator.mjs +1 -1
  90. package/dist/crypto/HashUtils.mjs +1 -1
  91. package/dist/crypto/PkceGenerator.d.ts.map +1 -1
  92. package/dist/crypto/PkceGenerator.mjs +6 -4
  93. package/dist/crypto/PkceGenerator.mjs.map +1 -1
  94. package/dist/error/ClientAuthErrorCodes.d.ts +8 -0
  95. package/dist/error/ClientAuthErrorCodes.d.ts.map +1 -0
  96. package/dist/error/ClientAuthErrorCodes.mjs +16 -0
  97. package/dist/error/ClientAuthErrorCodes.mjs.map +1 -0
  98. package/dist/error/ManagedIdentityError.mjs +1 -1
  99. package/dist/error/ManagedIdentityErrorCodes.mjs +1 -1
  100. package/dist/error/NodeAuthError.mjs +1 -1
  101. package/dist/index.d.ts +15 -11
  102. package/dist/index.d.ts.map +1 -1
  103. package/dist/index.mjs +20 -8
  104. package/dist/index.mjs.map +1 -1
  105. package/dist/internals.mjs +1 -1
  106. package/dist/network/HttpClient.d.ts +53 -40
  107. package/dist/network/HttpClient.d.ts.map +1 -1
  108. package/dist/network/HttpClient.mjs +149 -315
  109. package/dist/network/HttpClient.mjs.map +1 -1
  110. package/dist/network/HttpClientWithRetries.mjs +3 -3
  111. package/dist/network/HttpClientWithRetries.mjs.map +1 -1
  112. package/dist/network/LoopbackClient.d.ts.map +1 -1
  113. package/dist/network/LoopbackClient.mjs +3 -3
  114. package/dist/network/LoopbackClient.mjs.map +1 -1
  115. package/dist/packageMetadata.d.ts +1 -1
  116. package/dist/packageMetadata.d.ts.map +1 -1
  117. package/dist/packageMetadata.mjs +2 -2
  118. package/dist/protocol/Authorize.d.ts.map +1 -1
  119. package/dist/protocol/Authorize.mjs +6 -6
  120. package/dist/protocol/Authorize.mjs.map +1 -1
  121. package/dist/request/AuthorizationCodeRequest.d.ts +3 -2
  122. package/dist/request/AuthorizationCodeRequest.d.ts.map +1 -1
  123. package/dist/request/AuthorizationUrlRequest.d.ts +3 -3
  124. package/dist/request/AuthorizationUrlRequest.d.ts.map +1 -1
  125. package/dist/request/ClientCredentialRequest.d.ts +4 -4
  126. package/dist/request/ClientCredentialRequest.d.ts.map +1 -1
  127. package/dist/request/CommonClientCredentialRequest.d.ts +17 -0
  128. package/dist/request/CommonClientCredentialRequest.d.ts.map +1 -0
  129. package/dist/request/CommonDeviceCodeRequest.d.ts +21 -0
  130. package/dist/request/CommonDeviceCodeRequest.d.ts.map +1 -0
  131. package/dist/request/CommonOnBehalfOfRequest.d.ts +13 -0
  132. package/dist/request/CommonOnBehalfOfRequest.d.ts.map +1 -0
  133. package/dist/request/CommonUsernamePasswordRequest.d.ts +19 -0
  134. package/dist/request/CommonUsernamePasswordRequest.d.ts.map +1 -0
  135. package/dist/request/DeviceCodeRequest.d.ts +3 -2
  136. package/dist/request/DeviceCodeRequest.d.ts.map +1 -1
  137. package/dist/request/InteractiveRequest.d.ts +1 -1
  138. package/dist/request/InteractiveRequest.d.ts.map +1 -1
  139. package/dist/request/ManagedIdentityRequest.d.ts +1 -1
  140. package/dist/request/ManagedIdentityRequest.d.ts.map +1 -1
  141. package/dist/request/OnBehalfOfRequest.d.ts +2 -3
  142. package/dist/request/OnBehalfOfRequest.d.ts.map +1 -1
  143. package/dist/request/RefreshTokenRequest.d.ts +3 -2
  144. package/dist/request/RefreshTokenRequest.d.ts.map +1 -1
  145. package/dist/request/SilentFlowRequest.d.ts +3 -2
  146. package/dist/request/SilentFlowRequest.d.ts.map +1 -1
  147. package/dist/request/UsernamePasswordRequest.d.ts +4 -3
  148. package/dist/request/UsernamePasswordRequest.d.ts.map +1 -1
  149. package/dist/response/ManagedIdentityTokenResponse.d.ts +2 -2
  150. package/dist/response/ManagedIdentityTokenResponse.d.ts.map +1 -1
  151. package/dist/retry/DefaultManagedIdentityRetryPolicy.d.ts +1 -1
  152. package/dist/retry/DefaultManagedIdentityRetryPolicy.d.ts.map +1 -1
  153. package/dist/retry/DefaultManagedIdentityRetryPolicy.mjs +9 -9
  154. package/dist/retry/DefaultManagedIdentityRetryPolicy.mjs.map +1 -1
  155. package/dist/retry/ExponentialRetryStrategy.mjs +1 -1
  156. package/dist/retry/IHttpRetryPolicy.d.ts +1 -1
  157. package/dist/retry/IHttpRetryPolicy.d.ts.map +1 -1
  158. package/dist/retry/ImdsRetryPolicy.d.ts +1 -1
  159. package/dist/retry/ImdsRetryPolicy.d.ts.map +1 -1
  160. package/dist/retry/ImdsRetryPolicy.mjs +11 -11
  161. package/dist/retry/ImdsRetryPolicy.mjs.map +1 -1
  162. package/dist/retry/LinearRetryStrategy.mjs +1 -1
  163. package/dist/utils/Constants.d.ts +2 -9
  164. package/dist/utils/Constants.d.ts.map +1 -1
  165. package/dist/utils/Constants.mjs +4 -12
  166. package/dist/utils/Constants.mjs.map +1 -1
  167. package/dist/utils/EncodingUtils.d.ts.map +1 -1
  168. package/dist/utils/EncodingUtils.mjs +5 -5
  169. package/dist/utils/EncodingUtils.mjs.map +1 -1
  170. package/dist/utils/TimeUtils.mjs +1 -1
  171. package/lib/msal-node.cjs +5378 -6289
  172. package/lib/msal-node.cjs.map +1 -1
  173. package/lib/types/cache/CacheHelpers.d.ts.map +1 -1
  174. package/lib/types/cache/NodeStorage.d.ts.map +1 -1
  175. package/lib/types/cache/TokenCache.d.ts.map +1 -1
  176. package/lib/types/cache/distributed/DistributedCachePlugin.d.ts.map +1 -1
  177. package/lib/types/cache/serializer/Deserializer.d.ts.map +1 -1
  178. package/lib/types/cache/serializer/Serializer.d.ts.map +1 -1
  179. package/lib/types/cache/serializer/SerializerTypes.d.ts +0 -2
  180. package/lib/types/cache/serializer/SerializerTypes.d.ts.map +1 -1
  181. package/lib/types/client/BaseClient.d.ts +42 -0
  182. package/lib/types/client/BaseClient.d.ts.map +1 -0
  183. package/lib/types/client/ClientApplication.d.ts.map +1 -1
  184. package/lib/types/client/ClientAssertion.d.ts.map +1 -1
  185. package/lib/types/client/ClientCredentialClient.d.ts +4 -2
  186. package/lib/types/client/ClientCredentialClient.d.ts.map +1 -1
  187. package/lib/types/client/ConfidentialClientApplication.d.ts.map +1 -1
  188. package/lib/types/client/DeviceCodeClient.d.ts +3 -1
  189. package/lib/types/client/DeviceCodeClient.d.ts.map +1 -1
  190. package/lib/types/client/ManagedIdentityApplication.d.ts.map +1 -1
  191. package/lib/types/client/ManagedIdentitySources/AppService.d.ts.map +1 -1
  192. package/lib/types/client/ManagedIdentitySources/AzureArc.d.ts.map +1 -1
  193. package/lib/types/client/ManagedIdentitySources/BaseManagedIdentitySource.d.ts.map +1 -1
  194. package/lib/types/client/ManagedIdentitySources/CloudShell.d.ts.map +1 -1
  195. package/lib/types/client/ManagedIdentitySources/Imds.d.ts.map +1 -1
  196. package/lib/types/client/ManagedIdentitySources/MachineLearning.d.ts.map +1 -1
  197. package/lib/types/client/ManagedIdentitySources/ServiceFabric.d.ts.map +1 -1
  198. package/lib/types/client/OnBehalfOfClient.d.ts +3 -1
  199. package/lib/types/client/OnBehalfOfClient.d.ts.map +1 -1
  200. package/lib/types/client/PublicClientApplication.d.ts.map +1 -1
  201. package/lib/types/client/UsernamePasswordClient.d.ts +3 -1
  202. package/lib/types/client/UsernamePasswordClient.d.ts.map +1 -1
  203. package/lib/types/config/Configuration.d.ts +2 -19
  204. package/lib/types/config/Configuration.d.ts.map +1 -1
  205. package/lib/types/crypto/CryptoProvider.d.ts.map +1 -1
  206. package/lib/types/crypto/PkceGenerator.d.ts.map +1 -1
  207. package/lib/types/error/ClientAuthErrorCodes.d.ts +8 -0
  208. package/lib/types/error/ClientAuthErrorCodes.d.ts.map +1 -0
  209. package/lib/types/index.d.ts +15 -11
  210. package/lib/types/index.d.ts.map +1 -1
  211. package/lib/types/network/HttpClient.d.ts +53 -40
  212. package/lib/types/network/HttpClient.d.ts.map +1 -1
  213. package/lib/types/network/LoopbackClient.d.ts.map +1 -1
  214. package/lib/types/packageMetadata.d.ts +1 -1
  215. package/lib/types/packageMetadata.d.ts.map +1 -1
  216. package/lib/types/protocol/Authorize.d.ts.map +1 -1
  217. package/lib/types/request/AuthorizationCodeRequest.d.ts +3 -2
  218. package/lib/types/request/AuthorizationCodeRequest.d.ts.map +1 -1
  219. package/lib/types/request/AuthorizationUrlRequest.d.ts +3 -3
  220. package/lib/types/request/AuthorizationUrlRequest.d.ts.map +1 -1
  221. package/lib/types/request/ClientCredentialRequest.d.ts +4 -4
  222. package/lib/types/request/ClientCredentialRequest.d.ts.map +1 -1
  223. package/lib/types/request/CommonClientCredentialRequest.d.ts +17 -0
  224. package/lib/types/request/CommonClientCredentialRequest.d.ts.map +1 -0
  225. package/lib/types/request/CommonDeviceCodeRequest.d.ts +21 -0
  226. package/lib/types/request/CommonDeviceCodeRequest.d.ts.map +1 -0
  227. package/lib/types/request/CommonOnBehalfOfRequest.d.ts +13 -0
  228. package/lib/types/request/CommonOnBehalfOfRequest.d.ts.map +1 -0
  229. package/lib/types/request/CommonUsernamePasswordRequest.d.ts +19 -0
  230. package/lib/types/request/CommonUsernamePasswordRequest.d.ts.map +1 -0
  231. package/lib/types/request/DeviceCodeRequest.d.ts +3 -2
  232. package/lib/types/request/DeviceCodeRequest.d.ts.map +1 -1
  233. package/lib/types/request/InteractiveRequest.d.ts +1 -1
  234. package/lib/types/request/InteractiveRequest.d.ts.map +1 -1
  235. package/lib/types/request/ManagedIdentityRequest.d.ts +1 -1
  236. package/lib/types/request/ManagedIdentityRequest.d.ts.map +1 -1
  237. package/lib/types/request/OnBehalfOfRequest.d.ts +2 -3
  238. package/lib/types/request/OnBehalfOfRequest.d.ts.map +1 -1
  239. package/lib/types/request/RefreshTokenRequest.d.ts +3 -2
  240. package/lib/types/request/RefreshTokenRequest.d.ts.map +1 -1
  241. package/lib/types/request/SilentFlowRequest.d.ts +3 -2
  242. package/lib/types/request/SilentFlowRequest.d.ts.map +1 -1
  243. package/lib/types/request/UsernamePasswordRequest.d.ts +4 -3
  244. package/lib/types/request/UsernamePasswordRequest.d.ts.map +1 -1
  245. package/lib/types/response/ManagedIdentityTokenResponse.d.ts +2 -2
  246. package/lib/types/response/ManagedIdentityTokenResponse.d.ts.map +1 -1
  247. package/lib/types/retry/DefaultManagedIdentityRetryPolicy.d.ts +1 -1
  248. package/lib/types/retry/DefaultManagedIdentityRetryPolicy.d.ts.map +1 -1
  249. package/lib/types/retry/IHttpRetryPolicy.d.ts +1 -1
  250. package/lib/types/retry/IHttpRetryPolicy.d.ts.map +1 -1
  251. package/lib/types/retry/ImdsRetryPolicy.d.ts +1 -1
  252. package/lib/types/retry/ImdsRetryPolicy.d.ts.map +1 -1
  253. package/lib/types/utils/Constants.d.ts +2 -9
  254. package/lib/types/utils/Constants.d.ts.map +1 -1
  255. package/lib/types/utils/EncodingUtils.d.ts.map +1 -1
  256. package/package.json +4 -6
  257. package/src/cache/CacheHelpers.ts +3 -5
  258. package/src/cache/NodeStorage.ts +19 -16
  259. package/src/cache/TokenCache.ts +18 -14
  260. package/src/cache/distributed/DistributedCachePlugin.ts +2 -1
  261. package/src/cache/serializer/Deserializer.ts +7 -9
  262. package/src/cache/serializer/Serializer.ts +0 -2
  263. package/src/cache/serializer/SerializerTypes.ts +0 -2
  264. package/src/client/BaseClient.ts +158 -0
  265. package/src/client/ClientApplication.ts +50 -57
  266. package/src/client/ClientAssertion.ts +5 -6
  267. package/src/client/ClientCredentialClient.ts +32 -25
  268. package/src/client/ConfidentialClientApplication.ts +13 -13
  269. package/src/client/DeviceCodeClient.ts +33 -21
  270. package/src/client/ManagedIdentityApplication.ts +10 -7
  271. package/src/client/ManagedIdentitySources/AppService.ts +4 -2
  272. package/src/client/ManagedIdentitySources/AzureArc.ts +14 -8
  273. package/src/client/ManagedIdentitySources/BaseManagedIdentitySource.ts +18 -9
  274. package/src/client/ManagedIdentitySources/CloudShell.ts +4 -2
  275. package/src/client/ManagedIdentitySources/Imds.ts +4 -2
  276. package/src/client/ManagedIdentitySources/MachineLearning.ts +4 -2
  277. package/src/client/ManagedIdentitySources/ServiceFabric.ts +6 -3
  278. package/src/client/OnBehalfOfClient.ts +27 -21
  279. package/src/client/PublicClientApplication.ts +16 -16
  280. package/src/client/UsernamePasswordClient.ts +14 -8
  281. package/src/config/Configuration.ts +19 -48
  282. package/src/config/ManagedIdentityRequestParameters.ts +2 -2
  283. package/src/crypto/CryptoProvider.ts +5 -3
  284. package/src/crypto/PkceGenerator.ts +6 -4
  285. package/src/error/ClientAuthErrorCodes.ts +12 -0
  286. package/src/index.ts +5 -19
  287. package/src/network/HttpClient.ts +168 -457
  288. package/src/network/HttpClientWithRetries.ts +2 -2
  289. package/src/network/LoopbackClient.ts +2 -3
  290. package/src/packageMetadata.ts +1 -1
  291. package/src/protocol/Authorize.ts +8 -10
  292. package/src/request/AuthorizationCodeRequest.ts +2 -2
  293. package/src/request/AuthorizationUrlRequest.ts +2 -3
  294. package/src/request/ClientCredentialRequest.ts +3 -7
  295. package/src/request/CommonClientCredentialRequest.ts +29 -0
  296. package/src/request/CommonDeviceCodeRequest.ts +30 -0
  297. package/src/request/CommonOnBehalfOfRequest.ts +21 -0
  298. package/src/request/CommonUsernamePasswordRequest.ts +24 -0
  299. package/src/request/DeviceCodeRequest.ts +2 -5
  300. package/src/request/InteractiveRequest.ts +1 -4
  301. package/src/request/ManagedIdentityRequest.ts +1 -1
  302. package/src/request/OnBehalfOfRequest.ts +1 -3
  303. package/src/request/RefreshTokenRequest.ts +2 -2
  304. package/src/request/SilentFlowRequest.ts +3 -5
  305. package/src/request/UsernamePasswordRequest.ts +3 -3
  306. package/src/response/ManagedIdentityTokenResponse.ts +2 -2
  307. package/src/retry/DefaultManagedIdentityRetryPolicy.ts +9 -8
  308. package/src/retry/IHttpRetryPolicy.ts +1 -1
  309. package/src/retry/ImdsRetryPolicy.ts +11 -10
  310. package/src/utils/Constants.ts +2 -11
  311. package/src/utils/EncodingUtils.ts +8 -4
  312. package/dist/utils/NetworkUtils.mjs +0 -43
  313. package/dist/utils/NetworkUtils.mjs.map +0 -1
@@ -1,53 +1,66 @@
1
- /// <reference types="node" resolution-mode="require"/>
2
- /// <reference types="node" resolution-mode="require"/>
3
- import { INetworkModule, NetworkRequestOptions, NetworkResponse, LoggerOptions } from "@azure/msal-common/node";
4
- import http from "http";
5
- import https from "https";
1
+ import { INetworkModule, NetworkRequestOptions, NetworkResponse } from "@azure/msal-common/node";
6
2
  /**
7
- * This class implements the API for network requests.
3
+ * HTTP client implementation using Node.js native fetch API.
4
+ *
5
+ * This class provides a clean interface for making HTTP requests using the modern
6
+ * fetch API available in Node.js 18+. It replaces the previous implementation that
7
+ * relied on custom proxy handling and the legacy http/https modules.
8
8
  */
9
9
  export declare class HttpClient implements INetworkModule {
10
- private proxyUrl;
11
- private customAgentOptions;
12
- private logger;
13
- private isPiiEnabled;
14
- constructor(proxyUrl?: string, customAgentOptions?: http.AgentOptions | https.AgentOptions, loggerOptions?: LoggerOptions);
15
10
  /**
16
- * Http Get request
17
- * @param url
18
- * @param options
11
+ * Sends an HTTP GET request to the specified URL.
12
+ *
13
+ * This method handles GET requests with optional timeout support. The timeout
14
+ * is implemented using AbortController, which provides a clean way to cancel
15
+ * fetch requests that take too long to complete.
16
+ *
17
+ * @param url - The target URL for the GET request
18
+ * @param options - Optional request configuration including headers
19
+ * @param timeout - Optional timeout in milliseconds. If specified, the request
20
+ * will be aborted if it doesn't complete within this time
21
+ * @returns Promise that resolves to a NetworkResponse containing headers, body, and status
22
+ * @throws {AuthError} When the request times out or response parsing fails
23
+ * @throws {NetworkError} When the network request fails
19
24
  */
20
25
  sendGetRequestAsync<T>(url: string, options?: NetworkRequestOptions, timeout?: number): Promise<NetworkResponse<T>>;
21
26
  /**
22
- * Http Post request
23
- * @param url
24
- * @param options
27
+ * Sends an HTTP POST request to the specified URL.
28
+ *
29
+ * This method handles POST requests with request body support. Currently,
30
+ * timeout functionality is not exposed for POST requests, but the underlying
31
+ * implementation supports it through the shared sendRequest method.
32
+ *
33
+ * @param url - The target URL for the POST request
34
+ * @param options - Optional request configuration including headers and body
35
+ * @returns Promise that resolves to a NetworkResponse containing headers, body, and status
36
+ * @throws {AuthError} When the request times out or response parsing fails
37
+ * @throws {NetworkError} When the network request fails
25
38
  */
26
39
  sendPostRequestAsync<T>(url: string, options?: NetworkRequestOptions): Promise<NetworkResponse<T>>;
27
- private networkRequestViaProxy;
28
- private networkRequestViaHttps;
29
40
  /**
30
- * Check if extra parsing is needed on the repsonse from the server
31
- * @param statusCode {number} the status code of the response from the server
32
- * @param statusMessage {string | undefined} the status message of the response from the server
33
- * @param headers {Record<string, string>} the headers of the response from the server
34
- * @param body {string} the body from the response of the server
35
- * @returns {Object} JSON parsed body or error object
41
+ * Core HTTP request implementation using native fetch API.
42
+ *
43
+ * This method handles GET and POST HTTP requests with comprehensive
44
+ * timeout support and error handling. The timeout mechanism works as follows:
45
+ *
46
+ * 1. An AbortController is created for each request
47
+ * 2. If a timeout is specified, setTimeout is used to call abort() after the delay
48
+ * 3. The abort signal is passed to fetch, which will reject the promise if aborted
49
+ * 4. Cleanup occurs in both success and error cases to prevent timer leaks
50
+ *
51
+ * Error handling priority:
52
+ * 1. Timeout errors (AbortError) are converted to "Request timeout" messages
53
+ * 2. Network/connection errors are wrapped with "Network request failed" prefix
54
+ * 3. JSON parsing errors are wrapped with "Failed to parse response" prefix
55
+ *
56
+ * @param url - The target URL for the request
57
+ * @param method - HTTP method (GET or POST)
58
+ * @param options - Optional request configuration (headers, body)
59
+ * @param timeout - Optional timeout in milliseconds for request cancellation
60
+ * @returns Promise resolving to NetworkResponse with parsed JSON body
61
+ * @throws {AuthError} For timeouts or JSON parsing errors
62
+ * @throws {NetworkError} For network failures
36
63
  */
37
- private parseBody;
38
- /**
39
- * Helper function to log a formatted message containing URLs, with PII-aware sanitization
40
- * @param label {string} the label for the log message
41
- * @param urlString {string} the URL to log
42
- */
43
- private logUrlWithPiiAwareness;
44
- /**
45
- * Helper function to determine if a request should be destroyed based on status code and response body.
46
- * Checks if the response is an error and not part of the device code flow (authorization_pending).
47
- * @param statusCode {number} the status code of the response
48
- * @param networkResponse {NetworkResponse<T>} the network response object
49
- * @returns {boolean} true if the request should be destroyed, false otherwise
50
- */
51
- private shouldDestroyRequest;
64
+ private sendRequest;
52
65
  }
53
66
  //# sourceMappingURL=HttpClient.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HttpClient.d.ts","sourceRoot":"","sources":["../../../src/network/HttpClient.ts"],"names":[],"mappings":";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C;;;;;;;;;;;;;;OAcG;IACG,mBAAmB,CAAC,CAAC,EACvB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,qBAAqB,EAC/B,OAAO,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;IAI9B;;;;;;;;;;;;OAYG;IACG,oBAAoB,CAAC,CAAC,EACxB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,qBAAqB,GAChC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;IAI9B;;;;;;;;;;;;;;;;;;;;;;;OAuBG;YACW,WAAW;CAoF5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"LoopbackClient.d.ts","sourceRoot":"","sources":["../../../src/network/LoopbackClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAEH,iBAAiB,EAGpB,MAAM,yBAAyB,CAAC;AAIjC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,qBAAa,cAAe,YAAW,eAAe;IAClD,OAAO,CAAC,MAAM,CAA0B;IAExC;;;;;OAKG;IACG,iBAAiB,CACnB,eAAe,CAAC,EAAE,MAAM,EACxB,aAAa,CAAC,EAAE,MAAM,GACvB,OAAO,CAAC,iBAAiB,CAAC;IAkD7B;;;OAGG;IACH,cAAc,IAAI,MAAM;IAgBxB;;OAEG;IACH,WAAW,IAAI,IAAI;CAetB"}
1
+ {"version":3,"file":"LoopbackClient.d.ts","sourceRoot":"","sources":["../../../src/network/LoopbackClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,iBAAiB,EAGpB,MAAM,yBAAyB,CAAC;AAIjC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,qBAAa,cAAe,YAAW,eAAe;IAClD,OAAO,CAAC,MAAM,CAA0B;IAExC;;;;;OAKG;IACG,iBAAiB,CACnB,eAAe,CAAC,EAAE,MAAM,EACxB,aAAa,CAAC,EAAE,MAAM,GACvB,OAAO,CAAC,iBAAiB,CAAC;IAkD7B;;;OAGG;IACH,cAAc,IAAI,MAAM;IAgBxB;;OAEG;IACH,WAAW,IAAI,IAAI;CAetB"}
@@ -1,3 +1,3 @@
1
1
  export declare const name = "@azure/msal-node";
2
- export declare const version = "3.8.4";
2
+ export declare const version = "5.0.0-beta.0";
3
3
  //# sourceMappingURL=packageMetadata.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageMetadata.d.ts","sourceRoot":"","sources":["../../src/packageMetadata.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,IAAI,qBAAqB,CAAC;AACvC,eAAO,MAAM,OAAO,UAAU,CAAC"}
1
+ {"version":3,"file":"packageMetadata.d.ts","sourceRoot":"","sources":["../../src/packageMetadata.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,IAAI,qBAAqB,CAAC;AACvC,eAAO,MAAM,OAAO,iBAAiB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Authorize.d.ts","sourceRoot":"","sources":["../../../src/protocol/Authorize.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,SAAS,EAET,6BAA6B,EAC7B,MAAM,EAIT,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAI/D;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACjC,MAAM,EAAE,iBAAiB,EACzB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,6BAA6B,EACtC,MAAM,EAAE,MAAM,GACf,MAAM,CA0CR"}
1
+ {"version":3,"file":"Authorize.d.ts","sourceRoot":"","sources":["../../../src/protocol/Authorize.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,SAAS,EAET,6BAA6B,EAC7B,MAAM,EAIT,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAI/D;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACjC,MAAM,EAAE,iBAAiB,EACzB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,6BAA6B,EACtC,MAAM,EAAE,MAAM,GACf,MAAM,CAwCR"}
@@ -7,13 +7,14 @@ import { CommonAuthorizationCodeRequest } from "@azure/msal-common/node";
7
7
  * - authority: - URL of the authority, the security token service (STS) from which MSAL will acquire tokens. If authority is set on client application object, this will override that value. Overriding the value will cause for authority validation to happen each time. If the same authority will be used for all request, set on the application object instead of the requests.
8
8
  * - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
9
9
  * - redirectUri - The redirect URI of your app, where the authority will redirect to after the user inputs credentials and consents. It must exactly match one of the redirect URIs you registered in the portal.
10
- * - tokenQueryParameters - String to string map of custom query parameters added to the /token call
10
+ * - extraQueryParameters - String to string map of custom query parameters added to outgoing token service requests
11
+ * - extraParameters - String to string map of custom query parameters added to outgoing token service requests
11
12
  * - code - The authorization_code that the user acquired in the first leg of the flow.
12
13
  * - codeVerifier - The same code_verifier that was used to obtain the authorization_code. Required if PKCE was used in the authorization code grant request.For more information, see the PKCE RFC: https://tools.ietf.org/html/rfc7636
13
14
  * - state - Unique GUID generated by the user that is cached by the user and sent to the server during the first leg of the flow. This string is sent back by the server with the authorization code. The user cached state is then compared with the state received from the server to mitigate the risk of CSRF attacks. See https://datatracker.ietf.org/doc/html/rfc6819#section-3.6.
14
15
  * @public
15
16
  */
16
- export type AuthorizationCodeRequest = Partial<Omit<CommonAuthorizationCodeRequest, "scopes" | "redirectUri" | "code" | "authenticationScheme" | "resourceRequestMethod" | "resourceRequestUri" | "requestedClaimsHash" | "storeInCache">> & {
17
+ export type AuthorizationCodeRequest = Partial<Omit<CommonAuthorizationCodeRequest, "scopes" | "redirectUri" | "code" | "authenticationScheme" | "resourceRequestMethod" | "resourceRequestUri" | "storeInCache">> & {
17
18
  scopes: Array<string>;
18
19
  redirectUri: string;
19
20
  code: string;
@@ -1 +1 @@
1
- {"version":3,"file":"AuthorizationCodeRequest.d.ts","sourceRoot":"","sources":["../../../src/request/AuthorizationCodeRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AAEzE;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC1C,IAAI,CACA,8BAA8B,EAC5B,QAAQ,GACR,aAAa,GACb,MAAM,GACN,sBAAsB,GACtB,uBAAuB,GACvB,oBAAoB,GACpB,qBAAqB,GACrB,cAAc,CACnB,CACJ,GAAG;IACA,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
1
+ {"version":3,"file":"AuthorizationCodeRequest.d.ts","sourceRoot":"","sources":["../../../src/request/AuthorizationCodeRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AAEzE;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC1C,IAAI,CACA,8BAA8B,EAC5B,QAAQ,GACR,aAAa,GACb,MAAM,GACN,sBAAsB,GACtB,uBAAuB,GACvB,oBAAoB,GACpB,cAAc,CACnB,CACJ,GAAG;IACA,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -22,12 +22,12 @@ import { CommonAuthorizationUrlRequest } from "@azure/msal-common/node";
22
22
  * - loginHint - Can be used to pre-fill the username/email address field of the sign-in page for the user, if you know the username/email address ahead of time. Often apps use this parameter during re-authentication, having already extracted the username from a previous sign-in using the preferred_username claim.
23
23
  * - sid - Session ID, unique identifier for the session. Available as an optional claim on ID tokens.
24
24
  * - domainHint - Provides a hint about the tenant or domain that the user should use to sign in. The value of the domain hint is a registered domain for the tenant.
25
- * - extraQueryParameters - String to string map of custom query parameters added to the /authorize call
26
- * - tokenQueryParameters - String to string map of custom query parameters added to the /token call
25
+ * - extraQueryParameters - String to string map of custom query parameters added to outgoing token service requests
26
+ * - extraParameters - String to string map of custom query parameters added to outgoing token service requests
27
27
  * - nonce - A value included in the request that is returned in the id token. A randomly generated unique value is typically used to mitigate replay attacks.
28
28
  * @public
29
29
  */
30
- export type AuthorizationUrlRequest = Partial<Omit<CommonAuthorizationUrlRequest, "scopes" | "redirectUri" | "resourceRequestMethod" | "resourceRequestUri" | "authenticationScheme" | "requestedClaimsHash" | "storeInCache">> & {
30
+ export type AuthorizationUrlRequest = Partial<Omit<CommonAuthorizationUrlRequest, "scopes" | "redirectUri" | "resourceRequestMethod" | "resourceRequestUri" | "authenticationScheme" | "storeInCache">> & {
31
31
  scopes: Array<string>;
32
32
  redirectUri: string;
33
33
  };
@@ -1 +1 @@
1
- {"version":3,"file":"AuthorizationUrlRequest.d.ts","sourceRoot":"","sources":["../../../src/request/AuthorizationUrlRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAExE;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,MAAM,uBAAuB,GAAG,OAAO,CACzC,IAAI,CACA,6BAA6B,EAC3B,QAAQ,GACR,aAAa,GACb,uBAAuB,GACvB,oBAAoB,GACpB,sBAAsB,GACtB,qBAAqB,GACrB,cAAc,CACnB,CACJ,GAAG;IACA,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACvB,CAAC"}
1
+ {"version":3,"file":"AuthorizationUrlRequest.d.ts","sourceRoot":"","sources":["../../../src/request/AuthorizationUrlRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAExE;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,MAAM,uBAAuB,GAAG,OAAO,CACzC,IAAI,CACA,6BAA6B,EAC3B,QAAQ,GACR,aAAa,GACb,uBAAuB,GACvB,oBAAoB,GACpB,sBAAsB,GACtB,cAAc,CACnB,CACJ,GAAG;IACA,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACvB,CAAC"}
@@ -1,15 +1,15 @@
1
- import { ClientAssertionCallback, CommonClientCredentialRequest } from "@azure/msal-common/node";
1
+ import { ClientAssertionCallback } from "@azure/msal-common/node";
2
+ import { CommonClientCredentialRequest } from "./CommonClientCredentialRequest.js";
2
3
  /**
3
- * CommonClientCredentialRequest
4
+ * ClientCredentialRequest
4
5
  * - scopes - Array of scopes the application is requesting access to. Typically contains only the .default scope for a single resource. See: https://learn.microsoft.com/azure/active-directory/develop/scopes-oidc#the-default-scope
5
6
  * - authority - URL of the authority, the security token service (STS) from which MSAL will acquire tokens.
6
7
  * - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
7
8
  * - skipCache - Skip token cache lookup and force request to authority to get a a new token. Defaults to false.
8
9
  * - clientAssertion - An assertion string or a callback function that returns an assertion string (both are Base64Url-encoded signed JWTs) used in the Client Credential flow
9
- * - tokenQueryParameters - String to string map of custom query parameters added to the /token call
10
10
  * @public
11
11
  */
12
- export type ClientCredentialRequest = Partial<Omit<CommonClientCredentialRequest, "resourceRequestMethod" | "resourceRequestUri" | "requestedClaimsHash" | "clientAssertion" | "storeInCache">> & {
12
+ export type ClientCredentialRequest = Partial<Omit<CommonClientCredentialRequest, "resourceRequestMethod" | "resourceRequestUri" | "clientAssertion" | "storeInCache">> & {
13
13
  clientAssertion?: string | ClientAssertionCallback;
14
14
  };
15
15
  //# sourceMappingURL=ClientCredentialRequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ClientCredentialRequest.d.ts","sourceRoot":"","sources":["../../../src/request/ClientCredentialRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,uBAAuB,EACvB,6BAA6B,EAChC,MAAM,yBAAyB,CAAC;AAEjC;;;;;;;;;GASG;AACH,MAAM,MAAM,uBAAuB,GAAG,OAAO,CACzC,IAAI,CACA,6BAA6B,EAC3B,uBAAuB,GACvB,oBAAoB,GACpB,qBAAqB,GACrB,iBAAiB,GACjB,cAAc,CACnB,CACJ,GAAG;IACA,eAAe,CAAC,EAAE,MAAM,GAAG,uBAAuB,CAAC;CACtD,CAAC"}
1
+ {"version":3,"file":"ClientCredentialRequest.d.ts","sourceRoot":"","sources":["../../../src/request/ClientCredentialRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAEnF;;;;;;;;GAQG;AACH,MAAM,MAAM,uBAAuB,GAAG,OAAO,CACzC,IAAI,CACA,6BAA6B,EAC3B,uBAAuB,GACvB,oBAAoB,GACpB,iBAAiB,GACjB,cAAc,CACnB,CACJ,GAAG;IACA,eAAe,CAAC,EAAE,MAAM,GAAG,uBAAuB,CAAC;CACtD,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { BaseAuthRequest, AzureRegion, ClientAssertion } from "@azure/msal-common/node";
2
+ /**
3
+ * CommonClientCredentialRequest
4
+ * - scopes - Array of scopes the application is requesting access to.
5
+ * - authority - URL of the authority, the security token service (STS) from which MSAL will acquire tokens.
6
+ * - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
7
+ * - skipCache - Skip token cache lookup and force request to authority to get a a new token. Defaults to false.
8
+ * - preferredAzureRegionOptions - Options of the user's preferred azure region
9
+ * - clientAssertion - An assertion string or a callback function that returns an assertion string (both are Base64Url-encoded signed JWTs) used in the Client Credential flow
10
+ * - azureRegion - Azure region to be used for regional authentication
11
+ */
12
+ export type CommonClientCredentialRequest = Omit<BaseAuthRequest, "extraQueryParameters" | "extraParameters"> & {
13
+ skipCache?: boolean;
14
+ azureRegion?: AzureRegion;
15
+ clientAssertion?: ClientAssertion;
16
+ };
17
+ //# sourceMappingURL=CommonClientCredentialRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommonClientCredentialRequest.d.ts","sourceRoot":"","sources":["../../../src/request/CommonClientCredentialRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,eAAe,EACf,WAAW,EACX,eAAe,EAClB,MAAM,yBAAyB,CAAC;AAEjC;;;;;;;;;GASG;AACH,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAC5C,eAAe,EACf,sBAAsB,GAAG,iBAAiB,CAC7C,GAAG;IACA,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,eAAe,CAAC,EAAE,eAAe,CAAC;CACrC,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { DeviceCodeResponse, StringDict, BaseAuthRequest } from "@azure/msal-common/node";
2
+ /**
3
+ * Parameters for Oauth2 device code flow.
4
+ * - scopes - Array of scopes the application is requesting access to.
5
+ * - authority: - URL of the authority, the security token service (STS) from which MSAL will acquire tokens. If authority is set on client application object, this will override that value. Overriding the value will cause for authority validation to happen each time. If the same authority will be used for all request, set on the application object instead of the requests.
6
+ * - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
7
+ * - deviceCodeCallback - Callback containing device code response. Message should be shown to end user. End user can then navigate to the verification_uri, input the user_code, and input credentials.
8
+ * - cancel - Boolean to cancel polling of device code endpoint. While the user authenticates on a separate device, MSAL polls the the token endpoint of security token service for the interval specified in the device code response (usually 15 minutes). To stop polling and cancel the request, set cancel=true.
9
+ * - resourceRequestMethod - HTTP Request type used to request data from the resource (i.e. "GET", "POST", etc.). Used for proof-of-possession flows.
10
+ * - resourceRequestUri - URI that token will be used for. Used for proof-of-possession flows.
11
+ * - timeout - Timeout period in seconds which the user explicitly configures for the polling of the device code endpoint. At the end of this period; assuming the device code has not expired yet; the device code polling is stopped and the request cancelled. The device code expiration window will always take precedence over this set period.
12
+ * - extraQueryParameters - String to string map of custom query parameters added to outgoing token service requests
13
+ * - extraParameters - String to string map of custom query parameters added to outgoing token service requests
14
+ */
15
+ export type CommonDeviceCodeRequest = BaseAuthRequest & {
16
+ deviceCodeCallback: (response: DeviceCodeResponse) => void;
17
+ cancel?: boolean;
18
+ timeout?: number;
19
+ extraQueryParameters?: StringDict;
20
+ };
21
+ //# sourceMappingURL=CommonDeviceCodeRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommonDeviceCodeRequest.d.ts","sourceRoot":"","sources":["../../../src/request/CommonDeviceCodeRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,kBAAkB,EAClB,UAAU,EACV,eAAe,EAClB,MAAM,yBAAyB,CAAC;AAEjC;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,uBAAuB,GAAG,eAAe,GAAG;IACpD,kBAAkB,EAAE,CAAC,QAAQ,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC3D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,oBAAoB,CAAC,EAAE,UAAU,CAAC;CACrC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { BaseAuthRequest } from "@azure/msal-common/node";
2
+ /**
3
+ * - scopes - Array of scopes the application is requesting access to.
4
+ * - authority - URL of the authority, the security token service (STS) from which MSAL will acquire tokens.
5
+ * - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
6
+ * - oboAssertion - The access token that was sent to the middle-tier API. This token must have an audience of the app making this OBO request.
7
+ * - skipCache - Skip token cache lookup and force request to authority to get a a new token. Defaults to false.
8
+ */
9
+ export type CommonOnBehalfOfRequest = Omit<BaseAuthRequest, "extraQueryParameters" | "extraParameters"> & {
10
+ oboAssertion: string;
11
+ skipCache?: boolean;
12
+ };
13
+ //# sourceMappingURL=CommonOnBehalfOfRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommonOnBehalfOfRequest.d.ts","sourceRoot":"","sources":["../../../src/request/CommonOnBehalfOfRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D;;;;;;GAMG;AACH,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACtC,eAAe,EACf,sBAAsB,GAAG,iBAAiB,CAC7C,GAAG;IACA,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { BaseAuthRequest } from "@azure/msal-common/node";
2
+ /**
3
+ * CommonUsernamePassword parameters passed by the user to retrieve credentials
4
+ * Note: The latest OAuth 2.0 Security Best Current Practice disallows the password grant entirely. This flow is added for internal testing.
5
+ *
6
+ * - scopes - Array of scopes the application is requesting access to.
7
+ * - claims - A stringified claims request which will be added to all /authorize and /token calls. When included on a silent request, cache lookup will be skipped and token will be refreshed.
8
+ * - authority - Url of the authority which the application acquires tokens from.
9
+ * - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
10
+ * - username - username of the client
11
+ * - password - credentials
12
+ * - extraQueryParameters - String to string map of custom query parameters added to outgoing token service requests
13
+ * - extraParameters - String to string map of custom query parameters added to outgoing token service requests
14
+ */
15
+ export type CommonUsernamePasswordRequest = BaseAuthRequest & {
16
+ username: string;
17
+ password: string;
18
+ };
19
+ //# sourceMappingURL=CommonUsernamePasswordRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommonUsernamePasswordRequest.d.ts","sourceRoot":"","sources":["../../../src/request/CommonUsernamePasswordRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,6BAA6B,GAAG,eAAe,GAAG;IAC1D,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAC"}
@@ -1,4 +1,5 @@
1
- import { CommonDeviceCodeRequest, DeviceCodeResponse } from "@azure/msal-common/node";
1
+ import { DeviceCodeResponse } from "@azure/msal-common/node";
2
+ import { CommonDeviceCodeRequest } from "./CommonDeviceCodeRequest.js";
2
3
  /**
3
4
  * Parameters for Oauth2 device code flow.
4
5
  * - scopes - Array of scopes the application is requesting access to.
@@ -9,7 +10,7 @@ import { CommonDeviceCodeRequest, DeviceCodeResponse } from "@azure/msal-common/
9
10
  * - extraQueryParameters - String to string map of custom query parameters added to the query string
10
11
  * @public
11
12
  */
12
- export type DeviceCodeRequest = Partial<Omit<CommonDeviceCodeRequest, "scopes" | "deviceCodeCallback" | "resourceRequestMethod" | "resourceRequestUri" | "requestedClaimsHash" | "storeInCache">> & {
13
+ export type DeviceCodeRequest = Partial<Omit<CommonDeviceCodeRequest, "scopes" | "deviceCodeCallback" | "resourceRequestMethod" | "resourceRequestUri" | "storeInCache">> & {
13
14
  scopes: Array<string>;
14
15
  deviceCodeCallback: (response: DeviceCodeResponse) => void;
15
16
  };
@@ -1 +1 @@
1
- {"version":3,"file":"DeviceCodeRequest.d.ts","sourceRoot":"","sources":["../../../src/request/DeviceCodeRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,uBAAuB,EACvB,kBAAkB,EACrB,MAAM,yBAAyB,CAAC;AAEjC;;;;;;;;;GASG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,CACnC,IAAI,CACA,uBAAuB,EACrB,QAAQ,GACR,oBAAoB,GACpB,uBAAuB,GACvB,oBAAoB,GACpB,qBAAqB,GACrB,cAAc,CACnB,CACJ,GAAG;IACA,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,kBAAkB,EAAE,CAAC,QAAQ,EAAE,kBAAkB,KAAK,IAAI,CAAC;CAC9D,CAAC"}
1
+ {"version":3,"file":"DeviceCodeRequest.d.ts","sourceRoot":"","sources":["../../../src/request/DeviceCodeRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE;;;;;;;;;GASG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,CACnC,IAAI,CACA,uBAAuB,EACrB,QAAQ,GACR,oBAAoB,GACpB,uBAAuB,GACvB,oBAAoB,GACpB,cAAc,CACnB,CACJ,GAAG;IACA,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,kBAAkB,EAAE,CAAC,QAAQ,EAAE,kBAAkB,KAAK,IAAI,CAAC;CAC9D,CAAC"}
@@ -13,7 +13,7 @@ import { ILoopbackClient } from "../network/ILoopbackClient.js";
13
13
  * - loopbackClient - Custom implementation for a loopback server to listen for authorization code response.
14
14
  * @public
15
15
  */
16
- export type InteractiveRequest = Partial<Omit<CommonAuthorizationUrlRequest, "scopes" | "requestedClaimsHash" | "storeInCache">> & {
16
+ export type InteractiveRequest = Partial<Omit<CommonAuthorizationUrlRequest, "scopes" | "storeInCache">> & {
17
17
  openBrowser: (url: string) => Promise<void>;
18
18
  scopes?: Array<string>;
19
19
  successTemplate?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"InteractiveRequest.d.ts","sourceRoot":"","sources":["../../../src/request/InteractiveRequest.ts"],"names":[],"mappings":";;AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE;;;;;;;;;;GAUG;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,CACpC,IAAI,CACA,6BAA6B,EAC7B,QAAQ,GAAG,qBAAqB,GAAG,cAAc,CACpD,CACJ,GAAG;IACA,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5C,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,eAAe,CAAC;CACpC,CAAC"}
1
+ {"version":3,"file":"InteractiveRequest.d.ts","sourceRoot":"","sources":["../../../src/request/InteractiveRequest.ts"],"names":[],"mappings":";;AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE;;;;;;;;;;GAUG;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,CACpC,IAAI,CAAC,6BAA6B,EAAE,QAAQ,GAAG,cAAc,CAAC,CACjE,GAAG;IACA,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5C,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,eAAe,CAAC;CACpC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { CommonClientCredentialRequest } from "@azure/msal-common/node";
1
+ import { CommonClientCredentialRequest } from "./CommonClientCredentialRequest.js";
2
2
  import { ManagedIdentityRequestParams } from "./ManagedIdentityRequestParams.js";
3
3
  /**
4
4
  * ManagedIdentityRequest
@@ -1 +1 @@
1
- {"version":3,"file":"ManagedIdentityRequest.d.ts","sourceRoot":"","sources":["../../../src/request/ManagedIdentityRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEjF;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG,4BAA4B,GAC7D,6BAA6B,GAAG;IAC5B,kBAAkB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACnC,CAAC"}
1
+ {"version":3,"file":"ManagedIdentityRequest.d.ts","sourceRoot":"","sources":["../../../src/request/ManagedIdentityRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEjF;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG,4BAA4B,GAC7D,6BAA6B,GAAG;IAC5B,kBAAkB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACnC,CAAC"}
@@ -1,14 +1,13 @@
1
- import { CommonOnBehalfOfRequest } from "@azure/msal-common/node";
1
+ import { CommonOnBehalfOfRequest } from "./CommonOnBehalfOfRequest.js";
2
2
  /**
3
3
  * - scopes - Array of scopes the application is requesting access to.
4
4
  * - authority - URL of the authority, the security token service (STS) from which MSAL will acquire tokens.
5
5
  * - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
6
6
  * - oboAssertion - The access token that was sent to the middle-tier API. This token must have an audience of the app making this OBO request.
7
7
  * - skipCache - Skip token cache lookup and force request to authority to get a a new token. Defaults to false.
8
- * - tokenQueryParameters - String to string map of custom query parameters added to the /token call
9
8
  * @public
10
9
  */
11
- export type OnBehalfOfRequest = Partial<Omit<CommonOnBehalfOfRequest, "oboAssertion" | "scopes" | "resourceRequestMethod" | "resourceRequestUri" | "requestedClaimsHash" | "storeInCache">> & {
10
+ export type OnBehalfOfRequest = Partial<Omit<CommonOnBehalfOfRequest, "oboAssertion" | "scopes" | "resourceRequestMethod" | "resourceRequestUri" | "storeInCache">> & {
12
11
  oboAssertion: string;
13
12
  scopes: Array<string>;
14
13
  };
@@ -1 +1 @@
1
- {"version":3,"file":"OnBehalfOfRequest.d.ts","sourceRoot":"","sources":["../../../src/request/OnBehalfOfRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAElE;;;;;;;;GAQG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,CACnC,IAAI,CACA,uBAAuB,EACrB,cAAc,GACd,QAAQ,GACR,uBAAuB,GACvB,oBAAoB,GACpB,qBAAqB,GACrB,cAAc,CACnB,CACJ,GAAG;IACA,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACzB,CAAC"}
1
+ {"version":3,"file":"OnBehalfOfRequest.d.ts","sourceRoot":"","sources":["../../../src/request/OnBehalfOfRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE;;;;;;;GAOG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,CACnC,IAAI,CACA,uBAAuB,EACrB,cAAc,GACd,QAAQ,GACR,uBAAuB,GACvB,oBAAoB,GACpB,cAAc,CACnB,CACJ,GAAG;IACA,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACzB,CAAC"}
@@ -6,11 +6,12 @@ import { CommonRefreshTokenRequest } from "@azure/msal-common/node";
6
6
  * - authority - URL of the authority, the security token service (STS) from which MSAL will acquire tokens.
7
7
  * - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
8
8
  * - refreshToken - A refresh token returned from a previous request to the Identity provider.
9
- * - tokenQueryParameters - String to string map of custom query parameters added to the /token call
9
+ * - extraQueryParameters - String to string map of custom query parameters added to outgoing token service requests
10
+ * - extraParameters - String to string map of custom query parameters added to outgoing token service requests
10
11
  * - forceCache - Force MSAL to cache a refresh token flow response when there is no account in the cache. Used for migration scenarios.
11
12
  * @public
12
13
  */
13
- export type RefreshTokenRequest = Partial<Omit<CommonRefreshTokenRequest, "scopes" | "refreshToken" | "authenticationScheme" | "resourceRequestMethod" | "resourceRequestUri" | "requestedClaimsHash" | "storeInCache">> & {
14
+ export type RefreshTokenRequest = Partial<Omit<CommonRefreshTokenRequest, "scopes" | "refreshToken" | "authenticationScheme" | "resourceRequestMethod" | "resourceRequestUri" | "storeInCache">> & {
14
15
  scopes: Array<string>;
15
16
  refreshToken: string;
16
17
  forceCache?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"RefreshTokenRequest.d.ts","sourceRoot":"","sources":["../../../src/request/RefreshTokenRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAEpE;;;;;;;;;;GAUG;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,CACrC,IAAI,CACA,yBAAyB,EACvB,QAAQ,GACR,cAAc,GACd,sBAAsB,GACtB,uBAAuB,GACvB,oBAAoB,GACpB,qBAAqB,GACrB,cAAc,CACnB,CACJ,GAAG;IACA,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC"}
1
+ {"version":3,"file":"RefreshTokenRequest.d.ts","sourceRoot":"","sources":["../../../src/request/RefreshTokenRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAEpE;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,CACrC,IAAI,CACA,yBAAyB,EACvB,QAAQ,GACR,cAAc,GACd,sBAAsB,GACtB,uBAAuB,GACvB,oBAAoB,GACpB,cAAc,CACnB,CACJ,GAAG;IACA,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC"}
@@ -5,12 +5,13 @@ import { AccountInfo, CommonSilentFlowRequest } from "@azure/msal-common/node";
5
5
  * - claims - A stringified claims request which will be added to all /authorize and /token calls. When included on a silent request, cache lookup will be skipped and token will be refreshed.
6
6
  * - authority - Url of the authority which the application acquires tokens from.
7
7
  * - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
8
- * - tokenQueryParameters - String to string map of custom query parameters added to the /token call
8
+ * - extraQueryParameters - String to string map of custom query parameters added to outgoing token service requests
9
+ * - extraParameters - String to string map of custom query parameters added to outgoing token service requests
9
10
  * - account - Account entity to lookup the credentials.
10
11
  * - forceRefresh - Forces silent requests to make network calls if true.
11
12
  * @public
12
13
  */
13
- export type SilentFlowRequest = Partial<Omit<CommonSilentFlowRequest, "account" | "scopes" | "requestedClaimsHash" | "storeInCache">> & {
14
+ export type SilentFlowRequest = Partial<Omit<CommonSilentFlowRequest, "account" | "scopes" | "storeInCache">> & {
14
15
  account: AccountInfo;
15
16
  scopes: Array<string>;
16
17
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SilentFlowRequest.d.ts","sourceRoot":"","sources":["../../../src/request/SilentFlowRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAE/E;;;;;;;;;;GAUG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,CACnC,IAAI,CACA,uBAAuB,EACvB,SAAS,GAAG,QAAQ,GAAG,qBAAqB,GAAG,cAAc,CAChE,CACJ,GAAG;IACA,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACzB,CAAC"}
1
+ {"version":3,"file":"SilentFlowRequest.d.ts","sourceRoot":"","sources":["../../../src/request/SilentFlowRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAE/E;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,CACnC,IAAI,CAAC,uBAAuB,EAAE,SAAS,GAAG,QAAQ,GAAG,cAAc,CAAC,CACvE,GAAG;IACA,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACzB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { CommonUsernamePasswordRequest } from "@azure/msal-common/node";
1
+ import { CommonUsernamePasswordRequest } from "./CommonUsernamePasswordRequest.js";
2
2
  /**
3
3
  * UsernamePassword parameters passed by the user to retrieve credentials
4
4
  * Note: The latest OAuth 2.0 Security Best Current Practice disallows the password grant entirely. This flow is added for internal testing.
@@ -9,10 +9,11 @@ import { CommonUsernamePasswordRequest } from "@azure/msal-common/node";
9
9
  * - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
10
10
  * - username - username of the client
11
11
  * - password - credentials
12
- * - tokenQueryParameters - String to string map of custom query parameters added to the /token call
12
+ * - extraQueryParameters - String to string map of custom query parameters added to outgoing token service requests
13
+ * - extraParameters - String to string map of custom query parameters added to outgoing token service requests
13
14
  * @public
14
15
  */
15
- export type UsernamePasswordRequest = Partial<Omit<CommonUsernamePasswordRequest, "scopes" | "resourceRequestMethod" | "resourceRequestUri" | "username" | "password" | "requestedClaimsHash" | "storeInCache">> & {
16
+ export type UsernamePasswordRequest = Partial<Omit<CommonUsernamePasswordRequest, "scopes" | "resourceRequestMethod" | "resourceRequestUri" | "username" | "password" | "storeInCache">> & {
16
17
  scopes: Array<string>;
17
18
  username: string;
18
19
  password: string;
@@ -1 +1 @@
1
- {"version":3,"file":"UsernamePasswordRequest.d.ts","sourceRoot":"","sources":["../../../src/request/UsernamePasswordRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAExE;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,uBAAuB,GAAG,OAAO,CACzC,IAAI,CACA,6BAA6B,EAC3B,QAAQ,GACR,uBAAuB,GACvB,oBAAoB,GACpB,UAAU,GACV,UAAU,GACV,qBAAqB,GACrB,cAAc,CACnB,CACJ,GAAG;IACA,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAC"}
1
+ {"version":3,"file":"UsernamePasswordRequest.d.ts","sourceRoot":"","sources":["../../../src/request/UsernamePasswordRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAEnF;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,uBAAuB,GAAG,OAAO,CACzC,IAAI,CACA,6BAA6B,EAC3B,QAAQ,GACR,uBAAuB,GACvB,oBAAoB,GACpB,UAAU,GACV,UAAU,GACV,cAAc,CACnB,CACJ,GAAG;IACA,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { AuthenticationScheme } from "@azure/msal-common/node";
1
+ import { Constants } from "@azure/msal-common/node";
2
2
  /**
3
3
  * Deserialized response object from server managed identity request.
4
4
  *
@@ -18,7 +18,7 @@ export type ManagedIdentityTokenResponse = {
18
18
  client_id?: string;
19
19
  expires_on?: number;
20
20
  resource?: string;
21
- token_type?: AuthenticationScheme;
21
+ token_type?: Constants.AuthenticationScheme;
22
22
  message?: string;
23
23
  correlationId?: string;
24
24
  error?: string | ErrorObject;
@@ -1 +1 @@
1
- {"version":3,"file":"ManagedIdentityTokenResponse.d.ts","sourceRoot":"","sources":["../../../src/response/ManagedIdentityTokenResponse.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAE/D;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,4BAA4B,GAAG;IAEvC,YAAY,CAAC,EAAE,MAA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B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAMF,MAAM,MAAM,WAAW,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="node" resolution-mode="require"/>
2
2
  import { IncomingHttpHeaders } from "http";
3
- import { Logger } from "@azure/msal-common";
3
+ import { Logger } from "@azure/msal-common/node";
4
4
  import { IHttpRetryPolicy } from "./IHttpRetryPolicy.js";
5
5
  export declare const DEFAULT_MANAGED_IDENTITY_MAX_RETRIES: number;
6
6
  export declare class DefaultManagedIdentityRetryPolicy implements IHttpRetryPolicy {
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultManagedIdentityRetryPolicy.d.ts","sourceRoot":"","sources":["../../../src/retry/DefaultManagedIdentityRetryPolicy.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,MAAM,CAAC;AAC3C,OAAO,EAAc,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAGzD,eAAO,MAAM,oCAAoC,EAAE,MAAU,CAAC;AAW9D,qBAAa,iCAAkC,YAAW,gBAAgB;IAKtE,MAAM,KAAK,uCAAuC,IAAI,MAAM,CAE3D;IAED,OAAO,CAAC,mBAAmB,CACG;IAExB,aAAa,CACf,cAAc,EAAE,MAAM,EACtB,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,MAAM,EACd,gBAAgB,EAAE,mBAAmB,CAAC,aAAa,CAAC,GACrD,OAAO,CAAC,OAAO,CAAC;CA+BtB"}
1
+ {"version":3,"file":"DefaultManagedIdentityRetryPolicy.d.ts","sourceRoot":"","sources":["../../../src/retry/DefaultManagedIdentityRetryPolicy.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,MAAM,CAAC;AAC3C,OAAO,EAAa,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAGzD,eAAO,MAAM,oCAAoC,EAAE,MAAU,CAAC;AAW9D,qBAAa,iCAAkC,YAAW,gBAAgB;IAKtE,MAAM,KAAK,uCAAuC,IAAI,MAAM,CAE3D;IAED,OAAO,CAAC,mBAAmB,CACG;IAExB,aAAa,CACf,cAAc,EAAE,MAAM,EACtB,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,MAAM,EACd,gBAAgB,EAAE,mBAAmB,CAAC,aAAa,CAAC,GACrD,OAAO,CAAC,OAAO,CAAC;CAgCtB"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="node" resolution-mode="require"/>
2
2
  import { IncomingHttpHeaders } from "http";
3
- import { Logger } from "@azure/msal-common";
3
+ import { Logger } from "@azure/msal-common/node";
4
4
  export interface IHttpRetryPolicy {
5
5
  _isNewRequest?: boolean;
6
6
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"IHttpRetryPolicy.d.ts","sourceRoot":"","sources":["../../../src/retry/IHttpRetryPolicy.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,MAAM,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C,MAAM,WAAW,gBAAgB;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAC;IAGxB;;;;;;;OAOG;IACH,aAAa,CACT,cAAc,EAAE,MAAM,EACtB,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,MAAM,EACd,gBAAgB,CAAC,EAAE,mBAAmB,CAAC,aAAa,CAAC,GACtD,OAAO,CAAC,OAAO,CAAC,CAAC;CACvB"}
1
+ {"version":3,"file":"IHttpRetryPolicy.d.ts","sourceRoot":"","sources":["../../../src/retry/IHttpRetryPolicy.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,MAAM,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEjD,MAAM,WAAW,gBAAgB;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAC;IAGxB;;;;;;;OAOG;IACH,aAAa,CACT,cAAc,EAAE,MAAM,EACtB,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,MAAM,EACd,gBAAgB,CAAC,EAAE,mBAAmB,CAAC,aAAa,CAAC,GACtD,OAAO,CAAC,OAAO,CAAC,CAAC;CACvB"}
@@ -1,4 +1,4 @@
1
- import { Logger } from "@azure/msal-common";
1
+ import { Logger } from "@azure/msal-common/node";
2
2
  import { IHttpRetryPolicy } from "./IHttpRetryPolicy.js";
3
3
  export declare class ImdsRetryPolicy implements IHttpRetryPolicy {
4
4
  static get MIN_EXPONENTIAL_BACKOFF_MS(): number;
@@ -1 +1 @@
1
- {"version":3,"file":"ImdsRetryPolicy.d.ts","sourceRoot":"","sources":["../../../src/retry/ImdsRetryPolicy.ts"],"names":[],"mappings":"AAKA,OAAO,EAAc,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAExD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAkBzD,qBAAa,eAAgB,YAAW,gBAAgB;IAKpD,MAAM,KAAK,0BAA0B,IAAI,MAAM,CAE9C;IACD,MAAM,KAAK,0BAA0B,IAAI,MAAM,CAE9C;IACD,MAAM,KAAK,4BAA4B,IAAI,MAAM,CAEhD;IACD,MAAM,KAAK,+BAA+B,IAAI,MAAM,CAEnD;IAEM,aAAa,EAAE,OAAO,CAAC;IAC9B,IAAI,YAAY,CAAC,KAAK,EAAE,OAAO,EAE9B;IAED,OAAO,CAAC,UAAU,CAAS;IAE3B,OAAO,CAAC,wBAAwB,CAK1B;IAEN;;;;;;;OAOG;IACG,aAAa,CACf,cAAc,EAAE,MAAM,EACtB,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,MAAM,GACf,OAAO,CAAC,OAAO,CAAC;CAmDtB"}
1
+ {"version":3,"file":"ImdsRetryPolicy.d.ts","sourceRoot":"","sources":["../../../src/retry/ImdsRetryPolicy.ts"],"names":[],"mappings":"AAKA,OAAO,EAAa,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAkBzD,qBAAa,eAAgB,YAAW,gBAAgB;IAKpD,MAAM,KAAK,0BAA0B,IAAI,MAAM,CAE9C;IACD,MAAM,KAAK,0BAA0B,IAAI,MAAM,CAE9C;IACD,MAAM,KAAK,4BAA4B,IAAI,MAAM,CAEhD;IACD,MAAM,KAAK,+BAA+B,IAAI,MAAM,CAEnD;IAEM,aAAa,EAAE,OAAO,CAAC;IAC9B,IAAI,YAAY,CAAC,KAAK,EAAE,OAAO,EAE9B;IAED,OAAO,CAAC,UAAU,CAAS;IAE3B,OAAO,CAAC,wBAAwB,CAK1B;IAEN;;;;;;;OAOG;IACG,aAAa,CACf,cAAc,EAAE,MAAM,EACtB,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,MAAM,GACf,OAAO,CAAC,OAAO,CAAC;CAoDtB"}
@@ -69,17 +69,10 @@ export type ManagedIdentityIdType = (typeof ManagedIdentityIdType)[keyof typeof
69
69
  * http methods
70
70
  */
71
71
  export declare const HttpMethod: {
72
- readonly GET: "get";
73
- readonly POST: "post";
72
+ readonly GET: "GET";
73
+ readonly POST: "POST";
74
74
  };
75
75
  export type HttpMethod = (typeof HttpMethod)[keyof typeof HttpMethod];
76
- export declare const ProxyStatus: {
77
- readonly SUCCESS: 200;
78
- readonly SUCCESS_RANGE_START: 200;
79
- readonly SUCCESS_RANGE_END: 299;
80
- readonly SERVER_ERROR: 500;
81
- };
82
- export type ProxyStatus = (typeof ProxyStatus)[keyof typeof ProxyStatus];
83
76
  /**
84
77
  * Constants used for region discovery
85
78
  */
@@ -1 +1 @@
1
- {"version":3,"file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,eAAO,MAAM,KAAK;;;;;;;CAOjB,CAAC;AACF,MAAM,MAAM,KAAK,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,OAAO,KAAK,CAAC,CAAC;AAEvD;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;CAaxB,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;CAGrC,CAAC;AAEF,eAAO,MAAM,oCAAoC,EAAE,MAAa,CAAC;AAEjE,MAAM,MAAM,aAAa,GAAG,iCAAiC,GAAG,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"EncodingUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/EncodingUtils.ts"],"names":[],"mappings":";AAOA,qBAAa,aAAa;IACtB;;;;;OAKG;IACH,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,cAAc,GAAG,MAAM;IAInE;;;OAGG;IACH,MAAM,CAAC,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,cAAc,GAAG,MAAM;IAOtE;;;;;OAKG;IACH,MAAM,CAAC,YAAY,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;IAI9C;;OAEG;IACH,MAAM,CAAC,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;CAOpD"}
1
+ {"version":3,"file":"EncodingUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/EncodingUtils.ts"],"names":[],"mappings":";AAOA,qBAAa,aAAa;IACtB;;;;;OAKG;IACH,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,cAAc,GAAG,MAAM;IAMnE;;;OAGG;IACH,MAAM,CAAC,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,cAAc,GAAG,MAAM;IAOtE;;;;;OAKG;IACH,MAAM,CAAC,YAAY,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;IAM9C;;OAEG;IACH,MAAM,CAAC,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;CAOpD"}