@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 +0,0 @@
1
- {"version":3,"file":"ManagedIdentityRequestParams.d.ts","sourceRoot":"","sources":["../../../src/request/ManagedIdentityRequestParams.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACvC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAC"}
@@ -1,16 +0,0 @@
1
- import { CommonOnBehalfOfRequest } from "./CommonOnBehalfOfRequest.js";
2
- /**
3
- * OnBehalfOfRequest
4
- * @public
5
- */
6
- export type OnBehalfOfRequest = Partial<Omit<CommonOnBehalfOfRequest, "oboAssertion" | "scopes" | "resourceRequestMethod" | "resourceRequestUri" | "storeInCache">> & {
7
- /**
8
- * The access token that was sent to the middle-tier API. This token must have an audience of the app making this OBO request.
9
- */
10
- oboAssertion: string;
11
- /**
12
- * Array of scopes the application is requesting access to.
13
- */
14
- scopes: Array<string>;
15
- };
16
- //# sourceMappingURL=OnBehalfOfRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OnBehalfOfRequest.d.ts","sourceRoot":"","sources":["../../../src/request/OnBehalfOfRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,CACnC,IAAI,CACA,uBAAuB,EACrB,cAAc,GACd,QAAQ,GACR,uBAAuB,GACvB,oBAAoB,GACpB,cAAc,CACnB,CACJ,GAAG;IACA;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACzB,CAAC"}
@@ -1,20 +0,0 @@
1
- import { CommonRefreshTokenRequest } from "@azure/msal-common/node";
2
- /**
3
- * CommonRefreshTokenRequest
4
- * @public
5
- */
6
- export type RefreshTokenRequest = Partial<Omit<CommonRefreshTokenRequest, "scopes" | "refreshToken" | "authenticationScheme" | "resourceRequestMethod" | "resourceRequestUri" | "storeInCache">> & {
7
- /**
8
- * Array of scopes the application is requesting access to.
9
- */
10
- scopes: Array<string>;
11
- /**
12
- * A refresh token returned from a previous request to the Identity provider.
13
- */
14
- refreshToken: string;
15
- /**
16
- * Force MSAL to cache a refresh token flow response when there is no account in the cache. Used for migration scenarios.
17
- */
18
- forceCache?: boolean;
19
- };
20
- //# sourceMappingURL=RefreshTokenRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RefreshTokenRequest.d.ts","sourceRoot":"","sources":["../../../src/request/RefreshTokenRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAEpE;;;GAGG;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;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC"}
@@ -1,7 +0,0 @@
1
- import { AccountInfo } from "@azure/msal-common/node";
2
- /** @public */
3
- export type SignOutRequest = {
4
- account: AccountInfo;
5
- correlationId?: string;
6
- };
7
- //# sourceMappingURL=SignOutRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SignOutRequest.d.ts","sourceRoot":"","sources":["../../../src/request/SignOutRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,cAAc;AACd,MAAM,MAAM,cAAc,GAAG;IACzB,OAAO,EAAE,WAAW,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC"}
@@ -1,16 +0,0 @@
1
- import { AccountInfo, CommonSilentFlowRequest } from "@azure/msal-common/node";
2
- /**
3
- * SilentFlow parameters passed by the user to retrieve credentials silently
4
- * @public
5
- */
6
- export type SilentFlowRequest = Partial<Omit<CommonSilentFlowRequest, "account" | "scopes" | "storeInCache">> & {
7
- /**
8
- * Account entity to lookup the credentials.
9
- */
10
- account: AccountInfo;
11
- /**
12
- * Array of scopes the application is requesting access to.
13
- */
14
- scopes: Array<string>;
15
- };
16
- //# sourceMappingURL=SilentFlowRequest.d.ts.map
@@ -1 +0,0 @@
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;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,CACnC,IAAI,CAAC,uBAAuB,EAAE,SAAS,GAAG,QAAQ,GAAG,cAAc,CAAC,CACvE,GAAG;IACA;;OAEG;IACH,OAAO,EAAE,WAAW,CAAC;IACrB;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACzB,CAAC"}
@@ -1,21 +0,0 @@
1
- import { CommonUsernamePasswordRequest } from "./CommonUsernamePasswordRequest.js";
2
- /**
3
- * UsernamePassword 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
- * @public
6
- */
7
- export type UsernamePasswordRequest = Partial<Omit<CommonUsernamePasswordRequest, "scopes" | "resourceRequestMethod" | "resourceRequestUri" | "username" | "password" | "storeInCache">> & {
8
- /**
9
- * Array of scopes the application is requesting access to.
10
- */
11
- scopes: Array<string>;
12
- /**
13
- * Username of the client
14
- */
15
- username: string;
16
- /**
17
- * Credentials
18
- */
19
- password: string;
20
- };
21
- //# sourceMappingURL=UsernamePasswordRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UsernamePasswordRequest.d.ts","sourceRoot":"","sources":["../../../src/request/UsernamePasswordRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAEnF;;;;GAIG;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;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAC"}
@@ -1,35 +0,0 @@
1
- import { Constants } from "@azure/msal-common/node";
2
- /**
3
- * Deserialized response object from server managed identity request.
4
- *
5
- * In case of success:
6
- * - access_token - The requested access token. When called via a secured REST API, the token is embedded in the Authorization request header field as a "bearer" token, allowing the API to authenticate the caller
7
- * - client_id - A unique identifier generated by Azure AD for the Azure Resource. The Client ID is a GUID value that uniquely identifies the application and its configuration within the identity platform
8
- * - expires_on - The timespan when the access token expires. The date is represented as the number of seconds from "1970-01-01T0:0:0Z UTC" (corresponds to the token's exp claim)
9
- * - resource - The resource the access token was requested for. It matches the resource query string parameter of the request
10
- * - token_type - The type of token returned by the Managed Identity endpoint. It's a "Bearer" access token, which means the resource can give access to the bearer of this token
11
- *
12
- * In case of error:
13
- * - message: A specific error message that can help a developer identify the root cause of an authentication error.
14
- * - correlationId: A unique identifier for the request that can help in diagnostics across components.
15
- */
16
- export type ManagedIdentityTokenResponse = {
17
- access_token?: string;
18
- client_id?: string;
19
- expires_on?: number;
20
- resource?: string;
21
- token_type?: Constants.AuthenticationScheme;
22
- message?: string;
23
- correlationId?: string;
24
- error?: string | ErrorObject;
25
- error_description?: string;
26
- error_codes?: Array<string>;
27
- correlation_id?: string;
28
- timestamp?: string;
29
- trace_id?: string;
30
- };
31
- export type ErrorObject = {
32
- code: string;
33
- message: string;
34
- };
35
- //# sourceMappingURL=ManagedIdentityTokenResponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ManagedIdentityTokenResponse.d.ts","sourceRoot":"","sources":["../../../src/response/ManagedIdentityTokenResponse.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,4BAA4B,GAAG;IAEvC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,SAAS,CAAC,oBAAoB,CAAC;IAQ5C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,KAAK,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;IAC7B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B,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,11 +0,0 @@
1
- /// <reference types="node" resolution-mode="require"/>
2
- import { IncomingHttpHeaders } from "http";
3
- import { Logger } from "@azure/msal-common/node";
4
- import { IHttpRetryPolicy } from "./IHttpRetryPolicy.js";
5
- export declare const DEFAULT_MANAGED_IDENTITY_MAX_RETRIES: number;
6
- export declare class DefaultManagedIdentityRetryPolicy implements IHttpRetryPolicy {
7
- static get DEFAULT_MANAGED_IDENTITY_RETRY_DELAY_MS(): number;
8
- private linearRetryStrategy;
9
- pauseForRetry(httpStatusCode: number, currentRetry: number, logger: Logger, retryAfterHeader: IncomingHttpHeaders["retry-after"]): Promise<boolean>;
10
- }
11
- //# sourceMappingURL=DefaultManagedIdentityRetryPolicy.d.ts.map
@@ -1 +0,0 @@
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,23 +0,0 @@
1
- export declare class ExponentialRetryStrategy {
2
- private minExponentialBackoff;
3
- private maxExponentialBackoff;
4
- private exponentialDeltaBackoff;
5
- constructor(minExponentialBackoff: number, maxExponentialBackoff: number, exponentialDeltaBackoff: number);
6
- /**
7
- * Calculates the exponential delay based on the current retry attempt.
8
- *
9
- * @param {number} currentRetry - The current retry attempt number.
10
- * @returns {number} - The calculated exponential delay in milliseconds.
11
- *
12
- * The delay is calculated using the formula:
13
- * - If `currentRetry` is 0, it returns the minimum backoff time.
14
- * - Otherwise, it calculates the delay as the minimum of:
15
- * - `(2^(currentRetry - 1)) * deltaBackoff`
16
- * - `maxBackoff`
17
- *
18
- * This ensures that the delay increases exponentially with each retry attempt,
19
- * but does not exceed the maximum backoff time.
20
- */
21
- calculateDelay(currentRetry: number): number;
22
- }
23
- //# sourceMappingURL=ExponentialRetryStrategy.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExponentialRetryStrategy.d.ts","sourceRoot":"","sources":["../../../src/retry/ExponentialRetryStrategy.ts"],"names":[],"mappings":"AAKA,qBAAa,wBAAwB;IAEjC,OAAO,CAAC,qBAAqB,CAAS;IAEtC,OAAO,CAAC,qBAAqB,CAAS;IAEtC,OAAO,CAAC,uBAAuB,CAAS;gBAGpC,qBAAqB,EAAE,MAAM,EAC7B,qBAAqB,EAAE,MAAM,EAC7B,uBAAuB,EAAE,MAAM;IAOnC;;;;;;;;;;;;;;OAcG;IACI,cAAc,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM;CActD"}
@@ -1,16 +0,0 @@
1
- /// <reference types="node" resolution-mode="require"/>
2
- import { IncomingHttpHeaders } from "http";
3
- import { Logger } from "@azure/msal-common/node";
4
- export interface IHttpRetryPolicy {
5
- _isNewRequest?: boolean;
6
- /**
7
- * Pauses execution for a specified amount of time before retrying an HTTP request.
8
- *
9
- * @param httpStatusCode - The HTTP status code of the response.
10
- * @param currentRetry - The current retry attempt number.
11
- * @param retryAfterHeader - The value of the `retry-after` HTTP header, if present.
12
- * @returns A promise that resolves to a boolean indicating whether to retry the request.
13
- */
14
- pauseForRetry(httpStatusCode: number, currentRetry: number, logger: Logger, retryAfterHeader?: IncomingHttpHeaders["retry-after"]): Promise<boolean>;
15
- }
16
- //# sourceMappingURL=IHttpRetryPolicy.d.ts.map
@@ -1 +0,0 @@
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,22 +0,0 @@
1
- import { Logger } from "@azure/msal-common/node";
2
- import { IHttpRetryPolicy } from "./IHttpRetryPolicy.js";
3
- export declare class ImdsRetryPolicy implements IHttpRetryPolicy {
4
- static get MIN_EXPONENTIAL_BACKOFF_MS(): number;
5
- static get MAX_EXPONENTIAL_BACKOFF_MS(): number;
6
- static get EXPONENTIAL_DELTA_BACKOFF_MS(): number;
7
- static get HTTP_STATUS_GONE_RETRY_AFTER_MS(): number;
8
- _isNewRequest: boolean;
9
- set isNewRequest(value: boolean);
10
- private maxRetries;
11
- private exponentialRetryStrategy;
12
- /**
13
- * Pauses execution for a calculated delay before retrying a request.
14
- *
15
- * @param httpStatusCode - The HTTP status code of the response.
16
- * @param currentRetry - The current retry attempt number.
17
- * @param retryAfterHeader - The value of the "retry-after" header from the response.
18
- * @returns A promise that resolves to a boolean indicating whether a retry should be attempted.
19
- */
20
- pauseForRetry(httpStatusCode: number, currentRetry: number, logger: Logger): Promise<boolean>;
21
- }
22
- //# sourceMappingURL=ImdsRetryPolicy.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,14 +0,0 @@
1
- /// <reference types="node" resolution-mode="require"/>
2
- import { IncomingHttpHeaders } from "http";
3
- export declare class LinearRetryStrategy {
4
- /**
5
- * Calculates the number of milliseconds to sleep based on the `retry-after` HTTP header.
6
- *
7
- * @param retryHeader - The value of the `retry-after` HTTP header. This can be either a number of seconds
8
- * or an HTTP date string.
9
- * @returns The number of milliseconds to sleep before retrying the request. If the `retry-after` header is not
10
- * present or cannot be parsed, returns 0.
11
- */
12
- calculateDelay(retryHeader: IncomingHttpHeaders["retry-after"], minimumDelay: number): number;
13
- }
14
- //# sourceMappingURL=LinearRetryStrategy.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LinearRetryStrategy.d.ts","sourceRoot":"","sources":["../../../src/retry/LinearRetryStrategy.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,MAAM,CAAC;AAE3C,qBAAa,mBAAmB;IAC5B;;;;;;;OAOG;IACI,cAAc,CACjB,WAAW,EAAE,mBAAmB,CAAC,aAAa,CAAC,EAC/C,YAAY,EAAE,MAAM,GACrB,MAAM;CAoBZ"}
@@ -1,27 +0,0 @@
1
- /// <reference types="node" resolution-mode="require"/>
2
- export declare class EncodingUtils {
3
- /**
4
- * 'utf8': Multibyte encoded Unicode characters. Many web pages and other document formats use UTF-8.
5
- * 'base64': Base64 encoding.
6
- *
7
- * @param str text
8
- */
9
- static base64Encode(str: string, encoding?: BufferEncoding): string;
10
- /**
11
- * encode a URL
12
- * @param str
13
- */
14
- static base64EncodeUrl(str: string, encoding?: BufferEncoding): string;
15
- /**
16
- * 'utf8': Multibyte encoded Unicode characters. Many web pages and other document formats use UTF-8.
17
- * 'base64': Base64 encoding.
18
- *
19
- * @param base64Str Base64 encoded text
20
- */
21
- static base64Decode(base64Str: string): string;
22
- /**
23
- * @param base64Str Base64 encoded Url
24
- */
25
- static base64DecodeUrl(base64Str: string): string;
26
- }
27
- //# sourceMappingURL=EncodingUtils.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,17 +0,0 @@
1
- import { NetworkResponse } from "@azure/msal-common/node";
2
- export type UrlToHttpRequestOptions = {
3
- protocol: string;
4
- hostname: string;
5
- hash: string;
6
- search: string;
7
- pathname: string;
8
- path: string;
9
- href: string;
10
- port?: number;
11
- auth?: string;
12
- };
13
- export declare class NetworkUtils {
14
- static getNetworkResponse<T>(headers: Record<string, string>, body: T, statusCode: number): NetworkResponse<T>;
15
- static urlToHttpOptions(url: URL): UrlToHttpRequestOptions;
16
- }
17
- //# sourceMappingURL=NetworkUtils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NetworkUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/NetworkUtils.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,MAAM,MAAM,uBAAuB,GAAG;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,qBAAa,YAAY;IACrB,MAAM,CAAC,kBAAkB,CAAC,CAAC,EACvB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC/B,IAAI,EAAE,CAAC,EACP,UAAU,EAAE,MAAM,GACnB,eAAe,CAAC,CAAC,CAAC;IAarB,MAAM,CAAC,gBAAgB,CAAC,GAAG,EAAE,GAAG,GAAG,uBAAuB;CAuB7D"}
@@ -1,9 +0,0 @@
1
- /**
2
- * @internal
3
- * Checks if a given date string is in ISO 8601 format.
4
- *
5
- * @param dateString - The date string to be checked.
6
- * @returns boolean - Returns true if the date string is in ISO 8601 format, otherwise false.
7
- */
8
- export declare function isIso8601(dateString: number | string): boolean;
9
- //# sourceMappingURL=TimeUtils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TimeUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/TimeUtils.ts"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAO9D"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes