@azure/msal-node 5.1.5 → 5.2.1

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 (361) hide show
  1. package/dist/cache/CacheHelpers.mjs +1 -1
  2. package/dist/cache/NodeStorage.mjs +1 -1
  3. package/dist/cache/TokenCache.mjs +1 -1
  4. package/dist/cache/distributed/DistributedCachePlugin.mjs +1 -1
  5. package/dist/cache/serializer/Deserializer.mjs +1 -1
  6. package/dist/cache/serializer/Serializer.mjs +1 -1
  7. package/dist/client/BaseClient.mjs +1 -1
  8. package/dist/client/ClientApplication.mjs +1 -1
  9. package/dist/client/ClientAssertion.mjs +1 -1
  10. package/dist/client/ClientCredentialClient.mjs +1 -1
  11. package/dist/client/ConfidentialClientApplication.mjs +1 -1
  12. package/dist/client/DeviceCodeClient.mjs +1 -1
  13. package/dist/client/ManagedIdentityApplication.mjs +1 -1
  14. package/dist/client/ManagedIdentityClient.mjs +1 -1
  15. package/dist/client/ManagedIdentitySources/AppService.mjs +1 -1
  16. package/dist/client/ManagedIdentitySources/AzureArc.mjs +1 -1
  17. package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.mjs +9 -1
  18. package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.mjs.map +1 -1
  19. package/dist/client/ManagedIdentitySources/CloudShell.mjs +1 -1
  20. package/dist/client/ManagedIdentitySources/Imds.mjs +8 -2
  21. package/dist/client/ManagedIdentitySources/Imds.mjs.map +1 -1
  22. package/dist/client/ManagedIdentitySources/MachineLearning.mjs +1 -1
  23. package/dist/client/ManagedIdentitySources/ServiceFabric.mjs +1 -1
  24. package/dist/client/OnBehalfOfClient.mjs +1 -1
  25. package/dist/client/PublicClientApplication.mjs +1 -1
  26. package/dist/client/UsernamePasswordClient.mjs +1 -1
  27. package/dist/config/Configuration.mjs +1 -1
  28. package/dist/config/ManagedIdentityId.mjs +1 -1
  29. package/dist/config/ManagedIdentityRequestParameters.mjs +1 -1
  30. package/dist/crypto/CryptoProvider.mjs +1 -1
  31. package/dist/crypto/GuidGenerator.mjs +1 -1
  32. package/dist/crypto/HashUtils.mjs +1 -1
  33. package/dist/crypto/PkceGenerator.mjs +1 -1
  34. package/dist/error/ClientAuthErrorCodes.mjs +1 -1
  35. package/dist/error/ManagedIdentityError.mjs +1 -1
  36. package/dist/error/ManagedIdentityErrorCodes.mjs +1 -1
  37. package/dist/error/NodeAuthError.mjs +1 -1
  38. package/dist/index.mjs +1 -1
  39. package/dist/internals.mjs +1 -1
  40. package/dist/network/HttpClient.mjs +1 -1
  41. package/dist/network/HttpClientWithRetries.mjs +1 -1
  42. package/dist/network/LoopbackClient.mjs +1 -1
  43. package/dist/packageMetadata.mjs +2 -2
  44. package/dist/protocol/Authorize.mjs +1 -1
  45. package/dist/retry/DefaultManagedIdentityRetryPolicy.mjs +1 -1
  46. package/dist/retry/ExponentialRetryStrategy.mjs +1 -1
  47. package/dist/retry/ImdsRetryPolicy.mjs +1 -1
  48. package/dist/retry/LinearRetryStrategy.mjs +1 -1
  49. package/dist/utils/Constants.mjs +6 -1
  50. package/dist/utils/Constants.mjs.map +1 -1
  51. package/dist/utils/EncodingUtils.mjs +1 -1
  52. package/dist/utils/TimeUtils.mjs +1 -1
  53. package/lib/msal-node.cjs +228 -66
  54. package/lib/msal-node.cjs.map +1 -1
  55. package/package.json +9 -7
  56. package/src/client/ManagedIdentitySources/BaseManagedIdentitySource.ts +9 -0
  57. package/src/client/ManagedIdentitySources/Imds.ts +7 -0
  58. package/src/packageMetadata.ts +1 -1
  59. package/src/utils/Constants.ts +4 -0
  60. package/{dist → types}/client/ManagedIdentitySources/BaseManagedIdentitySource.d.ts +6 -0
  61. package/{dist → types}/client/ManagedIdentitySources/BaseManagedIdentitySource.d.ts.map +1 -1
  62. package/{dist → types}/client/ManagedIdentitySources/Imds.d.ts.map +1 -1
  63. package/types/index.d.cts +1 -0
  64. package/types/packageMetadata.d.ts +3 -0
  65. package/{lib/types → types}/utils/Constants.d.ts +3 -0
  66. package/{lib/types → types}/utils/Constants.d.ts.map +1 -1
  67. package/dist/packageMetadata.d.ts +0 -3
  68. package/dist/utils/Constants.d.ts +0 -156
  69. package/dist/utils/Constants.d.ts.map +0 -1
  70. package/lib/types/cache/CacheHelpers.d.ts +0 -4
  71. package/lib/types/cache/CacheHelpers.d.ts.map +0 -1
  72. package/lib/types/cache/ITokenCache.d.ts +0 -16
  73. package/lib/types/cache/ITokenCache.d.ts.map +0 -1
  74. package/lib/types/cache/NodeStorage.d.ts +0 -191
  75. package/lib/types/cache/NodeStorage.d.ts.map +0 -1
  76. package/lib/types/cache/TokenCache.d.ts +0 -99
  77. package/lib/types/cache/TokenCache.d.ts.map +0 -1
  78. package/lib/types/cache/distributed/DistributedCachePlugin.d.ts +0 -23
  79. package/lib/types/cache/distributed/DistributedCachePlugin.d.ts.map +0 -1
  80. package/lib/types/cache/distributed/ICacheClient.d.ts +0 -22
  81. package/lib/types/cache/distributed/ICacheClient.d.ts.map +0 -1
  82. package/lib/types/cache/distributed/IPartitionManager.d.ts +0 -33
  83. package/lib/types/cache/distributed/IPartitionManager.d.ts.map +0 -1
  84. package/lib/types/cache/serializer/Deserializer.d.ts +0 -44
  85. package/lib/types/cache/serializer/Deserializer.d.ts.map +0 -1
  86. package/lib/types/cache/serializer/Serializer.d.ts +0 -44
  87. package/lib/types/cache/serializer/Serializer.d.ts.map +0 -1
  88. package/lib/types/cache/serializer/SerializerTypes.d.ts +0 -102
  89. package/lib/types/cache/serializer/SerializerTypes.d.ts.map +0 -1
  90. package/lib/types/client/BaseClient.d.ts +0 -42
  91. package/lib/types/client/BaseClient.d.ts.map +0 -1
  92. package/lib/types/client/ClientApplication.d.ts +0 -146
  93. package/lib/types/client/ClientApplication.d.ts.map +0 -1
  94. package/lib/types/client/ClientAssertion.d.ts +0 -56
  95. package/lib/types/client/ClientAssertion.d.ts.map +0 -1
  96. package/lib/types/client/ClientCredentialClient.d.ts +0 -37
  97. package/lib/types/client/ClientCredentialClient.d.ts.map +0 -1
  98. package/lib/types/client/ConfidentialClientApplication.d.ts +0 -58
  99. package/lib/types/client/ConfidentialClientApplication.d.ts.map +0 -1
  100. package/lib/types/client/DeviceCodeClient.d.ts +0 -60
  101. package/lib/types/client/DeviceCodeClient.d.ts.map +0 -1
  102. package/lib/types/client/IConfidentialClientApplication.d.ts +0 -43
  103. package/lib/types/client/IConfidentialClientApplication.d.ts.map +0 -1
  104. package/lib/types/client/IPublicClientApplication.d.ts +0 -46
  105. package/lib/types/client/IPublicClientApplication.d.ts.map +0 -1
  106. package/lib/types/client/ManagedIdentityApplication.d.ts +0 -42
  107. package/lib/types/client/ManagedIdentityApplication.d.ts.map +0 -1
  108. package/lib/types/client/ManagedIdentityClient.d.ts +0 -29
  109. package/lib/types/client/ManagedIdentityClient.d.ts.map +0 -1
  110. package/lib/types/client/ManagedIdentitySources/AppService.d.ts +0 -72
  111. package/lib/types/client/ManagedIdentitySources/AppService.d.ts.map +0 -1
  112. package/lib/types/client/ManagedIdentitySources/AzureArc.d.ts +0 -109
  113. package/lib/types/client/ManagedIdentitySources/AzureArc.d.ts.map +0 -1
  114. package/lib/types/client/ManagedIdentitySources/BaseManagedIdentitySource.d.ts +0 -125
  115. package/lib/types/client/ManagedIdentitySources/BaseManagedIdentitySource.d.ts.map +0 -1
  116. package/lib/types/client/ManagedIdentitySources/CloudShell.d.ts +0 -71
  117. package/lib/types/client/ManagedIdentitySources/CloudShell.d.ts.map +0 -1
  118. package/lib/types/client/ManagedIdentitySources/Imds.d.ts +0 -67
  119. package/lib/types/client/ManagedIdentitySources/Imds.d.ts.map +0 -1
  120. package/lib/types/client/ManagedIdentitySources/MachineLearning.d.ts +0 -81
  121. package/lib/types/client/ManagedIdentitySources/MachineLearning.d.ts.map +0 -1
  122. package/lib/types/client/ManagedIdentitySources/ServiceFabric.d.ts +0 -82
  123. package/lib/types/client/ManagedIdentitySources/ServiceFabric.d.ts.map +0 -1
  124. package/lib/types/client/OnBehalfOfClient.d.ts +0 -50
  125. package/lib/types/client/OnBehalfOfClient.d.ts.map +0 -1
  126. package/lib/types/client/PublicClientApplication.d.ts +0 -85
  127. package/lib/types/client/PublicClientApplication.d.ts.map +0 -1
  128. package/lib/types/client/UsernamePasswordClient.d.ts +0 -30
  129. package/lib/types/client/UsernamePasswordClient.d.ts.map +0 -1
  130. package/lib/types/config/Configuration.d.ts +0 -131
  131. package/lib/types/config/Configuration.d.ts.map +0 -1
  132. package/lib/types/config/ManagedIdentityId.d.ts +0 -12
  133. package/lib/types/config/ManagedIdentityId.d.ts.map +0 -1
  134. package/lib/types/config/ManagedIdentityRequestParameters.d.ts +0 -13
  135. package/lib/types/config/ManagedIdentityRequestParameters.d.ts.map +0 -1
  136. package/lib/types/crypto/CryptoProvider.d.ts +0 -63
  137. package/lib/types/crypto/CryptoProvider.d.ts.map +0 -1
  138. package/lib/types/crypto/GuidGenerator.d.ts +0 -14
  139. package/lib/types/crypto/GuidGenerator.d.ts.map +0 -1
  140. package/lib/types/crypto/HashUtils.d.ts +0 -10
  141. package/lib/types/crypto/HashUtils.d.ts.map +0 -1
  142. package/lib/types/crypto/PkceGenerator.d.ts +0 -23
  143. package/lib/types/crypto/PkceGenerator.d.ts.map +0 -1
  144. package/lib/types/error/ClientAuthErrorCodes.d.ts +0 -8
  145. package/lib/types/error/ClientAuthErrorCodes.d.ts.map +0 -1
  146. package/lib/types/error/ManagedIdentityError.d.ts +0 -31
  147. package/lib/types/error/ManagedIdentityError.d.ts.map +0 -1
  148. package/lib/types/error/ManagedIdentityErrorCodes.d.ts +0 -23
  149. package/lib/types/error/ManagedIdentityErrorCodes.d.ts.map +0 -1
  150. package/lib/types/error/NodeAuthError.d.ts +0 -82
  151. package/lib/types/error/NodeAuthError.d.ts.map +0 -1
  152. package/lib/types/index.d.ts +0 -54
  153. package/lib/types/index.d.ts.map +0 -1
  154. package/lib/types/internals.d.ts +0 -7
  155. package/lib/types/internals.d.ts.map +0 -1
  156. package/lib/types/network/HttpClient.d.ts +0 -66
  157. package/lib/types/network/HttpClient.d.ts.map +0 -1
  158. package/lib/types/network/HttpClientWithRetries.d.ts +0 -13
  159. package/lib/types/network/HttpClientWithRetries.d.ts.map +0 -1
  160. package/lib/types/network/ILoopbackClient.d.ts +0 -11
  161. package/lib/types/network/ILoopbackClient.d.ts.map +0 -1
  162. package/lib/types/network/LoopbackClient.d.ts +0 -22
  163. package/lib/types/network/LoopbackClient.d.ts.map +0 -1
  164. package/lib/types/packageMetadata.d.ts +0 -3
  165. package/lib/types/packageMetadata.d.ts.map +0 -1
  166. package/lib/types/protocol/Authorize.d.ts +0 -12
  167. package/lib/types/protocol/Authorize.d.ts.map +0 -1
  168. package/lib/types/request/AuthorizationCodeRequest.d.ts +0 -24
  169. package/lib/types/request/AuthorizationCodeRequest.d.ts.map +0 -1
  170. package/lib/types/request/AuthorizationUrlRequest.d.ts +0 -16
  171. package/lib/types/request/AuthorizationUrlRequest.d.ts.map +0 -1
  172. package/lib/types/request/ClientCredentialRequest.d.ts +0 -13
  173. package/lib/types/request/ClientCredentialRequest.d.ts.map +0 -1
  174. package/lib/types/request/CommonClientCredentialRequest.d.ts +0 -19
  175. package/lib/types/request/CommonClientCredentialRequest.d.ts.map +0 -1
  176. package/lib/types/request/CommonDeviceCodeRequest.d.ts +0 -23
  177. package/lib/types/request/CommonDeviceCodeRequest.d.ts.map +0 -1
  178. package/lib/types/request/CommonOnBehalfOfRequest.d.ts +0 -15
  179. package/lib/types/request/CommonOnBehalfOfRequest.d.ts.map +0 -1
  180. package/lib/types/request/CommonUsernamePasswordRequest.d.ts +0 -16
  181. package/lib/types/request/CommonUsernamePasswordRequest.d.ts.map +0 -1
  182. package/lib/types/request/DeviceCodeRequest.d.ts +0 -17
  183. package/lib/types/request/DeviceCodeRequest.d.ts.map +0 -1
  184. package/lib/types/request/InteractiveRequest.d.ts +0 -35
  185. package/lib/types/request/InteractiveRequest.d.ts.map +0 -1
  186. package/lib/types/request/ManagedIdentityRequest.d.ts +0 -16
  187. package/lib/types/request/ManagedIdentityRequest.d.ts.map +0 -1
  188. package/lib/types/request/ManagedIdentityRequestParams.d.ts +0 -19
  189. package/lib/types/request/ManagedIdentityRequestParams.d.ts.map +0 -1
  190. package/lib/types/request/OnBehalfOfRequest.d.ts +0 -16
  191. package/lib/types/request/OnBehalfOfRequest.d.ts.map +0 -1
  192. package/lib/types/request/RefreshTokenRequest.d.ts +0 -20
  193. package/lib/types/request/RefreshTokenRequest.d.ts.map +0 -1
  194. package/lib/types/request/SignOutRequest.d.ts +0 -7
  195. package/lib/types/request/SignOutRequest.d.ts.map +0 -1
  196. package/lib/types/request/SilentFlowRequest.d.ts +0 -16
  197. package/lib/types/request/SilentFlowRequest.d.ts.map +0 -1
  198. package/lib/types/request/UsernamePasswordRequest.d.ts +0 -21
  199. package/lib/types/request/UsernamePasswordRequest.d.ts.map +0 -1
  200. package/lib/types/response/ManagedIdentityTokenResponse.d.ts +0 -35
  201. package/lib/types/response/ManagedIdentityTokenResponse.d.ts.map +0 -1
  202. package/lib/types/retry/DefaultManagedIdentityRetryPolicy.d.ts +0 -11
  203. package/lib/types/retry/DefaultManagedIdentityRetryPolicy.d.ts.map +0 -1
  204. package/lib/types/retry/ExponentialRetryStrategy.d.ts +0 -23
  205. package/lib/types/retry/ExponentialRetryStrategy.d.ts.map +0 -1
  206. package/lib/types/retry/IHttpRetryPolicy.d.ts +0 -16
  207. package/lib/types/retry/IHttpRetryPolicy.d.ts.map +0 -1
  208. package/lib/types/retry/ImdsRetryPolicy.d.ts +0 -22
  209. package/lib/types/retry/ImdsRetryPolicy.d.ts.map +0 -1
  210. package/lib/types/retry/LinearRetryStrategy.d.ts +0 -14
  211. package/lib/types/retry/LinearRetryStrategy.d.ts.map +0 -1
  212. package/lib/types/utils/EncodingUtils.d.ts +0 -27
  213. package/lib/types/utils/EncodingUtils.d.ts.map +0 -1
  214. package/lib/types/utils/NetworkUtils.d.ts +0 -17
  215. package/lib/types/utils/NetworkUtils.d.ts.map +0 -1
  216. package/lib/types/utils/TimeUtils.d.ts +0 -9
  217. package/lib/types/utils/TimeUtils.d.ts.map +0 -1
  218. /package/{dist → types}/cache/CacheHelpers.d.ts +0 -0
  219. /package/{dist → types}/cache/CacheHelpers.d.ts.map +0 -0
  220. /package/{dist → types}/cache/ITokenCache.d.ts +0 -0
  221. /package/{dist → types}/cache/ITokenCache.d.ts.map +0 -0
  222. /package/{dist → types}/cache/NodeStorage.d.ts +0 -0
  223. /package/{dist → types}/cache/NodeStorage.d.ts.map +0 -0
  224. /package/{dist → types}/cache/TokenCache.d.ts +0 -0
  225. /package/{dist → types}/cache/TokenCache.d.ts.map +0 -0
  226. /package/{dist → types}/cache/distributed/DistributedCachePlugin.d.ts +0 -0
  227. /package/{dist → types}/cache/distributed/DistributedCachePlugin.d.ts.map +0 -0
  228. /package/{dist → types}/cache/distributed/ICacheClient.d.ts +0 -0
  229. /package/{dist → types}/cache/distributed/ICacheClient.d.ts.map +0 -0
  230. /package/{dist → types}/cache/distributed/IPartitionManager.d.ts +0 -0
  231. /package/{dist → types}/cache/distributed/IPartitionManager.d.ts.map +0 -0
  232. /package/{dist → types}/cache/serializer/Deserializer.d.ts +0 -0
  233. /package/{dist → types}/cache/serializer/Deserializer.d.ts.map +0 -0
  234. /package/{dist → types}/cache/serializer/Serializer.d.ts +0 -0
  235. /package/{dist → types}/cache/serializer/Serializer.d.ts.map +0 -0
  236. /package/{dist → types}/cache/serializer/SerializerTypes.d.ts +0 -0
  237. /package/{dist → types}/cache/serializer/SerializerTypes.d.ts.map +0 -0
  238. /package/{dist → types}/client/BaseClient.d.ts +0 -0
  239. /package/{dist → types}/client/BaseClient.d.ts.map +0 -0
  240. /package/{dist → types}/client/ClientApplication.d.ts +0 -0
  241. /package/{dist → types}/client/ClientApplication.d.ts.map +0 -0
  242. /package/{dist → types}/client/ClientAssertion.d.ts +0 -0
  243. /package/{dist → types}/client/ClientAssertion.d.ts.map +0 -0
  244. /package/{dist → types}/client/ClientCredentialClient.d.ts +0 -0
  245. /package/{dist → types}/client/ClientCredentialClient.d.ts.map +0 -0
  246. /package/{dist → types}/client/ConfidentialClientApplication.d.ts +0 -0
  247. /package/{dist → types}/client/ConfidentialClientApplication.d.ts.map +0 -0
  248. /package/{dist → types}/client/DeviceCodeClient.d.ts +0 -0
  249. /package/{dist → types}/client/DeviceCodeClient.d.ts.map +0 -0
  250. /package/{dist → types}/client/IConfidentialClientApplication.d.ts +0 -0
  251. /package/{dist → types}/client/IConfidentialClientApplication.d.ts.map +0 -0
  252. /package/{dist → types}/client/IPublicClientApplication.d.ts +0 -0
  253. /package/{dist → types}/client/IPublicClientApplication.d.ts.map +0 -0
  254. /package/{dist → types}/client/ManagedIdentityApplication.d.ts +0 -0
  255. /package/{dist → types}/client/ManagedIdentityApplication.d.ts.map +0 -0
  256. /package/{dist → types}/client/ManagedIdentityClient.d.ts +0 -0
  257. /package/{dist → types}/client/ManagedIdentityClient.d.ts.map +0 -0
  258. /package/{dist → types}/client/ManagedIdentitySources/AppService.d.ts +0 -0
  259. /package/{dist → types}/client/ManagedIdentitySources/AppService.d.ts.map +0 -0
  260. /package/{dist → types}/client/ManagedIdentitySources/AzureArc.d.ts +0 -0
  261. /package/{dist → types}/client/ManagedIdentitySources/AzureArc.d.ts.map +0 -0
  262. /package/{dist → types}/client/ManagedIdentitySources/CloudShell.d.ts +0 -0
  263. /package/{dist → types}/client/ManagedIdentitySources/CloudShell.d.ts.map +0 -0
  264. /package/{dist → types}/client/ManagedIdentitySources/Imds.d.ts +0 -0
  265. /package/{dist → types}/client/ManagedIdentitySources/MachineLearning.d.ts +0 -0
  266. /package/{dist → types}/client/ManagedIdentitySources/MachineLearning.d.ts.map +0 -0
  267. /package/{dist → types}/client/ManagedIdentitySources/ServiceFabric.d.ts +0 -0
  268. /package/{dist → types}/client/ManagedIdentitySources/ServiceFabric.d.ts.map +0 -0
  269. /package/{dist → types}/client/OnBehalfOfClient.d.ts +0 -0
  270. /package/{dist → types}/client/OnBehalfOfClient.d.ts.map +0 -0
  271. /package/{dist → types}/client/PublicClientApplication.d.ts +0 -0
  272. /package/{dist → types}/client/PublicClientApplication.d.ts.map +0 -0
  273. /package/{dist → types}/client/UsernamePasswordClient.d.ts +0 -0
  274. /package/{dist → types}/client/UsernamePasswordClient.d.ts.map +0 -0
  275. /package/{dist → types}/config/Configuration.d.ts +0 -0
  276. /package/{dist → types}/config/Configuration.d.ts.map +0 -0
  277. /package/{dist → types}/config/ManagedIdentityId.d.ts +0 -0
  278. /package/{dist → types}/config/ManagedIdentityId.d.ts.map +0 -0
  279. /package/{dist → types}/config/ManagedIdentityRequestParameters.d.ts +0 -0
  280. /package/{dist → types}/config/ManagedIdentityRequestParameters.d.ts.map +0 -0
  281. /package/{dist → types}/crypto/CryptoProvider.d.ts +0 -0
  282. /package/{dist → types}/crypto/CryptoProvider.d.ts.map +0 -0
  283. /package/{dist → types}/crypto/GuidGenerator.d.ts +0 -0
  284. /package/{dist → types}/crypto/GuidGenerator.d.ts.map +0 -0
  285. /package/{dist → types}/crypto/HashUtils.d.ts +0 -0
  286. /package/{dist → types}/crypto/HashUtils.d.ts.map +0 -0
  287. /package/{dist → types}/crypto/PkceGenerator.d.ts +0 -0
  288. /package/{dist → types}/crypto/PkceGenerator.d.ts.map +0 -0
  289. /package/{dist → types}/error/ClientAuthErrorCodes.d.ts +0 -0
  290. /package/{dist → types}/error/ClientAuthErrorCodes.d.ts.map +0 -0
  291. /package/{dist → types}/error/ManagedIdentityError.d.ts +0 -0
  292. /package/{dist → types}/error/ManagedIdentityError.d.ts.map +0 -0
  293. /package/{dist → types}/error/ManagedIdentityErrorCodes.d.ts +0 -0
  294. /package/{dist → types}/error/ManagedIdentityErrorCodes.d.ts.map +0 -0
  295. /package/{dist → types}/error/NodeAuthError.d.ts +0 -0
  296. /package/{dist → types}/error/NodeAuthError.d.ts.map +0 -0
  297. /package/{dist → types}/index.d.ts +0 -0
  298. /package/{dist → types}/index.d.ts.map +0 -0
  299. /package/{dist → types}/internals.d.ts +0 -0
  300. /package/{dist → types}/internals.d.ts.map +0 -0
  301. /package/{dist → types}/network/HttpClient.d.ts +0 -0
  302. /package/{dist → types}/network/HttpClient.d.ts.map +0 -0
  303. /package/{dist → types}/network/HttpClientWithRetries.d.ts +0 -0
  304. /package/{dist → types}/network/HttpClientWithRetries.d.ts.map +0 -0
  305. /package/{dist → types}/network/ILoopbackClient.d.ts +0 -0
  306. /package/{dist → types}/network/ILoopbackClient.d.ts.map +0 -0
  307. /package/{dist → types}/network/LoopbackClient.d.ts +0 -0
  308. /package/{dist → types}/network/LoopbackClient.d.ts.map +0 -0
  309. /package/{dist → types}/packageMetadata.d.ts.map +0 -0
  310. /package/{dist → types}/protocol/Authorize.d.ts +0 -0
  311. /package/{dist → types}/protocol/Authorize.d.ts.map +0 -0
  312. /package/{dist → types}/request/AuthorizationCodeRequest.d.ts +0 -0
  313. /package/{dist → types}/request/AuthorizationCodeRequest.d.ts.map +0 -0
  314. /package/{dist → types}/request/AuthorizationUrlRequest.d.ts +0 -0
  315. /package/{dist → types}/request/AuthorizationUrlRequest.d.ts.map +0 -0
  316. /package/{dist → types}/request/ClientCredentialRequest.d.ts +0 -0
  317. /package/{dist → types}/request/ClientCredentialRequest.d.ts.map +0 -0
  318. /package/{dist → types}/request/CommonClientCredentialRequest.d.ts +0 -0
  319. /package/{dist → types}/request/CommonClientCredentialRequest.d.ts.map +0 -0
  320. /package/{dist → types}/request/CommonDeviceCodeRequest.d.ts +0 -0
  321. /package/{dist → types}/request/CommonDeviceCodeRequest.d.ts.map +0 -0
  322. /package/{dist → types}/request/CommonOnBehalfOfRequest.d.ts +0 -0
  323. /package/{dist → types}/request/CommonOnBehalfOfRequest.d.ts.map +0 -0
  324. /package/{dist → types}/request/CommonUsernamePasswordRequest.d.ts +0 -0
  325. /package/{dist → types}/request/CommonUsernamePasswordRequest.d.ts.map +0 -0
  326. /package/{dist → types}/request/DeviceCodeRequest.d.ts +0 -0
  327. /package/{dist → types}/request/DeviceCodeRequest.d.ts.map +0 -0
  328. /package/{dist → types}/request/InteractiveRequest.d.ts +0 -0
  329. /package/{dist → types}/request/InteractiveRequest.d.ts.map +0 -0
  330. /package/{dist → types}/request/ManagedIdentityRequest.d.ts +0 -0
  331. /package/{dist → types}/request/ManagedIdentityRequest.d.ts.map +0 -0
  332. /package/{dist → types}/request/ManagedIdentityRequestParams.d.ts +0 -0
  333. /package/{dist → types}/request/ManagedIdentityRequestParams.d.ts.map +0 -0
  334. /package/{dist → types}/request/OnBehalfOfRequest.d.ts +0 -0
  335. /package/{dist → types}/request/OnBehalfOfRequest.d.ts.map +0 -0
  336. /package/{dist → types}/request/RefreshTokenRequest.d.ts +0 -0
  337. /package/{dist → types}/request/RefreshTokenRequest.d.ts.map +0 -0
  338. /package/{dist → types}/request/SignOutRequest.d.ts +0 -0
  339. /package/{dist → types}/request/SignOutRequest.d.ts.map +0 -0
  340. /package/{dist → types}/request/SilentFlowRequest.d.ts +0 -0
  341. /package/{dist → types}/request/SilentFlowRequest.d.ts.map +0 -0
  342. /package/{dist → types}/request/UsernamePasswordRequest.d.ts +0 -0
  343. /package/{dist → types}/request/UsernamePasswordRequest.d.ts.map +0 -0
  344. /package/{dist → types}/response/ManagedIdentityTokenResponse.d.ts +0 -0
  345. /package/{dist → types}/response/ManagedIdentityTokenResponse.d.ts.map +0 -0
  346. /package/{dist → types}/retry/DefaultManagedIdentityRetryPolicy.d.ts +0 -0
  347. /package/{dist → types}/retry/DefaultManagedIdentityRetryPolicy.d.ts.map +0 -0
  348. /package/{dist → types}/retry/ExponentialRetryStrategy.d.ts +0 -0
  349. /package/{dist → types}/retry/ExponentialRetryStrategy.d.ts.map +0 -0
  350. /package/{dist → types}/retry/IHttpRetryPolicy.d.ts +0 -0
  351. /package/{dist → types}/retry/IHttpRetryPolicy.d.ts.map +0 -0
  352. /package/{dist → types}/retry/ImdsRetryPolicy.d.ts +0 -0
  353. /package/{dist → types}/retry/ImdsRetryPolicy.d.ts.map +0 -0
  354. /package/{dist → types}/retry/LinearRetryStrategy.d.ts +0 -0
  355. /package/{dist → types}/retry/LinearRetryStrategy.d.ts.map +0 -0
  356. /package/{dist → types}/utils/EncodingUtils.d.ts +0 -0
  357. /package/{dist → types}/utils/EncodingUtils.d.ts.map +0 -0
  358. /package/{dist → types}/utils/NetworkUtils.d.ts +0 -0
  359. /package/{dist → types}/utils/NetworkUtils.d.ts.map +0 -0
  360. /package/{dist → types}/utils/TimeUtils.d.ts +0 -0
  361. /package/{dist → types}/utils/TimeUtils.d.ts.map +0 -0
