@azure/msal-node 5.1.4 → 5.2.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 (368) hide show
  1. package/dist/cache/CacheHelpers.mjs +1 -1
  2. package/dist/cache/NodeStorage.mjs +5 -2
  3. package/dist/cache/NodeStorage.mjs.map +1 -1
  4. package/dist/cache/TokenCache.mjs +1 -1
  5. package/dist/cache/distributed/DistributedCachePlugin.mjs +1 -1
  6. package/dist/cache/serializer/Deserializer.mjs +1 -1
  7. package/dist/cache/serializer/Serializer.mjs +1 -1
  8. package/dist/client/BaseClient.mjs +1 -1
  9. package/dist/client/ClientApplication.mjs +2 -2
  10. package/dist/client/ClientAssertion.mjs +1 -1
  11. package/dist/client/ClientCredentialClient.mjs +1 -1
  12. package/dist/client/ConfidentialClientApplication.mjs +1 -1
  13. package/dist/client/DeviceCodeClient.mjs +1 -1
  14. package/dist/client/ManagedIdentityApplication.mjs +1 -1
  15. package/dist/client/ManagedIdentityClient.mjs +1 -1
  16. package/dist/client/ManagedIdentitySources/AppService.mjs +1 -1
  17. package/dist/client/ManagedIdentitySources/AzureArc.mjs +1 -1
  18. package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.mjs +9 -1
  19. package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.mjs.map +1 -1
  20. package/dist/client/ManagedIdentitySources/CloudShell.mjs +1 -1
  21. package/dist/client/ManagedIdentitySources/Imds.mjs +8 -2
  22. package/dist/client/ManagedIdentitySources/Imds.mjs.map +1 -1
  23. package/dist/client/ManagedIdentitySources/MachineLearning.mjs +1 -1
  24. package/dist/client/ManagedIdentitySources/ServiceFabric.mjs +1 -1
  25. package/dist/client/OnBehalfOfClient.mjs +1 -1
  26. package/dist/client/PublicClientApplication.mjs +1 -1
  27. package/dist/client/UsernamePasswordClient.mjs +1 -1
  28. package/dist/config/Configuration.mjs +1 -1
  29. package/dist/config/ManagedIdentityId.mjs +1 -1
  30. package/dist/config/ManagedIdentityRequestParameters.mjs +1 -1
  31. package/dist/crypto/CryptoProvider.mjs +1 -1
  32. package/dist/crypto/GuidGenerator.mjs +5 -6
  33. package/dist/crypto/GuidGenerator.mjs.map +1 -1
  34. package/dist/crypto/HashUtils.mjs +1 -1
  35. package/dist/crypto/PkceGenerator.mjs +1 -1
  36. package/dist/error/ClientAuthErrorCodes.mjs +1 -1
  37. package/dist/error/ManagedIdentityError.mjs +1 -1
  38. package/dist/error/ManagedIdentityErrorCodes.mjs +1 -1
  39. package/dist/error/NodeAuthError.mjs +1 -1
  40. package/dist/index.mjs +1 -1
  41. package/dist/internals.mjs +1 -1
  42. package/dist/network/HttpClient.mjs +1 -1
  43. package/dist/network/HttpClientWithRetries.mjs +1 -1
  44. package/dist/network/LoopbackClient.mjs +1 -1
  45. package/dist/packageMetadata.mjs +2 -2
  46. package/dist/protocol/Authorize.mjs +1 -1
  47. package/dist/retry/DefaultManagedIdentityRetryPolicy.mjs +1 -1
  48. package/dist/retry/ExponentialRetryStrategy.mjs +1 -1
  49. package/dist/retry/ImdsRetryPolicy.mjs +1 -1
  50. package/dist/retry/LinearRetryStrategy.mjs +1 -1
  51. package/dist/utils/Constants.mjs +6 -1
  52. package/dist/utils/Constants.mjs.map +1 -1
  53. package/dist/utils/EncodingUtils.mjs +1 -1
  54. package/dist/utils/TimeUtils.mjs +1 -1
  55. package/lib/msal-node.cjs +92 -72
  56. package/lib/msal-node.cjs.map +1 -1
  57. package/package.json +10 -10
  58. package/src/cache/NodeStorage.ts +4 -1
  59. package/src/client/ClientApplication.ts +1 -1
  60. package/src/client/IConfidentialClientApplication.ts +1 -1
  61. package/src/client/IPublicClientApplication.ts +1 -1
  62. package/src/client/ManagedIdentitySources/BaseManagedIdentitySource.ts +9 -0
  63. package/src/client/ManagedIdentitySources/Imds.ts +7 -0
  64. package/src/crypto/GuidGenerator.ts +4 -5
  65. package/src/packageMetadata.ts +1 -1
  66. package/src/utils/Constants.ts +4 -0
  67. package/{dist → types}/cache/NodeStorage.d.ts +1 -1
  68. package/{dist → types}/cache/NodeStorage.d.ts.map +1 -1
  69. package/{lib/types → types}/client/ClientApplication.d.ts +1 -1
  70. package/{lib/types → types}/client/IConfidentialClientApplication.d.ts +1 -1
  71. package/{dist → types}/client/IConfidentialClientApplication.d.ts.map +1 -1
  72. package/{dist → types}/client/IPublicClientApplication.d.ts +1 -1
  73. package/{dist → types}/client/IPublicClientApplication.d.ts.map +1 -1
  74. package/{dist → types}/client/ManagedIdentitySources/BaseManagedIdentitySource.d.ts +6 -0
  75. package/{dist → types}/client/ManagedIdentitySources/BaseManagedIdentitySource.d.ts.map +1 -1
  76. package/{dist → types}/client/ManagedIdentitySources/Imds.d.ts.map +1 -1
  77. package/{dist → types}/crypto/GuidGenerator.d.ts +2 -3
  78. package/{dist → types}/crypto/GuidGenerator.d.ts.map +1 -1
  79. package/types/index.d.cts +1 -0
  80. package/types/packageMetadata.d.ts +3 -0
  81. package/{lib/types → types}/utils/Constants.d.ts +3 -0
  82. package/{lib/types → types}/utils/Constants.d.ts.map +1 -1
  83. package/dist/client/ClientApplication.d.ts +0 -146
  84. package/dist/client/IConfidentialClientApplication.d.ts +0 -43
  85. package/dist/packageMetadata.d.ts +0 -3
  86. package/dist/utils/Constants.d.ts +0 -156
  87. package/dist/utils/Constants.d.ts.map +0 -1
  88. package/lib/types/cache/CacheHelpers.d.ts +0 -4
  89. package/lib/types/cache/CacheHelpers.d.ts.map +0 -1
  90. package/lib/types/cache/ITokenCache.d.ts +0 -16
  91. package/lib/types/cache/ITokenCache.d.ts.map +0 -1
  92. package/lib/types/cache/NodeStorage.d.ts +0 -191
  93. package/lib/types/cache/NodeStorage.d.ts.map +0 -1
  94. package/lib/types/cache/TokenCache.d.ts +0 -99
  95. package/lib/types/cache/TokenCache.d.ts.map +0 -1
  96. package/lib/types/cache/distributed/DistributedCachePlugin.d.ts +0 -23
  97. package/lib/types/cache/distributed/DistributedCachePlugin.d.ts.map +0 -1
  98. package/lib/types/cache/distributed/ICacheClient.d.ts +0 -22
  99. package/lib/types/cache/distributed/ICacheClient.d.ts.map +0 -1
  100. package/lib/types/cache/distributed/IPartitionManager.d.ts +0 -33
  101. package/lib/types/cache/distributed/IPartitionManager.d.ts.map +0 -1
  102. package/lib/types/cache/serializer/Deserializer.d.ts +0 -44
  103. package/lib/types/cache/serializer/Deserializer.d.ts.map +0 -1
  104. package/lib/types/cache/serializer/Serializer.d.ts +0 -44
  105. package/lib/types/cache/serializer/Serializer.d.ts.map +0 -1
  106. package/lib/types/cache/serializer/SerializerTypes.d.ts +0 -102
  107. package/lib/types/cache/serializer/SerializerTypes.d.ts.map +0 -1
  108. package/lib/types/client/BaseClient.d.ts +0 -42
  109. package/lib/types/client/BaseClient.d.ts.map +0 -1
  110. package/lib/types/client/ClientApplication.d.ts.map +0 -1
  111. package/lib/types/client/ClientAssertion.d.ts +0 -56
  112. package/lib/types/client/ClientAssertion.d.ts.map +0 -1
  113. package/lib/types/client/ClientCredentialClient.d.ts +0 -37
  114. package/lib/types/client/ClientCredentialClient.d.ts.map +0 -1
  115. package/lib/types/client/ConfidentialClientApplication.d.ts +0 -58
  116. package/lib/types/client/ConfidentialClientApplication.d.ts.map +0 -1
  117. package/lib/types/client/DeviceCodeClient.d.ts +0 -60
  118. package/lib/types/client/DeviceCodeClient.d.ts.map +0 -1
  119. package/lib/types/client/IConfidentialClientApplication.d.ts.map +0 -1
  120. package/lib/types/client/IPublicClientApplication.d.ts +0 -46
  121. package/lib/types/client/IPublicClientApplication.d.ts.map +0 -1
  122. package/lib/types/client/ManagedIdentityApplication.d.ts +0 -42
  123. package/lib/types/client/ManagedIdentityApplication.d.ts.map +0 -1
  124. package/lib/types/client/ManagedIdentityClient.d.ts +0 -29
  125. package/lib/types/client/ManagedIdentityClient.d.ts.map +0 -1
  126. package/lib/types/client/ManagedIdentitySources/AppService.d.ts +0 -72
  127. package/lib/types/client/ManagedIdentitySources/AppService.d.ts.map +0 -1
  128. package/lib/types/client/ManagedIdentitySources/AzureArc.d.ts +0 -109
  129. package/lib/types/client/ManagedIdentitySources/AzureArc.d.ts.map +0 -1
  130. package/lib/types/client/ManagedIdentitySources/BaseManagedIdentitySource.d.ts +0 -125
  131. package/lib/types/client/ManagedIdentitySources/BaseManagedIdentitySource.d.ts.map +0 -1
  132. package/lib/types/client/ManagedIdentitySources/CloudShell.d.ts +0 -71
  133. package/lib/types/client/ManagedIdentitySources/CloudShell.d.ts.map +0 -1
  134. package/lib/types/client/ManagedIdentitySources/Imds.d.ts +0 -67
  135. package/lib/types/client/ManagedIdentitySources/Imds.d.ts.map +0 -1
  136. package/lib/types/client/ManagedIdentitySources/MachineLearning.d.ts +0 -81
  137. package/lib/types/client/ManagedIdentitySources/MachineLearning.d.ts.map +0 -1
  138. package/lib/types/client/ManagedIdentitySources/ServiceFabric.d.ts +0 -82
  139. package/lib/types/client/ManagedIdentitySources/ServiceFabric.d.ts.map +0 -1
  140. package/lib/types/client/OnBehalfOfClient.d.ts +0 -50
  141. package/lib/types/client/OnBehalfOfClient.d.ts.map +0 -1
  142. package/lib/types/client/PublicClientApplication.d.ts +0 -85
  143. package/lib/types/client/PublicClientApplication.d.ts.map +0 -1
  144. package/lib/types/client/UsernamePasswordClient.d.ts +0 -30
  145. package/lib/types/client/UsernamePasswordClient.d.ts.map +0 -1
  146. package/lib/types/config/Configuration.d.ts +0 -131
  147. package/lib/types/config/Configuration.d.ts.map +0 -1
  148. package/lib/types/config/ManagedIdentityId.d.ts +0 -12
  149. package/lib/types/config/ManagedIdentityId.d.ts.map +0 -1
  150. package/lib/types/config/ManagedIdentityRequestParameters.d.ts +0 -13
  151. package/lib/types/config/ManagedIdentityRequestParameters.d.ts.map +0 -1
  152. package/lib/types/crypto/CryptoProvider.d.ts +0 -63
  153. package/lib/types/crypto/CryptoProvider.d.ts.map +0 -1
  154. package/lib/types/crypto/GuidGenerator.d.ts +0 -15
  155. package/lib/types/crypto/GuidGenerator.d.ts.map +0 -1
  156. package/lib/types/crypto/HashUtils.d.ts +0 -10
  157. package/lib/types/crypto/HashUtils.d.ts.map +0 -1
  158. package/lib/types/crypto/PkceGenerator.d.ts +0 -23
  159. package/lib/types/crypto/PkceGenerator.d.ts.map +0 -1
  160. package/lib/types/error/ClientAuthErrorCodes.d.ts +0 -8
  161. package/lib/types/error/ClientAuthErrorCodes.d.ts.map +0 -1
  162. package/lib/types/error/ManagedIdentityError.d.ts +0 -31
  163. package/lib/types/error/ManagedIdentityError.d.ts.map +0 -1
  164. package/lib/types/error/ManagedIdentityErrorCodes.d.ts +0 -23
  165. package/lib/types/error/ManagedIdentityErrorCodes.d.ts.map +0 -1
  166. package/lib/types/error/NodeAuthError.d.ts +0 -82
  167. package/lib/types/error/NodeAuthError.d.ts.map +0 -1
  168. package/lib/types/index.d.ts +0 -54
  169. package/lib/types/index.d.ts.map +0 -1
  170. package/lib/types/internals.d.ts +0 -7
  171. package/lib/types/internals.d.ts.map +0 -1
  172. package/lib/types/network/HttpClient.d.ts +0 -66
  173. package/lib/types/network/HttpClient.d.ts.map +0 -1
  174. package/lib/types/network/HttpClientWithRetries.d.ts +0 -13
  175. package/lib/types/network/HttpClientWithRetries.d.ts.map +0 -1
  176. package/lib/types/network/ILoopbackClient.d.ts +0 -11
  177. package/lib/types/network/ILoopbackClient.d.ts.map +0 -1
  178. package/lib/types/network/LoopbackClient.d.ts +0 -22
  179. package/lib/types/network/LoopbackClient.d.ts.map +0 -1
  180. package/lib/types/packageMetadata.d.ts +0 -3
  181. package/lib/types/packageMetadata.d.ts.map +0 -1
  182. package/lib/types/protocol/Authorize.d.ts +0 -12
  183. package/lib/types/protocol/Authorize.d.ts.map +0 -1
  184. package/lib/types/request/AuthorizationCodeRequest.d.ts +0 -24
  185. package/lib/types/request/AuthorizationCodeRequest.d.ts.map +0 -1
  186. package/lib/types/request/AuthorizationUrlRequest.d.ts +0 -16
  187. package/lib/types/request/AuthorizationUrlRequest.d.ts.map +0 -1
  188. package/lib/types/request/ClientCredentialRequest.d.ts +0 -13
  189. package/lib/types/request/ClientCredentialRequest.d.ts.map +0 -1
  190. package/lib/types/request/CommonClientCredentialRequest.d.ts +0 -19
  191. package/lib/types/request/CommonClientCredentialRequest.d.ts.map +0 -1
  192. package/lib/types/request/CommonDeviceCodeRequest.d.ts +0 -23
  193. package/lib/types/request/CommonDeviceCodeRequest.d.ts.map +0 -1
  194. package/lib/types/request/CommonOnBehalfOfRequest.d.ts +0 -15
  195. package/lib/types/request/CommonOnBehalfOfRequest.d.ts.map +0 -1
  196. package/lib/types/request/CommonUsernamePasswordRequest.d.ts +0 -16
  197. package/lib/types/request/CommonUsernamePasswordRequest.d.ts.map +0 -1
  198. package/lib/types/request/DeviceCodeRequest.d.ts +0 -17
  199. package/lib/types/request/DeviceCodeRequest.d.ts.map +0 -1
  200. package/lib/types/request/InteractiveRequest.d.ts +0 -35
  201. package/lib/types/request/InteractiveRequest.d.ts.map +0 -1
  202. package/lib/types/request/ManagedIdentityRequest.d.ts +0 -16
  203. package/lib/types/request/ManagedIdentityRequest.d.ts.map +0 -1
  204. package/lib/types/request/ManagedIdentityRequestParams.d.ts +0 -19
  205. package/lib/types/request/ManagedIdentityRequestParams.d.ts.map +0 -1
  206. package/lib/types/request/OnBehalfOfRequest.d.ts +0 -16
  207. package/lib/types/request/OnBehalfOfRequest.d.ts.map +0 -1
  208. package/lib/types/request/RefreshTokenRequest.d.ts +0 -20
  209. package/lib/types/request/RefreshTokenRequest.d.ts.map +0 -1
  210. package/lib/types/request/SignOutRequest.d.ts +0 -7
  211. package/lib/types/request/SignOutRequest.d.ts.map +0 -1
  212. package/lib/types/request/SilentFlowRequest.d.ts +0 -16
  213. package/lib/types/request/SilentFlowRequest.d.ts.map +0 -1
  214. package/lib/types/request/UsernamePasswordRequest.d.ts +0 -21
  215. package/lib/types/request/UsernamePasswordRequest.d.ts.map +0 -1
  216. package/lib/types/response/ManagedIdentityTokenResponse.d.ts +0 -35
  217. package/lib/types/response/ManagedIdentityTokenResponse.d.ts.map +0 -1
  218. package/lib/types/retry/DefaultManagedIdentityRetryPolicy.d.ts +0 -11
  219. package/lib/types/retry/DefaultManagedIdentityRetryPolicy.d.ts.map +0 -1
  220. package/lib/types/retry/ExponentialRetryStrategy.d.ts +0 -23
  221. package/lib/types/retry/ExponentialRetryStrategy.d.ts.map +0 -1
  222. package/lib/types/retry/IHttpRetryPolicy.d.ts +0 -16
  223. package/lib/types/retry/IHttpRetryPolicy.d.ts.map +0 -1
  224. package/lib/types/retry/ImdsRetryPolicy.d.ts +0 -22
  225. package/lib/types/retry/ImdsRetryPolicy.d.ts.map +0 -1
  226. package/lib/types/retry/LinearRetryStrategy.d.ts +0 -14
  227. package/lib/types/retry/LinearRetryStrategy.d.ts.map +0 -1
  228. package/lib/types/utils/EncodingUtils.d.ts +0 -27
  229. package/lib/types/utils/EncodingUtils.d.ts.map +0 -1
  230. package/lib/types/utils/NetworkUtils.d.ts +0 -17
  231. package/lib/types/utils/NetworkUtils.d.ts.map +0 -1
  232. package/lib/types/utils/TimeUtils.d.ts +0 -9
  233. package/lib/types/utils/TimeUtils.d.ts.map +0 -1
  234. /package/{dist → types}/cache/CacheHelpers.d.ts +0 -0
  235. /package/{dist → types}/cache/CacheHelpers.d.ts.map +0 -0
  236. /package/{dist → types}/cache/ITokenCache.d.ts +0 -0
  237. /package/{dist → types}/cache/ITokenCache.d.ts.map +0 -0
  238. /package/{dist → types}/cache/TokenCache.d.ts +0 -0
  239. /package/{dist → types}/cache/TokenCache.d.ts.map +0 -0
  240. /package/{dist → types}/cache/distributed/DistributedCachePlugin.d.ts +0 -0
  241. /package/{dist → types}/cache/distributed/DistributedCachePlugin.d.ts.map +0 -0
  242. /package/{dist → types}/cache/distributed/ICacheClient.d.ts +0 -0
  243. /package/{dist → types}/cache/distributed/ICacheClient.d.ts.map +0 -0
  244. /package/{dist → types}/cache/distributed/IPartitionManager.d.ts +0 -0
  245. /package/{dist → types}/cache/distributed/IPartitionManager.d.ts.map +0 -0
  246. /package/{dist → types}/cache/serializer/Deserializer.d.ts +0 -0
  247. /package/{dist → types}/cache/serializer/Deserializer.d.ts.map +0 -0
  248. /package/{dist → types}/cache/serializer/Serializer.d.ts +0 -0
  249. /package/{dist → types}/cache/serializer/Serializer.d.ts.map +0 -0
  250. /package/{dist → types}/cache/serializer/SerializerTypes.d.ts +0 -0
  251. /package/{dist → types}/cache/serializer/SerializerTypes.d.ts.map +0 -0
  252. /package/{dist → types}/client/BaseClient.d.ts +0 -0
  253. /package/{dist → types}/client/BaseClient.d.ts.map +0 -0
  254. /package/{dist → types}/client/ClientApplication.d.ts.map +0 -0
  255. /package/{dist → types}/client/ClientAssertion.d.ts +0 -0
  256. /package/{dist → types}/client/ClientAssertion.d.ts.map +0 -0
  257. /package/{dist → types}/client/ClientCredentialClient.d.ts +0 -0
  258. /package/{dist → types}/client/ClientCredentialClient.d.ts.map +0 -0
  259. /package/{dist → types}/client/ConfidentialClientApplication.d.ts +0 -0
  260. /package/{dist → types}/client/ConfidentialClientApplication.d.ts.map +0 -0
  261. /package/{dist → types}/client/DeviceCodeClient.d.ts +0 -0
  262. /package/{dist → types}/client/DeviceCodeClient.d.ts.map +0 -0
  263. /package/{dist → types}/client/ManagedIdentityApplication.d.ts +0 -0
  264. /package/{dist → types}/client/ManagedIdentityApplication.d.ts.map +0 -0
  265. /package/{dist → types}/client/ManagedIdentityClient.d.ts +0 -0
  266. /package/{dist → types}/client/ManagedIdentityClient.d.ts.map +0 -0
  267. /package/{dist → types}/client/ManagedIdentitySources/AppService.d.ts +0 -0
  268. /package/{dist → types}/client/ManagedIdentitySources/AppService.d.ts.map +0 -0
  269. /package/{dist → types}/client/ManagedIdentitySources/AzureArc.d.ts +0 -0
  270. /package/{dist → types}/client/ManagedIdentitySources/AzureArc.d.ts.map +0 -0
  271. /package/{dist → types}/client/ManagedIdentitySources/CloudShell.d.ts +0 -0
  272. /package/{dist → types}/client/ManagedIdentitySources/CloudShell.d.ts.map +0 -0
  273. /package/{dist → types}/client/ManagedIdentitySources/Imds.d.ts +0 -0
  274. /package/{dist → types}/client/ManagedIdentitySources/MachineLearning.d.ts +0 -0
  275. /package/{dist → types}/client/ManagedIdentitySources/MachineLearning.d.ts.map +0 -0
  276. /package/{dist → types}/client/ManagedIdentitySources/ServiceFabric.d.ts +0 -0
  277. /package/{dist → types}/client/ManagedIdentitySources/ServiceFabric.d.ts.map +0 -0
  278. /package/{dist → types}/client/OnBehalfOfClient.d.ts +0 -0
  279. /package/{dist → types}/client/OnBehalfOfClient.d.ts.map +0 -0
  280. /package/{dist → types}/client/PublicClientApplication.d.ts +0 -0
  281. /package/{dist → types}/client/PublicClientApplication.d.ts.map +0 -0
  282. /package/{dist → types}/client/UsernamePasswordClient.d.ts +0 -0
  283. /package/{dist → types}/client/UsernamePasswordClient.d.ts.map +0 -0
  284. /package/{dist → types}/config/Configuration.d.ts +0 -0
  285. /package/{dist → types}/config/Configuration.d.ts.map +0 -0
  286. /package/{dist → types}/config/ManagedIdentityId.d.ts +0 -0
  287. /package/{dist → types}/config/ManagedIdentityId.d.ts.map +0 -0
  288. /package/{dist → types}/config/ManagedIdentityRequestParameters.d.ts +0 -0
  289. /package/{dist → types}/config/ManagedIdentityRequestParameters.d.ts.map +0 -0
  290. /package/{dist → types}/crypto/CryptoProvider.d.ts +0 -0
  291. /package/{dist → types}/crypto/CryptoProvider.d.ts.map +0 -0
  292. /package/{dist → types}/crypto/HashUtils.d.ts +0 -0
  293. /package/{dist → types}/crypto/HashUtils.d.ts.map +0 -0
  294. /package/{dist → types}/crypto/PkceGenerator.d.ts +0 -0
  295. /package/{dist → types}/crypto/PkceGenerator.d.ts.map +0 -0
  296. /package/{dist → types}/error/ClientAuthErrorCodes.d.ts +0 -0
  297. /package/{dist → types}/error/ClientAuthErrorCodes.d.ts.map +0 -0
  298. /package/{dist → types}/error/ManagedIdentityError.d.ts +0 -0
  299. /package/{dist → types}/error/ManagedIdentityError.d.ts.map +0 -0
  300. /package/{dist → types}/error/ManagedIdentityErrorCodes.d.ts +0 -0
  301. /package/{dist → types}/error/ManagedIdentityErrorCodes.d.ts.map +0 -0
  302. /package/{dist → types}/error/NodeAuthError.d.ts +0 -0
  303. /package/{dist → types}/error/NodeAuthError.d.ts.map +0 -0
  304. /package/{dist → types}/index.d.ts +0 -0
  305. /package/{dist → types}/index.d.ts.map +0 -0
  306. /package/{dist → types}/internals.d.ts +0 -0
  307. /package/{dist → types}/internals.d.ts.map +0 -0
  308. /package/{dist → types}/network/HttpClient.d.ts +0 -0
  309. /package/{dist → types}/network/HttpClient.d.ts.map +0 -0
  310. /package/{dist → types}/network/HttpClientWithRetries.d.ts +0 -0
  311. /package/{dist → types}/network/HttpClientWithRetries.d.ts.map +0 -0
  312. /package/{dist → types}/network/ILoopbackClient.d.ts +0 -0
  313. /package/{dist → types}/network/ILoopbackClient.d.ts.map +0 -0
  314. /package/{dist → types}/network/LoopbackClient.d.ts +0 -0
  315. /package/{dist → types}/network/LoopbackClient.d.ts.map +0 -0
  316. /package/{dist → types}/packageMetadata.d.ts.map +0 -0
  317. /package/{dist → types}/protocol/Authorize.d.ts +0 -0
  318. /package/{dist → types}/protocol/Authorize.d.ts.map +0 -0
  319. /package/{dist → types}/request/AuthorizationCodeRequest.d.ts +0 -0
  320. /package/{dist → types}/request/AuthorizationCodeRequest.d.ts.map +0 -0
  321. /package/{dist → types}/request/AuthorizationUrlRequest.d.ts +0 -0
  322. /package/{dist → types}/request/AuthorizationUrlRequest.d.ts.map +0 -0
  323. /package/{dist → types}/request/ClientCredentialRequest.d.ts +0 -0
  324. /package/{dist → types}/request/ClientCredentialRequest.d.ts.map +0 -0
  325. /package/{dist → types}/request/CommonClientCredentialRequest.d.ts +0 -0
  326. /package/{dist → types}/request/CommonClientCredentialRequest.d.ts.map +0 -0
  327. /package/{dist → types}/request/CommonDeviceCodeRequest.d.ts +0 -0
  328. /package/{dist → types}/request/CommonDeviceCodeRequest.d.ts.map +0 -0
  329. /package/{dist → types}/request/CommonOnBehalfOfRequest.d.ts +0 -0
  330. /package/{dist → types}/request/CommonOnBehalfOfRequest.d.ts.map +0 -0
  331. /package/{dist → types}/request/CommonUsernamePasswordRequest.d.ts +0 -0
  332. /package/{dist → types}/request/CommonUsernamePasswordRequest.d.ts.map +0 -0
  333. /package/{dist → types}/request/DeviceCodeRequest.d.ts +0 -0
  334. /package/{dist → types}/request/DeviceCodeRequest.d.ts.map +0 -0
  335. /package/{dist → types}/request/InteractiveRequest.d.ts +0 -0
  336. /package/{dist → types}/request/InteractiveRequest.d.ts.map +0 -0
  337. /package/{dist → types}/request/ManagedIdentityRequest.d.ts +0 -0
  338. /package/{dist → types}/request/ManagedIdentityRequest.d.ts.map +0 -0
  339. /package/{dist → types}/request/ManagedIdentityRequestParams.d.ts +0 -0
  340. /package/{dist → types}/request/ManagedIdentityRequestParams.d.ts.map +0 -0
  341. /package/{dist → types}/request/OnBehalfOfRequest.d.ts +0 -0
  342. /package/{dist → types}/request/OnBehalfOfRequest.d.ts.map +0 -0
  343. /package/{dist → types}/request/RefreshTokenRequest.d.ts +0 -0
  344. /package/{dist → types}/request/RefreshTokenRequest.d.ts.map +0 -0
  345. /package/{dist → types}/request/SignOutRequest.d.ts +0 -0
  346. /package/{dist → types}/request/SignOutRequest.d.ts.map +0 -0
  347. /package/{dist → types}/request/SilentFlowRequest.d.ts +0 -0
  348. /package/{dist → types}/request/SilentFlowRequest.d.ts.map +0 -0
  349. /package/{dist → types}/request/UsernamePasswordRequest.d.ts +0 -0
  350. /package/{dist → types}/request/UsernamePasswordRequest.d.ts.map +0 -0
  351. /package/{dist → types}/response/ManagedIdentityTokenResponse.d.ts +0 -0
  352. /package/{dist → types}/response/ManagedIdentityTokenResponse.d.ts.map +0 -0
  353. /package/{dist → types}/retry/DefaultManagedIdentityRetryPolicy.d.ts +0 -0
  354. /package/{dist → types}/retry/DefaultManagedIdentityRetryPolicy.d.ts.map +0 -0
  355. /package/{dist → types}/retry/ExponentialRetryStrategy.d.ts +0 -0
  356. /package/{dist → types}/retry/ExponentialRetryStrategy.d.ts.map +0 -0
  357. /package/{dist → types}/retry/IHttpRetryPolicy.d.ts +0 -0
  358. /package/{dist → types}/retry/IHttpRetryPolicy.d.ts.map +0 -0
  359. /package/{dist → types}/retry/ImdsRetryPolicy.d.ts +0 -0
  360. /package/{dist → types}/retry/ImdsRetryPolicy.d.ts.map +0 -0
  361. /package/{dist → types}/retry/LinearRetryStrategy.d.ts +0 -0
  362. /package/{dist → types}/retry/LinearRetryStrategy.d.ts.map +0 -0
  363. /package/{dist → types}/utils/EncodingUtils.d.ts +0 -0
  364. /package/{dist → types}/utils/EncodingUtils.d.ts.map +0 -0
  365. /package/{dist → types}/utils/NetworkUtils.d.ts +0 -0
  366. /package/{dist → types}/utils/NetworkUtils.d.ts.map +0 -0
  367. /package/{dist → types}/utils/TimeUtils.d.ts +0 -0
  368. /package/{dist → types}/utils/TimeUtils.d.ts.map +0 -0
@@ -1,23 +0,0 @@
1
- export declare const invalidFileExtension = "invalid_file_extension";
2
- export declare const invalidFilePath = "invalid_file_path";
3
- export declare const invalidManagedIdentityIdType = "invalid_managed_identity_id_type";
4
- export declare const invalidSecret = "invalid_secret";
5
- export declare const missingId = "missing_client_id";
6
- export declare const networkUnavailable = "network_unavailable";
7
- export declare const platformNotSupported = "platform_not_supported";
8
- export declare const unableToCreateAzureArc = "unable_to_create_azure_arc";
9
- export declare const unableToCreateCloudShell = "unable_to_create_cloud_shell";
10
- export declare const unableToCreateSource = "unable_to_create_source";
11
- export declare const unableToReadSecretFile = "unable_to_read_secret_file";
12
- export declare const urlParseError = "url_parse_error";
13
- export declare const userAssignedNotAvailableAtRuntime = "user_assigned_not_available_at_runtime";
14
- export declare const wwwAuthenticateHeaderMissing = "www_authenticate_header_missing";
15
- export declare const wwwAuthenticateHeaderUnsupportedFormat = "www_authenticate_header_unsupported_format";
16
- export declare const MsiEnvironmentVariableUrlMalformedErrorCodes: {
17
- readonly AZURE_POD_IDENTITY_AUTHORITY_HOST: "azure_pod_identity_authority_host_url_malformed";
18
- readonly IDENTITY_ENDPOINT: "identity_endpoint_url_malformed";
19
- readonly IMDS_ENDPOINT: "imds_endpoint_url_malformed";
20
- readonly MSI_ENDPOINT: "msi_endpoint_url_malformed";
21
- };
22
- export type MsiEnvironmentVariableErrorCodes = (typeof MsiEnvironmentVariableUrlMalformedErrorCodes)[keyof typeof MsiEnvironmentVariableUrlMalformedErrorCodes];
23
- //# sourceMappingURL=ManagedIdentityErrorCodes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ManagedIdentityErrorCodes.d.ts","sourceRoot":"","sources":["../../../src/error/ManagedIdentityErrorCodes.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAC7D,eAAO,MAAM,eAAe,sBAAsB,CAAC;AACnD,eAAO,MAAM,4BAA4B,qCAAqC,CAAC;AAC/E,eAAO,MAAM,aAAa,mBAAmB,CAAC;AAC9C,eAAO,MAAM,SAAS,sBAAsB,CAAC;AAC7C,eAAO,MAAM,kBAAkB,wBAAwB,CAAC;AACxD,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAC7D,eAAO,MAAM,sBAAsB,+BAA+B,CAAC;AACnE,eAAO,MAAM,wBAAwB,iCAAiC,CAAC;AACvE,eAAO,MAAM,oBAAoB,4BAA4B,CAAC;AAC9D,eAAO,MAAM,sBAAsB,+BAA+B,CAAC;AACnE,eAAO,MAAM,aAAa,oBAAoB,CAAC;AAC/C,eAAO,MAAM,iCAAiC,2CACF,CAAC;AAC7C,eAAO,MAAM,4BAA4B,oCAAoC,CAAC;AAC9E,eAAO,MAAM,sCAAsC,+CACH,CAAC;AAEjD,eAAO,MAAM,4CAA4C;;;;;CAS/C,CAAC;AACX,MAAM,MAAM,gCAAgC,GACxC,CAAC,OAAO,4CAA4C,CAAC,CAAC,MAAM,OAAO,4CAA4C,CAAC,CAAC"}
@@ -1,82 +0,0 @@
1
- import { AuthError } from "@azure/msal-common/node";
2
- /**
3
- * NodeAuthErrorMessage class containing string constants used by error codes and messages.
4
- */
5
- export declare const NodeAuthErrorMessage: {
6
- invalidLoopbackAddressType: {
7
- code: string;
8
- desc: string;
9
- };
10
- unableToLoadRedirectUri: {
11
- code: string;
12
- desc: string;
13
- };
14
- noAuthCodeInResponse: {
15
- code: string;
16
- desc: string;
17
- };
18
- noLoopbackServerExists: {
19
- code: string;
20
- desc: string;
21
- };
22
- loopbackServerAlreadyExists: {
23
- code: string;
24
- desc: string;
25
- };
26
- loopbackServerTimeout: {
27
- code: string;
28
- desc: string;
29
- };
30
- stateNotFoundError: {
31
- code: string;
32
- desc: string;
33
- };
34
- thumbprintMissing: {
35
- code: string;
36
- desc: string;
37
- };
38
- redirectUriNotSupported: {
39
- code: string;
40
- desc: string;
41
- };
42
- };
43
- export declare class NodeAuthError extends AuthError {
44
- constructor(errorCode: string, errorMessage?: string);
45
- /**
46
- * Creates an error thrown if loopback server address is of type string.
47
- */
48
- static createInvalidLoopbackAddressTypeError(): NodeAuthError;
49
- /**
50
- * Creates an error thrown if the loopback server is unable to get a url.
51
- */
52
- static createUnableToLoadRedirectUrlError(): NodeAuthError;
53
- /**
54
- * Creates an error thrown if the server response does not contain an auth code.
55
- */
56
- static createNoAuthCodeInResponseError(): NodeAuthError;
57
- /**
58
- * Creates an error thrown if the loopback server has not been spun up yet.
59
- */
60
- static createNoLoopbackServerExistsError(): NodeAuthError;
61
- /**
62
- * Creates an error thrown if a loopback server already exists when attempting to create another one.
63
- */
64
- static createLoopbackServerAlreadyExistsError(): NodeAuthError;
65
- /**
66
- * Creates an error thrown if the loopback server times out registering the auth code listener.
67
- */
68
- static createLoopbackServerTimeoutError(): NodeAuthError;
69
- /**
70
- * Creates an error thrown when the state is not present.
71
- */
72
- static createStateNotFoundError(): NodeAuthError;
73
- /**
74
- * Creates an error thrown when client certificate was provided, but neither the SHA-1 or SHA-256 thumbprints were provided
75
- */
76
- static createThumbprintMissingError(): NodeAuthError;
77
- /**
78
- * Creates an error thrown when redirectUri is provided in an unsupported scenario
79
- */
80
- static createRedirectUriNotSupportedError(): NodeAuthError;
81
- }
82
- //# sourceMappingURL=NodeAuthError.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NodeAuthError.d.ts","sourceRoot":"","sources":["../../../src/error/NodeAuthError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqChC,CAAC;AAEF,qBAAa,aAAc,SAAQ,SAAS;gBAC5B,SAAS,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM;IAKpD;;OAEG;IACH,MAAM,CAAC,qCAAqC,IAAI,aAAa;IAO7D;;OAEG;IACH,MAAM,CAAC,kCAAkC,IAAI,aAAa;IAO1D;;OAEG;IACH,MAAM,CAAC,+BAA+B,IAAI,aAAa;IAOvD;;OAEG;IACH,MAAM,CAAC,iCAAiC,IAAI,aAAa;IAOzD;;OAEG;IACH,MAAM,CAAC,sCAAsC,IAAI,aAAa;IAO9D;;OAEG;IACH,MAAM,CAAC,gCAAgC,IAAI,aAAa;IAOxD;;OAEG;IACH,MAAM,CAAC,wBAAwB,IAAI,aAAa;IAOhD;;OAEG;IACH,MAAM,CAAC,4BAA4B,IAAI,aAAa;IAOpD;;OAEG;IACH,MAAM,CAAC,kCAAkC,IAAI,aAAa;CAM7D"}
@@ -1,54 +0,0 @@
1
- /**
2
- * @packageDocumentation
3
- * @module @azure/msal-node
4
- */
5
- /**
6
- * Warning: This set of exports is purely intended to be used by other MSAL libraries, and should be considered potentially unstable. We strongly discourage using them directly, you do so at your own risk.
7
- * Breaking changes to these APIs will be shipped under a minor version, instead of a major version.
8
- */
9
- import * as internals from "./internals.js";
10
- export { internals };
11
- export { IPublicClientApplication } from "./client/IPublicClientApplication.js";
12
- export { IConfidentialClientApplication } from "./client/IConfidentialClientApplication.js";
13
- export { ITokenCache } from "./cache/ITokenCache.js";
14
- export { ICacheClient } from "./cache/distributed/ICacheClient.js";
15
- export { IPartitionManager } from "./cache/distributed/IPartitionManager.js";
16
- export { ILoopbackClient } from "./network/ILoopbackClient.js";
17
- export { PublicClientApplication } from "./client/PublicClientApplication.js";
18
- export { ConfidentialClientApplication } from "./client/ConfidentialClientApplication.js";
19
- export { ManagedIdentityApplication } from "./client/ManagedIdentityApplication.js";
20
- export { Configuration, ManagedIdentityConfiguration, ManagedIdentityIdParams, NodeAuthOptions, NodeSystemOptions, BrokerOptions, NodeTelemetryOptions, CacheOptions, } from "./config/Configuration.js";
21
- export { ClientAssertion } from "./client/ClientAssertion.js";
22
- export { TokenCache } from "./cache/TokenCache.js";
23
- export { CacheKVStore, JsonCache, InMemoryCache, SerializedAccountEntity, SerializedIdTokenEntity, SerializedAccessTokenEntity, SerializedAppMetadataEntity, SerializedRefreshTokenEntity, } from "./cache/serializer/SerializerTypes.js";
24
- export { DistributedCachePlugin } from "./cache/distributed/DistributedCachePlugin.js";
25
- export { ManagedIdentitySourceNames } from "./utils/Constants.js";
26
- export type { AuthorizationCodeRequest } from "./request/AuthorizationCodeRequest.js";
27
- export type { AuthorizationUrlRequest } from "./request/AuthorizationUrlRequest.js";
28
- export type { ClientCredentialRequest } from "./request/ClientCredentialRequest.js";
29
- export type { DeviceCodeRequest } from "./request/DeviceCodeRequest.js";
30
- export type { OnBehalfOfRequest } from "./request/OnBehalfOfRequest.js";
31
- export type { UsernamePasswordRequest } from "./request/UsernamePasswordRequest.js";
32
- export type { RefreshTokenRequest } from "./request/RefreshTokenRequest.js";
33
- export type { SilentFlowRequest } from "./request/SilentFlowRequest.js";
34
- export type { InteractiveRequest } from "./request/InteractiveRequest.js";
35
- export type { SignOutRequest } from "./request/SignOutRequest.js";
36
- export type { ManagedIdentityRequestParams } from "./request/ManagedIdentityRequestParams.js";
37
- declare const PromptValue: {
38
- LOGIN: string;
39
- SELECT_ACCOUNT: string;
40
- CONSENT: string;
41
- NONE: string;
42
- CREATE: string;
43
- NO_SESSION: string;
44
- };
45
- declare const ResponseMode: {
46
- readonly QUERY: "query";
47
- readonly FRAGMENT: "fragment";
48
- readonly FORM_POST: "form_post";
49
- };
50
- export { PromptValue, ResponseMode };
51
- export { CryptoProvider } from "./crypto/CryptoProvider.js";
52
- export { AuthorizationCodePayload, AuthenticationResult, AuthorizeResponse, IdTokenClaims, AccountInfo, ValidCacheType, AuthError, AuthErrorCodes, ClientAuthError, ClientAuthErrorCodes, ClientConfigurationError, ClientConfigurationErrorCodes, InteractionRequiredAuthError, InteractionRequiredAuthErrorCodes, ServerError, INetworkModule, NetworkRequestOptions, NetworkResponse, Logger, LogLevel, ProtocolMode, ICachePlugin, TokenCacheContext, ISerializableTokenCache, AzureCloudInstance, AzureCloudOptions, IAppTokenProvider, AppTokenProviderParameters, AppTokenProviderResult, INativeBrokerPlugin, ClientAssertionCallback, } from "@azure/msal-common/node";
53
- export { version } from "./packageMetadata.js";
54
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAKA;;;GAGG;AAEH;;;GAGG;AACH,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAE5C,OAAO,EAAE,SAAS,EAAE,CAAC;AAGrB,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,EAAE,8BAA8B,EAAE,MAAM,4CAA4C,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAG/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AAEpF,OAAO,EACH,aAAa,EACb,4BAA4B,EAC5B,uBAAuB,EACvB,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,oBAAoB,EACpB,YAAY,GACf,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAG9D,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EACH,YAAY,EACZ,SAAS,EACT,aAAa,EACb,uBAAuB,EACvB,uBAAuB,EACvB,2BAA2B,EAC3B,2BAA2B,EAC3B,4BAA4B,GAC/B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AAGvF,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAGlE,YAAY,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACtF,YAAY,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AACpF,YAAY,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AACpF,YAAY,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACxE,YAAY,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACxE,YAAY,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AACpF,YAAY,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,YAAY,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACxE,YAAY,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,YAAY,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAClE,YAAY,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AAE9F,QAAA,MAAM,WAAW;;;;;;;CAA8B,CAAC;AAChD,QAAA,MAAM,YAAY;;;;CAA+B,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,CAAC;AAErC,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAG5D,OAAO,EACH,wBAAwB,EAExB,oBAAoB,EACpB,iBAAiB,EACjB,aAAa,EAEb,WAAW,EACX,cAAc,EAEd,SAAS,EACT,cAAc,EACd,eAAe,EACf,oBAAoB,EACpB,wBAAwB,EACxB,6BAA6B,EAC7B,4BAA4B,EAC5B,iCAAiC,EACjC,WAAW,EAEX,cAAc,EACd,qBAAqB,EACrB,eAAe,EAEf,MAAM,EACN,QAAQ,EAER,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,uBAAuB,EAEvB,kBAAkB,EAClB,iBAAiB,EAEjB,iBAAiB,EACjB,0BAA0B,EAC1B,sBAAsB,EACtB,mBAAmB,EACnB,uBAAuB,GAC1B,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC"}
@@ -1,7 +0,0 @@
1
- /**
2
- * Warning: This set of exports is purely intended to be used by other MSAL libraries, and should be considered potentially unstable. We strongly discourage using them directly, you do so at your own risk.
3
- * Breaking changes to these APIs will be shipped under a minor version, instead of a major version.
4
- */
5
- export { Serializer } from "./cache/serializer/Serializer.js";
6
- export { Deserializer } from "./cache/serializer/Deserializer.js";
7
- //# sourceMappingURL=internals.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"internals.d.ts","sourceRoot":"","sources":["../../src/internals.ts"],"names":[],"mappings":"AAKA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC"}
@@ -1,66 +0,0 @@
1
- import { INetworkModule, NetworkRequestOptions, NetworkResponse } from "@azure/msal-common/node";
2
- /**
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
- */
9
- export declare class HttpClient implements INetworkModule {
10
- /**
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
24
- */
25
- sendGetRequestAsync<T>(url: string, options?: NetworkRequestOptions, timeout?: number): Promise<NetworkResponse<T>>;
26
- /**
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
38
- */
39
- sendPostRequestAsync<T>(url: string, options?: NetworkRequestOptions): Promise<NetworkResponse<T>>;
40
- /**
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
63
- */
64
- private sendRequest;
65
- }
66
- //# sourceMappingURL=HttpClient.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HttpClient.d.ts","sourceRoot":"","sources":["../../../src/network/HttpClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAGH,cAAc,EACd,qBAAqB,EACrB,eAAe,EAGlB,MAAM,yBAAyB,CAAC;AAGjC;;;;;;GAMG;AACH,qBAAa,UAAW,YAAW,cAAc;IAC7C;;;;;;;;;;;;;;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,13 +0,0 @@
1
- import { INetworkModule, Logger, NetworkRequestOptions, NetworkResponse } from "@azure/msal-common/node";
2
- import { IHttpRetryPolicy } from "../retry/IHttpRetryPolicy.js";
3
- export declare class HttpClientWithRetries implements INetworkModule {
4
- private httpClientNoRetries;
5
- private retryPolicy;
6
- private logger;
7
- constructor(httpClientNoRetries: INetworkModule, retryPolicy: IHttpRetryPolicy, logger: Logger);
8
- private sendNetworkRequestAsyncHelper;
9
- private sendNetworkRequestAsync;
10
- sendGetRequestAsync<T>(url: string, options?: NetworkRequestOptions): Promise<NetworkResponse<T>>;
11
- sendPostRequestAsync<T>(url: string, options?: NetworkRequestOptions): Promise<NetworkResponse<T>>;
12
- }
13
- //# sourceMappingURL=HttpClientWithRetries.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HttpClientWithRetries.d.ts","sourceRoot":"","sources":["../../../src/network/HttpClientWithRetries.ts"],"names":[],"mappings":"AAKA,OAAO,EAEH,cAAc,EACd,MAAM,EACN,qBAAqB,EACrB,eAAe,EAClB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAGhE,qBAAa,qBAAsB,YAAW,cAAc;IACxD,OAAO,CAAC,mBAAmB,CAAiB;IAC5C,OAAO,CAAC,WAAW,CAAmB;IACtC,OAAO,CAAC,MAAM,CAAS;gBAGnB,mBAAmB,EAAE,cAAc,EACnC,WAAW,EAAE,gBAAgB,EAC7B,MAAM,EAAE,MAAM;YAOJ,6BAA6B;YAY7B,uBAAuB;IAiCxB,mBAAmB,CAAC,CAAC,EAC9B,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,qBAAqB,GAChC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;IAIjB,oBAAoB,CAAC,CAAC,EAC/B,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,qBAAqB,GAChC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;CAGjC"}
@@ -1,11 +0,0 @@
1
- import { AuthorizeResponse } from "@azure/msal-common/node";
2
- /**
3
- * Interface for LoopbackClient allowing to replace the default loopback server with a custom implementation.
4
- * @public
5
- */
6
- export interface ILoopbackClient {
7
- listenForAuthCode(successTemplate?: string, errorTemplate?: string): Promise<AuthorizeResponse>;
8
- getRedirectUri(): string;
9
- closeServer(): void;
10
- }
11
- //# sourceMappingURL=ILoopbackClient.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ILoopbackClient.d.ts","sourceRoot":"","sources":["../../../src/network/ILoopbackClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC5B,iBAAiB,CACb,eAAe,CAAC,EAAE,MAAM,EACxB,aAAa,CAAC,EAAE,MAAM,GACvB,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAC9B,cAAc,IAAI,MAAM,CAAC;IACzB,WAAW,IAAI,IAAI,CAAC;CACvB"}
@@ -1,22 +0,0 @@
1
- import { AuthorizeResponse } from "@azure/msal-common/node";
2
- import { ILoopbackClient } from "./ILoopbackClient.js";
3
- export declare class LoopbackClient implements ILoopbackClient {
4
- private server;
5
- /**
6
- * Spins up a loopback server which returns the server response when the localhost redirectUri is hit
7
- * @param successTemplate
8
- * @param errorTemplate
9
- * @returns
10
- */
11
- listenForAuthCode(successTemplate?: string, errorTemplate?: string): Promise<AuthorizeResponse>;
12
- /**
13
- * Get the port that the loopback server is running on
14
- * @returns
15
- */
16
- getRedirectUri(): string;
17
- /**
18
- * Close the loopback server
19
- */
20
- closeServer(): void;
21
- }
22
- //# sourceMappingURL=LoopbackClient.d.ts.map
@@ -1 +0,0 @@
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 +0,0 @@
1
- export declare const name = "@azure/msal-node";
2
- export declare const version = "5.1.4";
3
- //# sourceMappingURL=packageMetadata.d.ts.map
@@ -1 +0,0 @@
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,12 +0,0 @@
1
- import { Authority, CommonAuthorizationUrlRequest, Logger } from "@azure/msal-common/node";
2
- import { NodeConfiguration } from "../config/Configuration.js";
3
- /**
4
- * Constructs the full /authorize URL with request parameters
5
- * @param config
6
- * @param authority
7
- * @param request
8
- * @param logger
9
- * @returns
10
- */
11
- export declare function getAuthCodeRequestUrl(config: NodeConfiguration, authority: Authority, request: CommonAuthorizationUrlRequest, logger: Logger): string;
12
- //# sourceMappingURL=Authorize.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,24 +0,0 @@
1
- import { CommonAuthorizationCodeRequest } from "@azure/msal-common/node";
2
- /**
3
- * Request object passed by user to acquire a token from the server exchanging a valid authorization code (second leg of OAuth2.0 Authorization Code flow)
4
- * @public
5
- */
6
- export type AuthorizationCodeRequest = Partial<Omit<CommonAuthorizationCodeRequest, "scopes" | "redirectUri" | "code" | "authenticationScheme" | "resourceRequestMethod" | "resourceRequestUri" | "storeInCache">> & {
7
- /**
8
- * Array of scopes the application is requesting access to.
9
- */
10
- scopes: Array<string>;
11
- /**
12
- * 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.
13
- */
14
- redirectUri: string;
15
- /**
16
- * The authorization_code that the user acquired in the first leg of the flow.
17
- */
18
- code: string;
19
- /**
20
- * 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.
21
- */
22
- state?: string;
23
- };
24
- //# sourceMappingURL=AuthorizationCodeRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AuthorizationCodeRequest.d.ts","sourceRoot":"","sources":["../../../src/request/AuthorizationCodeRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AAEzE;;;GAGG;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;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -1,16 +0,0 @@
1
- import { CommonAuthorizationUrlRequest } from "@azure/msal-common/node";
2
- /**
3
- * Request object passed by user to retrieve a Code from the server (first leg of authorization code grant flow)
4
- * @public
5
- */
6
- export type AuthorizationUrlRequest = Partial<Omit<CommonAuthorizationUrlRequest, "scopes" | "redirectUri" | "resourceRequestMethod" | "resourceRequestUri" | "authenticationScheme" | "storeInCache">> & {
7
- /**
8
- * Array of scopes the application is requesting access to.
9
- */
10
- scopes: Array<string>;
11
- /**
12
- * The redirect URI where authentication responses can be received by your application. It must exactly match one of the redirect URIs registered in the Azure portal.
13
- */
14
- redirectUri: string;
15
- };
16
- //# sourceMappingURL=AuthorizationUrlRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AuthorizationUrlRequest.d.ts","sourceRoot":"","sources":["../../../src/request/AuthorizationUrlRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAExE;;;GAGG;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;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACvB,CAAC"}
@@ -1,13 +0,0 @@
1
- import { ClientAssertionCallback } from "@azure/msal-common/node";
2
- import { CommonClientCredentialRequest } from "./CommonClientCredentialRequest.js";
3
- /**
4
- * ClientCredentialRequest
5
- * @public
6
- */
7
- export type ClientCredentialRequest = Partial<Omit<CommonClientCredentialRequest, "resourceRequestMethod" | "resourceRequestUri" | "clientAssertion" | "storeInCache">> & {
8
- /**
9
- * 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
- */
11
- clientAssertion?: string | ClientAssertionCallback;
12
- };
13
- //# sourceMappingURL=ClientCredentialRequest.d.ts.map
@@ -1 +0,0 @@
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;;;GAGG;AACH,MAAM,MAAM,uBAAuB,GAAG,OAAO,CACzC,IAAI,CACA,6BAA6B,EAC3B,uBAAuB,GACvB,oBAAoB,GACpB,iBAAiB,GACjB,cAAc,CACnB,CACJ,GAAG;IACA;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,uBAAuB,CAAC;CACtD,CAAC"}
@@ -1,19 +0,0 @@
1
- import { BaseAuthRequest, AzureRegion, ClientAssertion } from "@azure/msal-common/node";
2
- /**
3
- * CommonClientCredentialRequest
4
- */
5
- export type CommonClientCredentialRequest = Omit<BaseAuthRequest, "extraQueryParameters" | "extraParameters"> & {
6
- /**
7
- * Skip token cache lookup and force request to authority to get a a new token. Defaults to false.
8
- */
9
- skipCache?: boolean;
10
- /**
11
- * Azure region to be used for regional authentication.
12
- */
13
- azureRegion?: AzureRegion;
14
- /**
15
- * An assertion string or a callback function that returns an assertion string (both are Base64Url-encoded signed JWTs) used in the Client Credential flow.
16
- */
17
- clientAssertion?: ClientAssertion;
18
- };
19
- //# sourceMappingURL=CommonClientCredentialRequest.d.ts.map
@@ -1 +0,0 @@
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;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAC5C,eAAe,EACf,sBAAsB,GAAG,iBAAiB,CAC7C,GAAG;IACA;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;OAEG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;CACrC,CAAC"}
@@ -1,23 +0,0 @@
1
- import { DeviceCodeResponse, StringDict, BaseAuthRequest } from "@azure/msal-common/node";
2
- /**
3
- * Parameters for Oauth2 device code flow.
4
- */
5
- export type CommonDeviceCodeRequest = BaseAuthRequest & {
6
- /**
7
- * 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
- */
9
- deviceCodeCallback: (response: DeviceCodeResponse) => void;
10
- /**
11
- * 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.
12
- */
13
- cancel?: boolean;
14
- /**
15
- * 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.
16
- */
17
- timeout?: number;
18
- /**
19
- * String to string map of custom query parameters added to outgoing token service requests.
20
- */
21
- extraQueryParameters?: StringDict;
22
- };
23
- //# sourceMappingURL=CommonDeviceCodeRequest.d.ts.map
@@ -1 +0,0 @@
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;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,eAAe,GAAG;IACpD;;OAEG;IACH,kBAAkB,EAAE,CAAC,QAAQ,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC3D;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,oBAAoB,CAAC,EAAE,UAAU,CAAC;CACrC,CAAC"}
@@ -1,15 +0,0 @@
1
- import { BaseAuthRequest } from "@azure/msal-common/node";
2
- /**
3
- * CommonOnBehalfOfRequest
4
- */
5
- export type CommonOnBehalfOfRequest = Omit<BaseAuthRequest, "extraQueryParameters" | "extraParameters"> & {
6
- /**
7
- * The access token that was sent to the middle-tier API. This token must have an audience of the app making this OBO request.
8
- */
9
- oboAssertion: string;
10
- /**
11
- * Skip token cache lookup and force request to authority to get a a new token. Defaults to false.
12
- */
13
- skipCache?: boolean;
14
- };
15
- //# sourceMappingURL=CommonOnBehalfOfRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CommonOnBehalfOfRequest.d.ts","sourceRoot":"","sources":["../../../src/request/CommonOnBehalfOfRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACtC,eAAe,EACf,sBAAsB,GAAG,iBAAiB,CAC7C,GAAG;IACA;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC"}
@@ -1,16 +0,0 @@
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
- export type CommonUsernamePasswordRequest = BaseAuthRequest & {
7
- /**
8
- * Username of the client
9
- */
10
- username: string;
11
- /**
12
- * Credentials
13
- */
14
- password: string;
15
- };
16
- //# sourceMappingURL=CommonUsernamePasswordRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CommonUsernamePasswordRequest.d.ts","sourceRoot":"","sources":["../../../src/request/CommonUsernamePasswordRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D;;;GAGG;AACH,MAAM,MAAM,6BAA6B,GAAG,eAAe,GAAG;IAC1D;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAC"}
@@ -1,17 +0,0 @@
1
- import { DeviceCodeResponse } from "@azure/msal-common/node";
2
- import { CommonDeviceCodeRequest } from "./CommonDeviceCodeRequest.js";
3
- /**
4
- * Parameters for Oauth2 device code flow.
5
- * @public
6
- */
7
- export type DeviceCodeRequest = Partial<Omit<CommonDeviceCodeRequest, "scopes" | "deviceCodeCallback" | "resourceRequestMethod" | "resourceRequestUri" | "storeInCache">> & {
8
- /**
9
- * Array of scopes the application is requesting access to.
10
- */
11
- scopes: Array<string>;
12
- /**
13
- * 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.
14
- */
15
- deviceCodeCallback: (response: DeviceCodeResponse) => void;
16
- };
17
- //# sourceMappingURL=DeviceCodeRequest.d.ts.map
@@ -1 +0,0 @@
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;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,CACnC,IAAI,CACA,uBAAuB,EACrB,QAAQ,GACR,oBAAoB,GACpB,uBAAuB,GACvB,oBAAoB,GACpB,cAAc,CACnB,CACJ,GAAG;IACA;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB;;OAEG;IACH,kBAAkB,EAAE,CAAC,QAAQ,EAAE,kBAAkB,KAAK,IAAI,CAAC;CAC9D,CAAC"}
@@ -1,35 +0,0 @@
1
- /// <reference types="node" resolution-mode="require"/>
2
- /// <reference types="node" resolution-mode="require"/>
3
- import { CommonAuthorizationUrlRequest } from "@azure/msal-common/node";
4
- import { ILoopbackClient } from "../network/ILoopbackClient.js";
5
- /**
6
- * Request object passed by user to configure acquireTokenInteractive API
7
- * @public
8
- */
9
- export type InteractiveRequest = Partial<Omit<CommonAuthorizationUrlRequest, "scopes" | "storeInCache">> & {
10
- /**
11
- * Function to open a browser instance on user's system.
12
- */
13
- openBrowser: (url: string) => Promise<void>;
14
- /**
15
- * Array of scopes the application is requesting access to.
16
- */
17
- scopes?: Array<string>;
18
- /**
19
- * Template to be displayed on the opened browser instance upon successful token acquisition.
20
- */
21
- successTemplate?: string;
22
- /**
23
- * Template to be displayed on the opened browser instance upon token acquisition failure.
24
- */
25
- errorTemplate?: string;
26
- /**
27
- * Used in native broker flows to properly parent the native broker window
28
- */
29
- windowHandle?: Buffer;
30
- /**
31
- * Custom implementation for a loopback server to listen for authorization code response.
32
- */
33
- loopbackClient?: ILoopbackClient;
34
- };
35
- //# sourceMappingURL=InteractiveRequest.d.ts.map
@@ -1 +0,0 @@
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;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,CACpC,IAAI,CAAC,6BAA6B,EAAE,QAAQ,GAAG,cAAc,CAAC,CACjE,GAAG;IACA;;OAEG;IACH,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5C;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,cAAc,CAAC,EAAE,eAAe,CAAC;CACpC,CAAC"}
@@ -1,16 +0,0 @@
1
- import { CommonClientCredentialRequest } from "./CommonClientCredentialRequest.js";
2
- import { ManagedIdentityRequestParams } from "./ManagedIdentityRequestParams.js";
3
- /**
4
- * ManagedIdentityRequest
5
- */
6
- export type ManagedIdentityRequest = ManagedIdentityRequestParams & CommonClientCredentialRequest & {
7
- /**
8
- * An array of capabilities to be added to all network requests as part of the `xms_cc` claim
9
- */
10
- clientCapabilities?: Array<string>;
11
- /**
12
- * A SHA256 hash of the token that was revoked. The managed identity will revoke the token based on the SHA256 hash of the token, not the token itself. This is to prevent the token from being leaked in transit.
13
- */
14
- revokedTokenSha256Hash?: string;
15
- };
16
- //# sourceMappingURL=ManagedIdentityRequest.d.ts.map
@@ -1 +0,0 @@
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;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,4BAA4B,GAC7D,6BAA6B,GAAG;IAC5B;;OAEG;IACH,kBAAkB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACnC,CAAC"}
@@ -1,19 +0,0 @@
1
- /**
2
- * ManagedIdentityRequest
3
- * @public
4
- */
5
- export type ManagedIdentityRequestParams = {
6
- /**
7
- * A stringified claims request which will be used to determine whether or not the cache should be skipped
8
- */
9
- claims?: string;
10
- /**
11
- * Forces managed identity requests to skip the cache and make network calls if true
12
- */
13
- forceRefresh?: boolean;
14
- /**
15
- * Resource requested to access the protected API. It should be of the form "ResourceIdUri" or "ResourceIdUri/.default". For instance https://management.azure.net or, for Microsoft Graph, https://graph.microsoft.com/.default
16
- */
17
- resource: string;
18
- };
19
- //# sourceMappingURL=ManagedIdentityRequestParams.d.ts.map