@@ -1,99 +0,0 @@
1
- import { NodeStorage } from "./NodeStorage.js";
2
- import { AccountInfo, Logger, ISerializableTokenCache, ICachePlugin } from "@azure/msal-common/node";
3
- import { CacheKVStore } from "./serializer/SerializerTypes.js";
4
- import { ITokenCache } from "./ITokenCache.js";
5
- /**
6
- * In-memory token cache manager
7
- * @public
8
- */
9
- export declare class TokenCache implements ISerializableTokenCache, ITokenCache {
10
- private storage;
11
- private cacheHasChanged;
12
- private cacheSnapshot;
13
- readonly persistence: ICachePlugin;
14
- private logger;
15
- constructor(storage: NodeStorage, logger: Logger, cachePlugin?: ICachePlugin);
16
- /**
17
- * Set to true if cache state has changed since last time serialize or writeToPersistence was called
18
- */
19
- hasChanged(): boolean;
20
- /**
21
- * Serializes in memory cache to JSON
22
- */
23
- serialize(): string;
24
- /**
25
- * Deserializes JSON to in-memory cache. JSON should be in MSAL cache schema format
26
- * @param cache - blob formatted cache
27
- */
28
- deserialize(cache: string): void;
29
- /**
30
- * Fetches the cache key-value map
31
- */
32
- getKVStore(): CacheKVStore;
33
- /**
34
- * Gets cache snapshot in CacheKVStore format
35
- */
36
- getCacheSnapshot(): CacheKVStore;
37
- /**
38
- * API that retrieves all accounts currently in cache to the user
39
- */
40
- getAllAccounts(correlationId?: string): Promise<AccountInfo[]>;
41
- /**
42
- * Returns the signed in account matching homeAccountId.
43
- * (the account object is created at the time of successful login)
44
- * or null when no matching account is found
45
- * @param homeAccountId - unique identifier for an account (uid.utid)
46
- */
47
- getAccountByHomeId(homeAccountId: string): Promise<AccountInfo | null>;
48
- /**
49
- * Returns the signed in account matching localAccountId.
50
- * (the account object is created at the time of successful login)
51
- * or null when no matching account is found
52
- * @param localAccountId - unique identifier of an account (sub/obj when homeAccountId cannot be populated)
53
- */
54
- getAccountByLocalId(localAccountId: string): Promise<AccountInfo | null>;
55
- /**
56
- * API to remove a specific account and the relevant data from cache
57
- * @param account - AccountInfo passed by the user
58
- */
59
- removeAccount(account: AccountInfo, correlationId?: string): Promise<void>;
60
- /**
61
- * Overwrites in-memory cache with persistent cache
62
- */
63
- overwriteCache(): Promise<void>;
64
- /**
65
- * Called when the cache has changed state.
66
- */
67
- private handleChangeEvent;
68
- /**
69
- * Merge in memory cache with the cache snapshot.
70
- * @param oldState - cache before changes
71
- * @param currentState - current cache state in the library
72
- */
73
- private mergeState;
74
- /**
75
- * Deep update of oldState based on newState values
76
- * @param oldState - cache before changes
77
- * @param newState - updated cache
78
- */
79
- private mergeUpdates;
80
- /**
81
- * Removes entities in oldState that the were removed from newState. If there are any unknown values in root of
82
- * oldState that are not recognized, they are left untouched.
83
- * @param oldState - cache before changes
84
- * @param newState - updated cache
85
- */
86
- private mergeRemovals;
87
- /**
88
- * Helper to merge new cache with the old one
89
- * @param oldState - cache before changes
90
- * @param newState - updated cache
91
- */
92
- private mergeRemovalsDict;
93
- /**
94
- * Helper to overlay as a part of cache merge
95
- * @param passedInCache - cache read from the blob
96
- */
97
- private overlayDefaults;
98
- }
99
- //# sourceMappingURL=TokenCache.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TokenCache.d.ts","sourceRoot":"","sources":["../../../src/cache/TokenCache.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EACH,WAAW,EACX,MAAM,EACN,uBAAuB,EACvB,YAAY,EAEf,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAQH,YAAY,EACf,MAAM,iCAAiC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B;;;OAGG;IACH,OAAO,CAAC,eAAe;CAyB1B"}
@@ -1,23 +0,0 @@
1
- import { ICachePlugin, TokenCacheContext } from "@azure/msal-common/node";
2
- import { IPartitionManager } from "./IPartitionManager.js";
3
- import { ICacheClient } from "./ICacheClient.js";
4
- /**
5
- * Cache plugin that serializes data to the cache and deserializes data from the cache
6
- * @public
7
- */
8
- export declare class DistributedCachePlugin implements ICachePlugin {
9
- private client;
10
- private partitionManager;
11
- constructor(client: ICacheClient, partitionManager: IPartitionManager);
12
- /**
13
- * Deserializes the cache before accessing it
14
- * @param cacheContext - TokenCacheContext
15
- */
16
- beforeCacheAccess(cacheContext: TokenCacheContext): Promise<void>;
17
- /**
18
- * Serializes the cache after accessing it
19
- * @param cacheContext - TokenCacheContext
20
- */
21
- afterCacheAccess(cacheContext: TokenCacheContext): Promise<void>;
22
- }
23
- //# sourceMappingURL=DistributedCachePlugin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DistributedCachePlugin.d.ts","sourceRoot":"","sources":["../../../../src/cache/distributed/DistributedCachePlugin.ts"],"names":[],"mappings":"AAKA,OAAO,EAEH,YAAY,EAEZ,iBAAiB,EACpB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD;;;GAGG;AACH,qBAAa,sBAAuB,YAAW,YAAY;IACvD,OAAO,CAAC,MAAM,CAAe;IAC7B,OAAO,CAAC,gBAAgB,CAAoB;gBAEhC,MAAM,EAAE,YAAY,EAAE,gBAAgB,EAAE,iBAAiB;IAKrE;;;OAGG;IACU,iBAAiB,CAC1B,YAAY,EAAE,iBAAiB,GAChC,OAAO,CAAC,IAAI,CAAC;IAMhB;;;OAGG;IACU,gBAAgB,CACzB,YAAY,EAAE,iBAAiB,GAChC,OAAO,CAAC,IAAI,CAAC;CAyBnB"}
@@ -1,22 +0,0 @@
1
- /**
2
- * Interface for the cache that defines a getter and setter
3
- * @public
4
- */
5
- export interface ICacheClient {
6
- /**
7
- * Retrieve the value from the cache
8
- *
9
- * @param key - key of item in the cache
10
- * @returns Promise<string>
11
- */
12
- get(key: string): Promise<string>;
13
- /**
14
- * Save the required value using the provided key to cache
15
- *
16
- * @param key - key of item in the cache
17
- * @param value - value of item to be saved in the cache
18
- * @returns Promise<string>
19
- */
20
- set(key: string, value: string): Promise<string>;
21
- }
22
- //# sourceMappingURL=ICacheClient.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ICacheClient.d.ts","sourceRoot":"","sources":["../../../../src/cache/distributed/ICacheClient.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,MAAM,WAAW,YAAY;IACzB;;;;;OAKG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAElC;;;;;;OAMG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CACpD"}
@@ -1,33 +0,0 @@
1
- import { AccountEntity } from "@azure/msal-common/node";
2
- /**
3
- * Interface that defines getter methods to get keys used to identity data in the cache
4
- * @public
5
- */
6
- export interface IPartitionManager {
7
- /**
8
- * This function should return the correct key from which to read
9
- * the specific user's information from cache.
10
- *
11
- * Example: Your application may be partitioning the user's cache
12
- * information for each user using the homeAccountId and thus
13
- * this function would return the homeAccountId for
14
- * the user in question
15
- *
16
- * @returns Promise<string>
17
- */
18
- getKey(): Promise<string>;
19
- /**
20
- * This function should return the correct key being used to save each
21
- * user's cache information to cache - given an AccountEntity
22
- *
23
- * Example: Your application may be partitioning the user's cache
24
- * information for each user using the homeAccountId thus
25
- * this function would return the homeAccountId from
26
- * the provided AccountEntity
27
- *
28
- * @param accountEntity - AccountEntity
29
- * @returns Promise<string>
30
- */
31
- extractKey(accountEntity: AccountEntity): Promise<string>;
32
- }
33
- //# sourceMappingURL=IPartitionManager.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IPartitionManager.d.ts","sourceRoot":"","sources":["../../../../src/cache/distributed/IPartitionManager.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;;;;;;;OAUG;IACH,MAAM,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAE1B;;;;;;;;;;;OAWG;IACH,UAAU,CAAC,aAAa,EAAE,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CAC7D"}
@@ -1,44 +0,0 @@
1
- import { AccountCache, IdTokenCache, AccessTokenCache, RefreshTokenCache, AppMetadataCache } from "@azure/msal-common/node";
2
- import { JsonCache, InMemoryCache, SerializedAccountEntity, SerializedIdTokenEntity, SerializedAccessTokenEntity, SerializedRefreshTokenEntity, SerializedAppMetadataEntity } from "./SerializerTypes.js";
3
- /**
4
- * This class deserializes cache entities read from the file into in-memory object types defined internally
5
- * @internal
6
- */
7
- export declare class Deserializer {
8
- /**
9
- * Parse the JSON blob in memory and deserialize the content
10
- * @param cachedJson - JSON blob cache
11
- */
12
- static deserializeJSONBlob(jsonFile: string): JsonCache;
13
- /**
14
- * Deserializes accounts to AccountEntity objects
15
- * @param accounts - accounts of type SerializedAccountEntity
16
- */
17
- static deserializeAccounts(accounts: Record<string, SerializedAccountEntity>): AccountCache;
18
- /**
19
- * Deserializes id tokens to IdTokenEntity objects
20
- * @param idTokens - credentials of type SerializedIdTokenEntity
21
- */
22
- static deserializeIdTokens(idTokens: Record<string, SerializedIdTokenEntity>): IdTokenCache;
23
- /**
24
- * Deserializes access tokens to AccessTokenEntity objects
25
- * @param accessTokens - access tokens of type SerializedAccessTokenEntity
26
- */
27
- static deserializeAccessTokens(accessTokens: Record<string, SerializedAccessTokenEntity>): AccessTokenCache;
28
- /**
29
- * Deserializes refresh tokens to RefreshTokenEntity objects
30
- * @param refreshTokens - refresh tokens of type SerializedRefreshTokenEntity
31
- */
32
- static deserializeRefreshTokens(refreshTokens: Record<string, SerializedRefreshTokenEntity>): RefreshTokenCache;
33
- /**
34
- * Deserializes appMetadata to AppMetaData objects
35
- * @param appMetadata - app metadata of type SerializedAppMetadataEntity
36
- */
37
- static deserializeAppMetadata(appMetadata: Record<string, SerializedAppMetadataEntity>): AppMetadataCache;
38
- /**
39
- * Deserialize an inMemory Cache
40
- * @param jsonCache - JSON blob cache
41
- */
42
- static deserializeAllCache(jsonCache: JsonCache): InMemoryCache;
43
- }
44
- //# sourceMappingURL=Deserializer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Deserializer.d.ts","sourceRoot":"","sources":["../../../../src/cache/serializer/Deserializer.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAOnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACH,SAAS,EACT,aAAa,EACb,uBAAuB,EACvB,uBAAuB,EACvB,2BAA2B,EAC3B,4BAA4B,EAC5B,2BAA2B,EAC9B,MAAM,sBAAsB,CAAC;AAE9B;;;GAGG;AACH,qBAAa,YAAY;IACrB;;;OAGG;IACH,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS;IAKvD;;;OAGG;IACH,MAAM,CAAC,mBAAmB,CACtB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC,GAClD,YAAY;IAgCf;;;OAGG;IACH,MAAM,CAAC,mBAAmB,CACtB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC,GAClD,YAAY;IAqBf;;;OAGG;IACH,MAAM,CAAC,uBAAuB,CAC1B,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,2BAA2B,CAAC,GAC1D,gBAAgB;IAgCnB;;;OAGG;IACH,MAAM,CAAC,wBAAwB,CAC3B,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,4BAA4B,CAAC,GAC5D,iBAAiB;IAwBpB;;;OAGG;IACH,MAAM,CAAC,sBAAsB,CACzB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,2BAA2B,CAAC,GACzD,gBAAgB;IAgBnB;;;OAGG;IACH,MAAM,CAAC,mBAAmB,CAAC,SAAS,EAAE,SAAS,GAAG,aAAa;CAmBlE"}
@@ -1,44 +0,0 @@
1
- import { AccountCache, IdTokenCache, AccessTokenCache, RefreshTokenCache, AppMetadataCache } from "@azure/msal-common/node";
2
- import { InMemoryCache, JsonCache, SerializedAccountEntity, SerializedIdTokenEntity, SerializedAccessTokenEntity, SerializedRefreshTokenEntity, SerializedAppMetadataEntity } from "./SerializerTypes.js";
3
- /**
4
- * This class serializes cache entities to be saved into in-memory object types defined internally
5
- * @internal
6
- */
7
- export declare class Serializer {
8
- /**
9
- * serialize the JSON blob
10
- * @param data - JSON blob cache
11
- */
12
- static serializeJSONBlob(data: JsonCache): string;
13
- /**
14
- * Serialize Accounts
15
- * @param accCache - cache of accounts
16
- */
17
- static serializeAccounts(accCache: AccountCache): Record<string, SerializedAccountEntity>;
18
- /**
19
- * Serialize IdTokens
20
- * @param idTCache - cache of ID tokens
21
- */
22
- static serializeIdTokens(idTCache: IdTokenCache): Record<string, SerializedIdTokenEntity>;
23
- /**
24
- * Serializes AccessTokens
25
- * @param atCache - cache of access tokens
26
- */
27
- static serializeAccessTokens(atCache: AccessTokenCache): Record<string, SerializedAccessTokenEntity>;
28
- /**
29
- * Serialize refreshTokens
30
- * @param rtCache - cache of refresh tokens
31
- */
32
- static serializeRefreshTokens(rtCache: RefreshTokenCache): Record<string, SerializedRefreshTokenEntity>;
33
- /**
34
- * Serialize amdtCache
35
- * @param amdtCache - cache of app metadata
36
- */
37
- static serializeAppMetadata(amdtCache: AppMetadataCache): Record<string, SerializedAppMetadataEntity>;
38
- /**
39
- * Serialize the cache
40
- * @param inMemCache - itemised cache read from the JSON
41
- */
42
- static serializeAllCache(inMemCache: InMemoryCache): JsonCache;
43
- }
44
- //# sourceMappingURL=Serializer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Serializer.d.ts","sourceRoot":"","sources":["../../../../src/cache/serializer/Serializer.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACH,aAAa,EACb,SAAS,EACT,uBAAuB,EACvB,uBAAuB,EACvB,2BAA2B,EAC3B,4BAA4B,EAC5B,2BAA2B,EAC9B,MAAM,sBAAsB,CAAC;AAE9B;;;GAGG;AACH,qBAAa,UAAU;IACnB;;;OAGG;IACH,MAAM,CAAC,iBAAiB,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM;IAIjD;;;OAGG;IACH,MAAM,CAAC,iBAAiB,CACpB,QAAQ,EAAE,YAAY,GACvB,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC;IA0B1C;;;OAGG;IACH,MAAM,CAAC,iBAAiB,CACpB,QAAQ,EAAE,YAAY,GACvB,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC;IAiB1C;;;OAGG;IACH,MAAM,CAAC,qBAAqB,CACxB,OAAO,EAAE,gBAAgB,GAC1B,MAAM,CAAC,MAAM,EAAE,2BAA2B,CAAC;IA0B9C;;;OAGG;IACH,MAAM,CAAC,sBAAsB,CACzB,OAAO,EAAE,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,4BAA4B,CAAC;IAmB/C;;;OAGG;IACH,MAAM,CAAC,oBAAoB,CACvB,SAAS,EAAE,gBAAgB,GAC5B,MAAM,CAAC,MAAM,EAAE,2BAA2B,CAAC;IAc9C;;;OAGG;IACH,MAAM,CAAC,iBAAiB,CAAC,UAAU,EAAE,aAAa,GAAG,SAAS;CASjE"}
@@ -1,102 +0,0 @@
1
- import { AccountCache, IdTokenCache, AccessTokenCache, RefreshTokenCache, AppMetadataCache, ValidCacheType } from "@azure/msal-common/node";
2
- /**
3
- * Key value store for in-memory cache
4
- * @public
5
- */
6
- export type CacheKVStore = Record<string, ValidCacheType>;
7
- /**
8
- * Cache format read from the cache blob provided to the configuration during app instantiation
9
- * @public
10
- */
11
- export type JsonCache = {
12
- Account: Record<string, SerializedAccountEntity>;
13
- IdToken: Record<string, SerializedIdTokenEntity>;
14
- AccessToken: Record<string, SerializedAccessTokenEntity>;
15
- RefreshToken: Record<string, SerializedRefreshTokenEntity>;
16
- AppMetadata: Record<string, SerializedAppMetadataEntity>;
17
- };
18
- /**
19
- * Intermittent type to handle in-memory data objects with defined types
20
- * @public
21
- */
22
- export type InMemoryCache = {
23
- accounts: AccountCache;
24
- idTokens: IdTokenCache;
25
- accessTokens: AccessTokenCache;
26
- refreshTokens: RefreshTokenCache;
27
- appMetadata: AppMetadataCache;
28
- };
29
- /**
30
- * Account type
31
- * @public
32
- */
33
- export type SerializedAccountEntity = {
34
- home_account_id: string;
35
- environment: string;
36
- realm: string;
37
- local_account_id: string;
38
- username: string;
39
- authority_type: string;
40
- name?: string;
41
- client_info?: string;
42
- last_modification_time?: string;
43
- last_modification_app?: string;
44
- tenantProfiles?: string[];
45
- };
46
- /**
47
- * Idtoken credential type
48
- * @public
49
- */
50
- export type SerializedIdTokenEntity = {
51
- home_account_id: string;
52
- environment: string;
53
- credential_type: string;
54
- client_id: string;
55
- secret: string;
56
- realm: string;
57
- };
58
- /**
59
- * Access token credential type
60
- * @public
61
- */
62
- export type SerializedAccessTokenEntity = {
63
- home_account_id: string;
64
- environment: string;
65
- credential_type: string;
66
- client_id: string;
67
- secret: string;
68
- realm: string;
69
- target: string;
70
- cached_at: string;
71
- expires_on: string;
72
- extended_expires_on?: string;
73
- refresh_on?: string;
74
- key_id?: string;
75
- token_type?: string;
76
- userAssertionHash?: string;
77
- resource?: string;
78
- };
79
- /**
80
- * Refresh token credential type
81
- * @public
82
- */
83
- export type SerializedRefreshTokenEntity = {
84
- home_account_id: string;
85
- environment: string;
86
- credential_type: string;
87
- client_id: string;
88
- secret: string;
89
- family_id?: string;
90
- target?: string;
91
- realm?: string;
92
- };
93
- /**
94
- * AppMetadata type
95
- * @public
96
- */
97
- export type SerializedAppMetadataEntity = {
98
- client_id: string;
99
- environment: string;
100
- family_id?: string;
101
- };
102
- //# sourceMappingURL=SerializerTypes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SerializerTypes.d.ts","sourceRoot":"","sources":["../../../../src/cache/serializer/SerializerTypes.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,cAAc,EACjB,MAAM,yBAAyB,CAAC;AAEjC;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;AAE1D;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG;IACpB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC,CAAC;IACjD,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC,CAAC;IACjD,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,2BAA2B,CAAC,CAAC;IACzD,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,4BAA4B,CAAC,CAAC;IAC3D,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,2BAA2B,CAAC,CAAC;CAC5D,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG;IACxB,QAAQ,EAAE,YAAY,CAAC;IACvB,QAAQ,EAAE,YAAY,CAAC;IACvB,YAAY,EAAE,gBAAgB,CAAC;IAC/B,aAAa,EAAE,iBAAiB,CAAC;IACjC,WAAW,EAAE,gBAAgB,CAAC;CACjC,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,uBAAuB,GAAG;IAClC,eAAe,EAAE,MAAM,CAAC;IACxB,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MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -1,42 +0,0 @@
1
- import { ClientConfiguration, CommonClientConfiguration, INetworkModule, NetworkRequestOptions, Logger, ICrypto, CacheManager, ServerTelemetryManager, Authority, CcsCredential, RequestThumbprint, ServerAuthorizationTokenResponse, NetworkResponse, BaseAuthRequest, StubPerformanceClient } from "@azure/msal-common/node";
2
- /**
3
- * Base application class which will construct requests to send to and handle responses from the Microsoft STS using the authorization code flow.
4
- * @internal
5
- */
6
- export declare abstract class BaseClient {
7
- logger: Logger;
8
- protected config: CommonClientConfiguration;
9
- protected cryptoUtils: ICrypto;
10
- protected cacheManager: CacheManager;
11
- protected networkClient: INetworkModule;
12
- protected serverTelemetryManager: ServerTelemetryManager | null;
13
- authority: Authority;
14
- protected performanceClient: StubPerformanceClient;
15
- protected constructor(configuration: ClientConfiguration);
16
- /**
17
- * Creates default headers for requests to token endpoint
18
- */
19
- protected createTokenRequestHeaders(ccsCred?: CcsCredential): Record<string, string>;
20
- /**
21
- * Http post to token endpoint
22
- * @param tokenEndpoint
23
- * @param queryString
24
- * @param headers
25
- * @param thumbprint
26
- */
27
- protected executePostToTokenEndpoint(tokenEndpoint: string, queryString: string, headers: Record<string, string>, thumbprint: RequestThumbprint, correlationId: string): Promise<NetworkResponse<ServerAuthorizationTokenResponse>>;
28
- /**
29
- * Wraps sendPostRequestAsync with necessary preflight and postflight logic
30
- * @param thumbprint - Request thumbprint for throttling
31
- * @param tokenEndpoint - Endpoint to make the POST to
32
- * @param options - Body and Headers to include on the POST request
33
- * @param correlationId - CorrelationId for telemetry
34
- */
35
- sendPostRequest<T extends ServerAuthorizationTokenResponse>(thumbprint: RequestThumbprint, tokenEndpoint: string, options: NetworkRequestOptions, correlationId: string): Promise<NetworkResponse<T>>;
36
- /**
37
- * Creates query string for the /token request
38
- * @param request
39
- */
40
- createTokenQueryParameters(request: BaseAuthRequest): string;
41
- }
42
- //# sourceMappingURL=BaseClient.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BaseClient.d.ts","sourceRoot":"","sources":["../../../src/client/BaseClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,mBAAmB,EAEnB,yBAAyB,EACzB,cAAc,EACd,qBAAqB,EACrB,MAAM,EACN,OAAO,EACP,YAAY,EACZ,sBAAsB,EACtB,SAAS,EACT,aAAa,EAEb,iBAAiB,EACjB,gCAAgC,EAChC,eAAe,EACf,eAAe,EACf,qBAAqB,EACxB,MAAM,yBAAyB,CAAC;AAGjC;;;GAGG;AACH,8BAAsB,UAAU;IAErB,MAAM,EAAE,MAAM,CAAC;IAGtB,SAAS,CAAC,MAAM,EAAE,yBAAyB,CAAC;IAG5C,SAAS,CAAC,WAAW,EAAE,OAAO,CAAC;IAG/B,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;IAGrC,SAAS,CAAC,aAAa,EAAE,cAAc,CAAC;IAGxC,SAAS,CAAC,sBAAsB,EAAE,sBAAsB,GAAG,IAAI,CAAC;IAGzD,SAAS,EAAE,SAAS,CAAC;IAE5B,SAAS,CAAC,iBAAiB,EAAE,qBAAqB,CAAC;IAEnD,SAAS,aAAa,aAAa,EAAE,mBAAmB;IAyBxD;;OAEG;IACH,SAAS,CAAC,yBAAyB,CAC/B,OAAO,CAAC,EAAE,aAAa,GACxB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAQzB;;;;;;OAMG;cACa,0BAA0B,CACtC,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC/B,UAAU,EAAE,iBAAiB,EAC7B,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,eAAe,CAAC,gCAAgC,CAAC,CAAC;IAe7D;;;;;;OAMG;IACG,eAAe,CAAC,CAAC,SAAS,gCAAgC,EAC5D,UAAU,EAAE,iBAAiB,EAC7B,aAAa,EAAE,MAAM,EACrB,OAAO,EAAE,qBAAqB,EAC9B,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;IAa9B;;;OAGG;IACH,0BAA0B,CAAC,OAAO,EAAE,eAAe,GAAG,MAAM;CAQ/D"}
@@ -1,146 +0,0 @@
1
- import { ClientConfiguration, AuthenticationResult, Authority, BaseAuthRequest, Logger, ServerTelemetryManager, AzureRegionConfiguration, AzureCloudOptions, AuthorizationCodePayload, ClientAssertionCallback } from "@azure/msal-common/node";
2
- import { Configuration, NodeConfiguration } from "../config/Configuration.js";
3
- import { CryptoProvider } from "../crypto/CryptoProvider.js";
4
- import { NodeStorage } from "../cache/NodeStorage.js";
5
- import { TokenCache } from "../cache/TokenCache.js";
6
- import { ClientAssertion } from "./ClientAssertion.js";
7
- import { AuthorizationUrlRequest } from "../request/AuthorizationUrlRequest.js";
8
- import { AuthorizationCodeRequest } from "../request/AuthorizationCodeRequest.js";
9
- import { RefreshTokenRequest } from "../request/RefreshTokenRequest.js";
10
- import { SilentFlowRequest } from "../request/SilentFlowRequest.js";
11
- import { UsernamePasswordRequest } from "../request/UsernamePasswordRequest.js";
12
- /**
13
- * Base abstract class for all ClientApplications - public and confidential
14
- * @public
15
- */
16
- export declare abstract class ClientApplication {
17
- protected readonly cryptoProvider: CryptoProvider;
18
- private tokenCache;
19
- /**
20
- * Platform storage object
21
- */
22
- protected storage: NodeStorage;
23
- /**
24
- * Logger object to log the application flow
25
- */
26
- protected logger: Logger;
27
- /**
28
- * Platform configuration initialized by the application
29
- */
30
- protected config: NodeConfiguration;
31
- /**
32
- * Client assertion passed by the user for confidential client flows
33
- */
34
- protected clientAssertion: ClientAssertion;
35
- protected developerProvidedClientAssertion: string | ClientAssertionCallback;
36
- /**
37
- * Client secret passed by the user for confidential client flows
38
- */
39
- protected clientSecret: string;
40
- /**
41
- * Constructor for the ClientApplication
42
- */
43
- protected constructor(configuration: Configuration);
44
- /**
45
- * Creates the URL of the authorization request, letting the user input credentials and consent to the
46
- * application. The URL targets the /authorize endpoint of the authority configured in the
47
- * application object.
48
- *
49
- * Once the user inputs their credentials and consents, the authority will send a response to the redirect URI
50
- * sent in the request and should contain an authorization code, which can then be used to acquire tokens via
51
- * `acquireTokenByCode(AuthorizationCodeRequest)`.
52
- */
53
- getAuthCodeUrl(request: AuthorizationUrlRequest): Promise<string>;
54
- /**
55
- * Acquires a token by exchanging the Authorization Code received from the first step of OAuth2.0
56
- * Authorization Code flow.
57
- *
58
- * `getAuthCodeUrl(AuthorizationCodeUrlRequest)` can be used to create the URL for the first step of OAuth2.0
59
- * Authorization Code flow. Ensure that values for redirectUri and scopes in AuthorizationCodeUrlRequest and
60
- * AuthorizationCodeRequest are the same.
61
- */
62
- acquireTokenByCode(request: AuthorizationCodeRequest, authCodePayLoad?: AuthorizationCodePayload): Promise<AuthenticationResult>;
63
- /**
64
- * Acquires a token by exchanging the refresh token provided for a new set of tokens.
65
- *
66
- * This API is provided only for scenarios where you would like to migrate from ADAL to MSAL. Otherwise, it is
67
- * recommended that you use `acquireTokenSilent()` for silent scenarios. When using `acquireTokenSilent()`, MSAL will
68
- * handle the caching and refreshing of tokens automatically.
69
- */
70
- acquireTokenByRefreshToken(request: RefreshTokenRequest): Promise<AuthenticationResult | null>;
71
- /**
72
- * Acquires a token silently when a user specifies the account the token is requested for.
73
- *
74
- * This API expects the user to provide an account object and looks into the cache to retrieve the token if present.
75
- * There is also an optional "forceRefresh" boolean the user can send to bypass the cache for access_token and id_token.
76
- * In case the refresh_token is expired or not found, an error is thrown
77
- * and the guidance is for the user to call any interactive token acquisition API (eg: `acquireTokenByCode()`).
78
- */
79
- acquireTokenSilent(request: SilentFlowRequest): Promise<AuthenticationResult>;
80
- private acquireCachedTokenSilent;
81
- /**
82
- * Acquires tokens with password grant by exchanging client applications username and password for credentials
83
- *
84
- * The latest OAuth 2.0 Security Best Current Practice disallows the password grant entirely.
85
- * More details on this recommendation at https://tools.ietf.org/html/draft-ietf-oauth-security-topics-13#section-3.4
86
- * Microsoft's documentation and recommendations are at:
87
- * https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-authentication-flows#usernamepassword
88
- *
89
- * @param request - UsenamePasswordRequest
90
- * @deprecated - Use a more secure flow instead
91
- */
92
- acquireTokenByUsernamePassword(request: UsernamePasswordRequest): Promise<AuthenticationResult | null>;
93
- /**
94
- * Gets the token cache for the application.
95
- */
96
- getTokenCache(): TokenCache;
97
- /**
98
- * Validates OIDC state by comparing the user cached state with the state received from the server.
99
- *
100
- * This API is provided for scenarios where you would use OAuth2.0 state parameter to mitigate against
101
- * CSRF attacks.
102
- * For more information about state, visit https://datatracker.ietf.org/doc/html/rfc6819#section-3.6.
103
- * @param state - Unique GUID generated by the user that is cached by the user and sent to the server during the first leg of the flow
104
- * @param cachedState - This string is sent back by the server with the authorization code
105
- */
106
- protected validateState(state: string, cachedState: string): void;
107
- /**
108
- * Returns the logger instance
109
- */
110
- getLogger(): Logger;
111
- /**
112
- * Replaces the default logger set in configurations with new Logger with new configurations
113
- * @param logger - Logger instance
114
- */
115
- setLogger(logger: Logger): void;
116
- /**
117
- * Builds the common configuration to be passed to the common component based on the platform configurarion
118
- * @param authority - user passed authority in configuration
119
- * @param serverTelemetryManager - initializes servertelemetry if passed
120
- */
121
- protected buildOauthClientConfiguration(discoveredAuthority: Authority, requestCorrelationId: string, redirectUri: string, serverTelemetryManager?: ServerTelemetryManager): Promise<ClientConfiguration>;
122
- private getClientAssertion;
123
- /**
124
- * Generates a request with the default scopes & generates a correlationId.
125
- * @param authRequest - BaseAuthRequest for initialization
126
- */
127
- protected initializeBaseRequest(authRequest: Partial<BaseAuthRequest>): Promise<BaseAuthRequest>;
128
- /**
129
- * Initializes the server telemetry payload
130
- * @param apiId - Id for a specific request
131
- * @param correlationId - GUID
132
- * @param forceRefresh - boolean to indicate network call
133
- */
134
- protected initializeServerTelemetryManager(apiId: number, correlationId: string, forceRefresh?: boolean): ServerTelemetryManager;
135
- /**
136
- * Create authority instance. If authority not passed in request, default to authority set on the application
137
- * object. If no authority set in application object, then default to common authority.
138
- * @param authorityString - authority from user configuration
139
- */
140
- protected createAuthority(authorityString: string, requestCorrelationId: string, azureRegionConfiguration?: AzureRegionConfiguration, azureCloudOptions?: AzureCloudOptions): Promise<Authority>;
141
- /**
142
- * Clear the cache except for authority metadata.
143
- */
144
- clearCache(): void;
145
- }
146
- //# sourceMappingURL=ClientApplication.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ClientApplication.d.ts","sourceRoot":"","sources":["../../../src/client/ClientApplication.ts"],"names":[],"mappings":"AAKA,OAAO,EAEH,mBAAmB,EAEnB,oBAAoB,EACpB,SAAS,EAET,eAAe,EAEf,MAAM,EACN,sBAAsB,EAOtB,wBAAwB,EAExB,iBAAiB,EACjB,wBAAwB,EAMxB,uBAAuB,EAI1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACH,aAAa,EAEb,iBAAiB,EACpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,EAA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