@azure/msal-node 2.13.1 → 2.14.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 (415) hide show
  1. package/dist/cache/ITokenCache.d.ts +1 -1
  2. package/dist/cache/ITokenCache.d.ts.map +1 -1
  3. package/dist/cache/NodeStorage.d.ts +1 -1
  4. package/dist/cache/NodeStorage.d.ts.map +1 -1
  5. package/dist/cache/NodeStorage.mjs +2 -2
  6. package/dist/cache/TokenCache.d.ts +1 -1
  7. package/dist/cache/TokenCache.d.ts.map +1 -1
  8. package/dist/cache/TokenCache.mjs +2 -2
  9. package/dist/cache/distributed/DistributedCachePlugin.d.ts +1 -1
  10. package/dist/cache/distributed/DistributedCachePlugin.d.ts.map +1 -1
  11. package/dist/cache/distributed/DistributedCachePlugin.mjs +2 -2
  12. package/dist/cache/distributed/IPartitionManager.d.ts +1 -1
  13. package/dist/cache/distributed/IPartitionManager.d.ts.map +1 -1
  14. package/dist/cache/serializer/Deserializer.d.ts +1 -1
  15. package/dist/cache/serializer/Deserializer.d.ts.map +1 -1
  16. package/dist/cache/serializer/Deserializer.mjs +2 -2
  17. package/dist/cache/serializer/Serializer.d.ts +1 -1
  18. package/dist/cache/serializer/Serializer.d.ts.map +1 -1
  19. package/dist/cache/serializer/Serializer.mjs +1 -1
  20. package/dist/cache/serializer/SerializerTypes.d.ts +1 -1
  21. package/dist/cache/serializer/SerializerTypes.d.ts.map +1 -1
  22. package/dist/client/ClientApplication.d.ts +1 -1
  23. package/dist/client/ClientApplication.d.ts.map +1 -1
  24. package/dist/client/ClientApplication.mjs +2 -2
  25. package/dist/client/ClientAssertion.mjs +2 -2
  26. package/dist/client/ClientCredentialClient.d.ts +2 -2
  27. package/dist/client/ClientCredentialClient.d.ts.map +1 -1
  28. package/dist/client/ClientCredentialClient.mjs +2 -2
  29. package/dist/client/ConfidentialClientApplication.d.ts +1 -1
  30. package/dist/client/ConfidentialClientApplication.d.ts.map +1 -1
  31. package/dist/client/ConfidentialClientApplication.mjs +2 -2
  32. package/dist/client/DeviceCodeClient.d.ts +1 -1
  33. package/dist/client/DeviceCodeClient.d.ts.map +1 -1
  34. package/dist/client/DeviceCodeClient.mjs +2 -2
  35. package/dist/client/IConfidentialClientApplication.d.ts +1 -1
  36. package/dist/client/IConfidentialClientApplication.d.ts.map +1 -1
  37. package/dist/client/IPublicClientApplication.d.ts +1 -1
  38. package/dist/client/IPublicClientApplication.d.ts.map +1 -1
  39. package/dist/client/ManagedIdentityApplication.d.ts +4 -4
  40. package/dist/client/ManagedIdentityApplication.d.ts.map +1 -1
  41. package/dist/client/ManagedIdentityApplication.mjs +2 -2
  42. package/dist/client/ManagedIdentityClient.d.ts +6 -6
  43. package/dist/client/ManagedIdentityClient.d.ts.map +1 -1
  44. package/dist/client/ManagedIdentityClient.mjs +1 -1
  45. package/dist/client/ManagedIdentitySources/AppService.d.ts +6 -6
  46. package/dist/client/ManagedIdentitySources/AppService.d.ts.map +1 -1
  47. package/dist/client/ManagedIdentitySources/AppService.mjs +1 -1
  48. package/dist/client/ManagedIdentitySources/AzureArc.d.ts +7 -7
  49. package/dist/client/ManagedIdentitySources/AzureArc.d.ts.map +1 -1
  50. package/dist/client/ManagedIdentitySources/AzureArc.mjs +2 -2
  51. package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.d.ts +8 -8
  52. package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.d.ts.map +1 -1
  53. package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.mjs +2 -2
  54. package/dist/client/ManagedIdentitySources/CloudShell.d.ts +6 -6
  55. package/dist/client/ManagedIdentitySources/CloudShell.d.ts.map +1 -1
  56. package/dist/client/ManagedIdentitySources/CloudShell.mjs +1 -1
  57. package/dist/client/ManagedIdentitySources/Imds.d.ts +6 -6
  58. package/dist/client/ManagedIdentitySources/Imds.d.ts.map +1 -1
  59. package/dist/client/ManagedIdentitySources/Imds.mjs +1 -1
  60. package/dist/client/ManagedIdentitySources/ServiceFabric.d.ts +6 -6
  61. package/dist/client/ManagedIdentitySources/ServiceFabric.d.ts.map +1 -1
  62. package/dist/client/ManagedIdentitySources/ServiceFabric.mjs +1 -1
  63. package/dist/client/OnBehalfOfClient.d.ts +1 -1
  64. package/dist/client/OnBehalfOfClient.d.ts.map +1 -1
  65. package/dist/client/OnBehalfOfClient.mjs +2 -2
  66. package/dist/client/PublicClientApplication.d.ts +1 -1
  67. package/dist/client/PublicClientApplication.d.ts.map +1 -1
  68. package/dist/client/PublicClientApplication.mjs +2 -2
  69. package/dist/client/UsernamePasswordClient.d.ts +1 -1
  70. package/dist/client/UsernamePasswordClient.d.ts.map +1 -1
  71. package/dist/client/UsernamePasswordClient.mjs +2 -2
  72. package/dist/config/Configuration.d.ts +3 -3
  73. package/dist/config/Configuration.d.ts.map +1 -1
  74. package/dist/config/Configuration.mjs +2 -2
  75. package/dist/config/ManagedIdentityId.d.ts +2 -2
  76. package/dist/config/ManagedIdentityId.d.ts.map +1 -1
  77. package/dist/config/ManagedIdentityId.mjs +1 -1
  78. package/dist/config/ManagedIdentityRequestParameters.d.ts +1 -1
  79. package/dist/config/ManagedIdentityRequestParameters.d.ts.map +1 -1
  80. package/dist/config/ManagedIdentityRequestParameters.mjs +2 -2
  81. package/dist/crypto/CryptoProvider.d.ts +1 -1
  82. package/dist/crypto/CryptoProvider.d.ts.map +1 -1
  83. package/dist/crypto/CryptoProvider.mjs +1 -1
  84. package/dist/crypto/GuidGenerator.d.ts +1 -1
  85. package/dist/crypto/GuidGenerator.d.ts.map +1 -1
  86. package/dist/crypto/GuidGenerator.mjs +1 -1
  87. package/dist/crypto/HashUtils.d.ts +1 -1
  88. package/dist/crypto/HashUtils.mjs +1 -1
  89. package/dist/crypto/PkceGenerator.d.ts +1 -1
  90. package/dist/crypto/PkceGenerator.d.ts.map +1 -1
  91. package/dist/crypto/PkceGenerator.mjs +2 -2
  92. package/dist/error/ManagedIdentityError.d.ts +2 -2
  93. package/dist/error/ManagedIdentityError.d.ts.map +1 -1
  94. package/dist/error/ManagedIdentityError.mjs +2 -2
  95. package/dist/error/ManagedIdentityErrorCodes.mjs +1 -1
  96. package/dist/error/NodeAuthError.d.ts +1 -1
  97. package/dist/error/NodeAuthError.d.ts.map +1 -1
  98. package/dist/error/NodeAuthError.mjs +2 -2
  99. package/dist/index.d.ts +1 -1
  100. package/dist/index.d.ts.map +1 -1
  101. package/dist/index.mjs +2 -2
  102. package/dist/internals.mjs +1 -1
  103. package/dist/network/HttpClient.d.ts +3 -3
  104. package/dist/network/HttpClient.d.ts.map +1 -1
  105. package/dist/network/HttpClient.mjs +2 -2
  106. package/dist/network/HttpClientWithRetries.d.ts +2 -2
  107. package/dist/network/HttpClientWithRetries.d.ts.map +1 -1
  108. package/dist/network/HttpClientWithRetries.mjs +2 -2
  109. package/dist/network/ILoopbackClient.d.ts +1 -1
  110. package/dist/network/ILoopbackClient.d.ts.map +1 -1
  111. package/dist/network/LoopbackClient.d.ts +1 -1
  112. package/dist/network/LoopbackClient.d.ts.map +1 -1
  113. package/dist/network/LoopbackClient.mjs +2 -2
  114. package/dist/packageMetadata.d.ts +1 -1
  115. package/dist/packageMetadata.mjs +2 -2
  116. package/dist/request/AuthorizationCodeRequest.d.ts +1 -1
  117. package/dist/request/AuthorizationCodeRequest.d.ts.map +1 -1
  118. package/dist/request/AuthorizationUrlRequest.d.ts +1 -1
  119. package/dist/request/AuthorizationUrlRequest.d.ts.map +1 -1
  120. package/dist/request/ClientCredentialRequest.d.ts +1 -1
  121. package/dist/request/ClientCredentialRequest.d.ts.map +1 -1
  122. package/dist/request/DeviceCodeRequest.d.ts +1 -1
  123. package/dist/request/DeviceCodeRequest.d.ts.map +1 -1
  124. package/dist/request/InteractiveRequest.d.ts +1 -1
  125. package/dist/request/ManagedIdentityRequest.d.ts +2 -2
  126. package/dist/request/ManagedIdentityRequest.d.ts.map +1 -1
  127. package/dist/request/OnBehalfOfRequest.d.ts +1 -1
  128. package/dist/request/OnBehalfOfRequest.d.ts.map +1 -1
  129. package/dist/request/RefreshTokenRequest.d.ts +1 -1
  130. package/dist/request/RefreshTokenRequest.d.ts.map +1 -1
  131. package/dist/request/SignOutRequest.d.ts +1 -1
  132. package/dist/request/SignOutRequest.d.ts.map +1 -1
  133. package/dist/request/SilentFlowRequest.d.ts +1 -1
  134. package/dist/request/SilentFlowRequest.d.ts.map +1 -1
  135. package/dist/request/UsernamePasswordRequest.d.ts +1 -1
  136. package/dist/request/UsernamePasswordRequest.d.ts.map +1 -1
  137. package/dist/response/ManagedIdentityTokenResponse.d.ts +1 -1
  138. package/dist/response/ManagedIdentityTokenResponse.d.ts.map +1 -1
  139. package/dist/retry/IHttpRetryPolicy.d.ts +1 -1
  140. package/dist/retry/LinearRetryPolicy.d.ts +2 -2
  141. package/dist/retry/LinearRetryPolicy.d.ts.map +1 -1
  142. package/dist/retry/LinearRetryPolicy.mjs +1 -1
  143. package/dist/utils/Constants.mjs +2 -2
  144. package/dist/utils/EncodingUtils.d.ts +1 -1
  145. package/dist/utils/EncodingUtils.mjs +2 -2
  146. package/dist/utils/NetworkUtils.d.ts +1 -1
  147. package/dist/utils/NetworkUtils.d.ts.map +1 -1
  148. package/dist/utils/NetworkUtils.mjs +1 -1
  149. package/dist/utils/NetworkUtils.mjs.map +1 -1
  150. package/lib/msal-node.cjs +12362 -0
  151. package/lib/msal-node.cjs.map +1 -0
  152. package/lib/package.json +1 -0
  153. package/lib/types/cache/ITokenCache.d.ts +16 -0
  154. package/lib/types/cache/ITokenCache.d.ts.map +1 -0
  155. package/lib/types/cache/NodeStorage.d.ts +194 -0
  156. package/lib/types/cache/NodeStorage.d.ts.map +1 -0
  157. package/lib/types/cache/TokenCache.d.ts +91 -0
  158. package/lib/types/cache/TokenCache.d.ts.map +1 -0
  159. package/lib/types/cache/distributed/DistributedCachePlugin.d.ts +11 -0
  160. package/lib/types/cache/distributed/DistributedCachePlugin.d.ts.map +1 -0
  161. package/lib/types/cache/distributed/ICacheClient.d.ts +18 -0
  162. package/lib/types/cache/distributed/ICacheClient.d.ts.map +1 -0
  163. package/lib/types/cache/distributed/IPartitionManager.d.ts +29 -0
  164. package/lib/types/cache/distributed/IPartitionManager.d.ts.map +1 -0
  165. package/lib/types/cache/serializer/Deserializer.d.ts +43 -0
  166. package/lib/types/cache/serializer/Deserializer.d.ts.map +1 -0
  167. package/lib/types/cache/serializer/Serializer.d.ts +40 -0
  168. package/lib/types/cache/serializer/Serializer.d.ts.map +1 -0
  169. package/lib/types/cache/serializer/SerializerTypes.d.ts +103 -0
  170. package/lib/types/cache/serializer/SerializerTypes.d.ts.map +1 -0
  171. package/lib/types/client/ClientApplication.d.ts +144 -0
  172. package/lib/types/client/ClientApplication.d.ts.map +1 -0
  173. package/lib/types/client/ClientAssertion.d.ts +56 -0
  174. package/lib/types/client/ClientAssertion.d.ts.map +1 -0
  175. package/lib/types/client/ClientCredentialClient.d.ts +34 -0
  176. package/lib/types/client/ClientCredentialClient.d.ts.map +1 -0
  177. package/lib/types/client/ConfidentialClientApplication.d.ts +59 -0
  178. package/lib/types/client/ConfidentialClientApplication.d.ts.map +1 -0
  179. package/lib/types/client/DeviceCodeClient.d.ts +54 -0
  180. package/lib/types/client/DeviceCodeClient.d.ts.map +1 -0
  181. package/lib/types/client/IConfidentialClientApplication.d.ts +40 -0
  182. package/lib/types/client/IConfidentialClientApplication.d.ts.map +1 -0
  183. package/lib/types/client/IPublicClientApplication.d.ts +43 -0
  184. package/lib/types/client/IPublicClientApplication.d.ts.map +1 -0
  185. package/lib/types/client/ManagedIdentityApplication.d.ts +31 -0
  186. package/lib/types/client/ManagedIdentityApplication.d.ts.map +1 -0
  187. package/lib/types/client/ManagedIdentityClient.d.ts +28 -0
  188. package/lib/types/client/ManagedIdentityClient.d.ts.map +1 -0
  189. package/lib/types/client/ManagedIdentitySources/AppService.d.ts +18 -0
  190. package/lib/types/client/ManagedIdentitySources/AppService.d.ts.map +1 -0
  191. package/lib/types/client/ManagedIdentitySources/AzureArc.d.ts +28 -0
  192. package/lib/types/client/ManagedIdentitySources/AzureArc.d.ts.map +1 -0
  193. package/lib/types/client/ManagedIdentitySources/BaseManagedIdentitySource.d.ts +31 -0
  194. package/lib/types/client/ManagedIdentitySources/BaseManagedIdentitySource.d.ts.map +1 -0
  195. package/lib/types/client/ManagedIdentitySources/CloudShell.d.ts +17 -0
  196. package/lib/types/client/ManagedIdentitySources/CloudShell.d.ts.map +1 -0
  197. package/lib/types/client/ManagedIdentitySources/Imds.d.ts +13 -0
  198. package/lib/types/client/ManagedIdentitySources/Imds.d.ts.map +1 -0
  199. package/lib/types/client/ManagedIdentitySources/ServiceFabric.d.ts +18 -0
  200. package/lib/types/client/ManagedIdentitySources/ServiceFabric.d.ts.map +1 -0
  201. package/lib/types/client/OnBehalfOfClient.d.ts +48 -0
  202. package/lib/types/client/OnBehalfOfClient.d.ts.map +1 -0
  203. package/lib/types/client/PublicClientApplication.d.ts +73 -0
  204. package/lib/types/client/PublicClientApplication.d.ts.map +1 -0
  205. package/lib/types/client/UsernamePasswordClient.d.ts +26 -0
  206. package/lib/types/client/UsernamePasswordClient.d.ts.map +1 -0
  207. package/lib/types/config/Configuration.d.ts +132 -0
  208. package/lib/types/config/Configuration.d.ts.map +1 -0
  209. package/lib/types/config/ManagedIdentityId.d.ts +12 -0
  210. package/lib/types/config/ManagedIdentityId.d.ts.map +1 -0
  211. package/lib/types/config/ManagedIdentityRequestParameters.d.ts +12 -0
  212. package/lib/types/config/ManagedIdentityRequestParameters.d.ts.map +1 -0
  213. package/lib/types/crypto/CryptoProvider.d.ts +63 -0
  214. package/lib/types/crypto/CryptoProvider.d.ts.map +1 -0
  215. package/lib/types/crypto/GuidGenerator.d.ts +15 -0
  216. package/lib/types/crypto/GuidGenerator.d.ts.map +1 -0
  217. package/lib/types/crypto/HashUtils.d.ts +9 -0
  218. package/lib/types/crypto/HashUtils.d.ts.map +1 -0
  219. package/lib/types/crypto/PkceGenerator.d.ts +23 -0
  220. package/lib/types/crypto/PkceGenerator.d.ts.map +1 -0
  221. package/lib/types/error/ManagedIdentityError.d.ts +31 -0
  222. package/lib/types/error/ManagedIdentityError.d.ts.map +1 -0
  223. package/lib/types/error/ManagedIdentityErrorCodes.d.ts +23 -0
  224. package/lib/types/error/ManagedIdentityErrorCodes.d.ts.map +1 -0
  225. package/lib/types/error/NodeAuthError.d.ts +74 -0
  226. package/lib/types/error/NodeAuthError.d.ts.map +1 -0
  227. package/lib/types/index.d.ts +46 -0
  228. package/lib/types/index.d.ts.map +1 -0
  229. package/lib/types/internals.d.ts +7 -0
  230. package/lib/types/internals.d.ts.map +1 -0
  231. package/lib/types/network/HttpClient.d.ts +26 -0
  232. package/lib/types/network/HttpClient.d.ts.map +1 -0
  233. package/lib/types/network/HttpClientWithRetries.d.ts +12 -0
  234. package/lib/types/network/HttpClientWithRetries.d.ts.map +1 -0
  235. package/lib/types/network/ILoopbackClient.d.ts +11 -0
  236. package/lib/types/network/ILoopbackClient.d.ts.map +1 -0
  237. package/lib/types/network/LoopbackClient.d.ts +22 -0
  238. package/lib/types/network/LoopbackClient.d.ts.map +1 -0
  239. package/lib/types/packageMetadata.d.ts +3 -0
  240. package/lib/types/packageMetadata.d.ts.map +1 -0
  241. package/lib/types/request/AuthorizationCodeRequest.d.ts +22 -0
  242. package/lib/types/request/AuthorizationCodeRequest.d.ts.map +1 -0
  243. package/lib/types/request/AuthorizationUrlRequest.d.ts +34 -0
  244. package/lib/types/request/AuthorizationUrlRequest.d.ts.map +1 -0
  245. package/lib/types/request/ClientCredentialRequest.d.ts +15 -0
  246. package/lib/types/request/ClientCredentialRequest.d.ts.map +1 -0
  247. package/lib/types/request/DeviceCodeRequest.d.ts +16 -0
  248. package/lib/types/request/DeviceCodeRequest.d.ts.map +1 -0
  249. package/lib/types/request/InteractiveRequest.d.ts +23 -0
  250. package/lib/types/request/InteractiveRequest.d.ts.map +1 -0
  251. package/lib/types/request/ManagedIdentityRequest.d.ts +9 -0
  252. package/lib/types/request/ManagedIdentityRequest.d.ts.map +1 -0
  253. package/lib/types/request/ManagedIdentityRequestParams.d.ts +10 -0
  254. package/lib/types/request/ManagedIdentityRequestParams.d.ts.map +1 -0
  255. package/lib/types/request/OnBehalfOfRequest.d.ts +15 -0
  256. package/lib/types/request/OnBehalfOfRequest.d.ts.map +1 -0
  257. package/lib/types/request/RefreshTokenRequest.d.ts +18 -0
  258. package/lib/types/request/RefreshTokenRequest.d.ts.map +1 -0
  259. package/lib/types/request/SignOutRequest.d.ts +6 -0
  260. package/lib/types/request/SignOutRequest.d.ts.map +1 -0
  261. package/lib/types/request/SilentFlowRequest.d.ts +17 -0
  262. package/lib/types/request/SilentFlowRequest.d.ts.map +1 -0
  263. package/lib/types/request/UsernamePasswordRequest.d.ts +20 -0
  264. package/lib/types/request/UsernamePasswordRequest.d.ts.map +1 -0
  265. package/lib/types/response/ManagedIdentityTokenResponse.d.ts +35 -0
  266. package/lib/types/response/ManagedIdentityTokenResponse.d.ts.map +1 -0
  267. package/lib/types/retry/IHttpRetryPolicy.d.ts +6 -0
  268. package/lib/types/retry/IHttpRetryPolicy.d.ts.map +1 -0
  269. package/lib/types/retry/LinearRetryPolicy.d.ts +12 -0
  270. package/lib/types/retry/LinearRetryPolicy.d.ts.map +1 -0
  271. package/lib/types/utils/Constants.d.ts +142 -0
  272. package/lib/types/utils/Constants.d.ts.map +1 -0
  273. package/lib/types/utils/EncodingUtils.d.ts +27 -0
  274. package/lib/types/utils/EncodingUtils.d.ts.map +1 -0
  275. package/lib/types/utils/NetworkUtils.d.ts +6 -0
  276. package/lib/types/utils/NetworkUtils.d.ts.map +1 -0
  277. package/package.json +13 -10
  278. package/src/cache/ITokenCache.ts +1 -1
  279. package/src/cache/NodeStorage.ts +1 -1
  280. package/src/cache/TokenCache.ts +1 -1
  281. package/src/cache/distributed/DistributedCachePlugin.ts +1 -1
  282. package/src/cache/distributed/IPartitionManager.ts +1 -1
  283. package/src/cache/serializer/Deserializer.ts +1 -1
  284. package/src/cache/serializer/Serializer.ts +1 -1
  285. package/src/cache/serializer/SerializerTypes.ts +1 -1
  286. package/src/client/ClientApplication.ts +1 -1
  287. package/src/client/ClientAssertion.ts +1 -1
  288. package/src/client/ClientCredentialClient.ts +2 -2
  289. package/src/client/ConfidentialClientApplication.ts +1 -1
  290. package/src/client/DeviceCodeClient.ts +1 -1
  291. package/src/client/IConfidentialClientApplication.ts +1 -1
  292. package/src/client/IPublicClientApplication.ts +5 -1
  293. package/src/client/ManagedIdentityApplication.ts +9 -9
  294. package/src/client/ManagedIdentityClient.ts +13 -13
  295. package/src/client/ManagedIdentitySources/AppService.ts +7 -7
  296. package/src/client/ManagedIdentitySources/AzureArc.ts +9 -9
  297. package/src/client/ManagedIdentitySources/BaseManagedIdentitySource.ts +9 -9
  298. package/src/client/ManagedIdentitySources/CloudShell.ts +8 -8
  299. package/src/client/ManagedIdentitySources/Imds.ts +7 -7
  300. package/src/client/ManagedIdentitySources/ServiceFabric.ts +7 -7
  301. package/src/client/OnBehalfOfClient.ts +2 -2
  302. package/src/client/PublicClientApplication.ts +2 -2
  303. package/src/client/UsernamePasswordClient.ts +1 -1
  304. package/src/config/Configuration.ts +1 -1
  305. package/src/config/ManagedIdentityId.ts +3 -3
  306. package/src/config/ManagedIdentityRequestParameters.ts +2 -2
  307. package/src/crypto/CryptoProvider.ts +1 -1
  308. package/src/crypto/GuidGenerator.ts +1 -1
  309. package/src/crypto/PkceGenerator.ts +1 -1
  310. package/src/error/ManagedIdentityError.ts +3 -3
  311. package/src/error/ManagedIdentityErrorCodes.ts +1 -1
  312. package/src/error/NodeAuthError.ts +1 -1
  313. package/src/index.ts +1 -1
  314. package/src/network/HttpClient.ts +1 -1
  315. package/src/network/HttpClientWithRetries.ts +3 -3
  316. package/src/network/ILoopbackClient.ts +1 -1
  317. package/src/network/LoopbackClient.ts +1 -1
  318. package/src/packageMetadata.ts +1 -1
  319. package/src/request/AuthorizationCodeRequest.ts +1 -1
  320. package/src/request/AuthorizationUrlRequest.ts +1 -1
  321. package/src/request/ClientCredentialRequest.ts +1 -1
  322. package/src/request/DeviceCodeRequest.ts +1 -1
  323. package/src/request/ManagedIdentityRequest.ts +2 -2
  324. package/src/request/OnBehalfOfRequest.ts +1 -1
  325. package/src/request/RefreshTokenRequest.ts +1 -1
  326. package/src/request/SignOutRequest.ts +1 -1
  327. package/src/request/SilentFlowRequest.ts +1 -1
  328. package/src/request/UsernamePasswordRequest.ts +1 -1
  329. package/src/response/ManagedIdentityTokenResponse.ts +1 -1
  330. package/src/retry/LinearRetryPolicy.ts +1 -1
  331. package/src/utils/Constants.ts +1 -1
  332. package/src/utils/EncodingUtils.ts +1 -1
  333. package/src/utils/NetworkUtils.ts +4 -1
  334. package/dist/cache/NodeStorage.cjs +0 -434
  335. package/dist/cache/NodeStorage.cjs.map +0 -1
  336. package/dist/cache/TokenCache.cjs +0 -276
  337. package/dist/cache/TokenCache.cjs.map +0 -1
  338. package/dist/cache/distributed/DistributedCachePlugin.cjs +0 -35
  339. package/dist/cache/distributed/DistributedCachePlugin.cjs.map +0 -1
  340. package/dist/cache/serializer/Deserializer.cjs +0 -176
  341. package/dist/cache/serializer/Deserializer.cjs.map +0 -1
  342. package/dist/cache/serializer/Serializer.cjs +0 -144
  343. package/dist/cache/serializer/Serializer.cjs.map +0 -1
  344. package/dist/client/ClientApplication.cjs +0 -352
  345. package/dist/client/ClientApplication.cjs.map +0 -1
  346. package/dist/client/ClientAssertion.cjs +0 -155
  347. package/dist/client/ClientAssertion.cjs.map +0 -1
  348. package/dist/client/ClientCredentialClient.cjs +0 -203
  349. package/dist/client/ClientCredentialClient.cjs.map +0 -1
  350. package/dist/client/ConfidentialClientApplication.cjs +0 -183
  351. package/dist/client/ConfidentialClientApplication.cjs.map +0 -1
  352. package/dist/client/DeviceCodeClient.cjs +0 -216
  353. package/dist/client/DeviceCodeClient.cjs.map +0 -1
  354. package/dist/client/ManagedIdentityApplication.cjs +0 -100
  355. package/dist/client/ManagedIdentityApplication.cjs.map +0 -1
  356. package/dist/client/ManagedIdentityClient.cjs +0 -76
  357. package/dist/client/ManagedIdentityClient.cjs.map +0 -1
  358. package/dist/client/ManagedIdentitySources/AppService.cjs +0 -56
  359. package/dist/client/ManagedIdentitySources/AppService.cjs.map +0 -1
  360. package/dist/client/ManagedIdentitySources/AzureArc.cjs +0 -173
  361. package/dist/client/ManagedIdentitySources/AzureArc.cjs.map +0 -1
  362. package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.cjs +0 -135
  363. package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.cjs.map +0 -1
  364. package/dist/client/ManagedIdentitySources/CloudShell.cjs +0 -51
  365. package/dist/client/ManagedIdentitySources/CloudShell.cjs.map +0 -1
  366. package/dist/client/ManagedIdentitySources/Imds.cjs +0 -54
  367. package/dist/client/ManagedIdentitySources/Imds.cjs.map +0 -1
  368. package/dist/client/ManagedIdentitySources/ServiceFabric.cjs +0 -65
  369. package/dist/client/ManagedIdentitySources/ServiceFabric.cjs.map +0 -1
  370. package/dist/client/OnBehalfOfClient.cjs +0 -212
  371. package/dist/client/OnBehalfOfClient.cjs.map +0 -1
  372. package/dist/client/PublicClientApplication.cjs +0 -252
  373. package/dist/client/PublicClientApplication.cjs.map +0 -1
  374. package/dist/client/UsernamePasswordClient.cjs +0 -104
  375. package/dist/client/UsernamePasswordClient.cjs.map +0 -1
  376. package/dist/config/Configuration.cjs +0 -122
  377. package/dist/config/Configuration.cjs.map +0 -1
  378. package/dist/config/ManagedIdentityId.cjs +0 -59
  379. package/dist/config/ManagedIdentityId.cjs.map +0 -1
  380. package/dist/config/ManagedIdentityRequestParameters.cjs +0 -37
  381. package/dist/config/ManagedIdentityRequestParameters.cjs.map +0 -1
  382. package/dist/crypto/CryptoProvider.cjs +0 -101
  383. package/dist/crypto/CryptoProvider.cjs.map +0 -1
  384. package/dist/crypto/GuidGenerator.cjs +0 -31
  385. package/dist/crypto/GuidGenerator.cjs.map +0 -1
  386. package/dist/crypto/HashUtils.cjs +0 -23
  387. package/dist/crypto/HashUtils.cjs.map +0 -1
  388. package/dist/crypto/PkceGenerator.cjs +0 -62
  389. package/dist/crypto/PkceGenerator.cjs.map +0 -1
  390. package/dist/error/ManagedIdentityError.cjs +0 -54
  391. package/dist/error/ManagedIdentityError.cjs.map +0 -1
  392. package/dist/error/ManagedIdentityErrorCodes.cjs +0 -47
  393. package/dist/error/ManagedIdentityErrorCodes.cjs.map +0 -1
  394. package/dist/error/NodeAuthError.cjs +0 -105
  395. package/dist/error/NodeAuthError.cjs.map +0 -1
  396. package/dist/index.cjs +0 -123
  397. package/dist/index.cjs.map +0 -1
  398. package/dist/internals.cjs +0 -19
  399. package/dist/internals.cjs.map +0 -1
  400. package/dist/network/HttpClient.cjs +0 -294
  401. package/dist/network/HttpClient.cjs.map +0 -1
  402. package/dist/network/HttpClientWithRetries.cjs +0 -44
  403. package/dist/network/HttpClientWithRetries.cjs.map +0 -1
  404. package/dist/network/LoopbackClient.cjs +0 -93
  405. package/dist/network/LoopbackClient.cjs.map +0 -1
  406. package/dist/packageMetadata.cjs +0 -11
  407. package/dist/packageMetadata.cjs.map +0 -1
  408. package/dist/retry/LinearRetryPolicy.cjs +0 -47
  409. package/dist/retry/LinearRetryPolicy.cjs.map +0 -1
  410. package/dist/utils/Constants.cjs +0 -170
  411. package/dist/utils/Constants.cjs.map +0 -1
  412. package/dist/utils/EncodingUtils.cjs +0 -53
  413. package/dist/utils/EncodingUtils.cjs.map +0 -1
  414. package/dist/utils/NetworkUtils.cjs +0 -45
  415. package/dist/utils/NetworkUtils.cjs.map +0 -1
@@ -0,0 +1 @@
1
+ {"type":"commonjs"}
@@ -0,0 +1,16 @@
1
+ import { AccountInfo } from "@azure/msal-common/node";
2
+ /**
3
+ * Token cache interface for the client, giving access to cache APIs
4
+ * @public
5
+ */
6
+ export interface ITokenCache {
7
+ /** API that retrieves all accounts currently in cache to the user */
8
+ getAllAccounts(): Promise<AccountInfo[]>;
9
+ /** Returns the signed in account matching homeAccountId */
10
+ getAccountByHomeId(homeAccountId: string): Promise<AccountInfo | null>;
11
+ /** Returns the signed in account matching localAccountId */
12
+ getAccountByLocalId(localAccountId: string): Promise<AccountInfo | null>;
13
+ /** API to remove a specific account and the relevant data from cache */
14
+ removeAccount(account: AccountInfo): Promise<void>;
15
+ }
16
+ //# sourceMappingURL=ITokenCache.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ITokenCache.d.ts","sourceRoot":"","sources":["../../../src/cache/ITokenCache.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD;;;GAGG;AACH,MAAM,WAAW,WAAW;IACxB,qEAAqE;IACrE,cAAc,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC;IAEzC,2DAA2D;IAC3D,kBAAkB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAEvE,4DAA4D;IAC5D,mBAAmB,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAEzE,wEAAwE;IACxE,aAAa,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACtD"}
@@ -0,0 +1,194 @@
1
+ import { TokenKeys, AccountEntity, IdTokenEntity, AccessTokenEntity, RefreshTokenEntity, AppMetadataEntity, ServerTelemetryEntity, ThrottlingEntity, CacheManager, Logger, ValidCacheType, ICrypto, AuthorityMetadataEntity, ValidCredentialType, StaticAuthorityOptions } from "@azure/msal-common/node";
2
+ import { InMemoryCache, JsonCache, CacheKVStore } from "./serializer/SerializerTypes.js";
3
+ /**
4
+ * This class implements Storage for node, reading cache from user specified storage location or an extension library
5
+ * @public
6
+ */
7
+ export declare class NodeStorage extends CacheManager {
8
+ private logger;
9
+ private cache;
10
+ private changeEmitters;
11
+ constructor(logger: Logger, clientId: string, cryptoImpl: ICrypto, staticAuthorityOptions?: StaticAuthorityOptions);
12
+ /**
13
+ * Queue up callbacks
14
+ * @param func - a callback function for cache change indication
15
+ */
16
+ registerChangeEmitter(func: () => void): void;
17
+ /**
18
+ * Invoke the callback when cache changes
19
+ */
20
+ emitChange(): void;
21
+ /**
22
+ * Converts cacheKVStore to InMemoryCache
23
+ * @param cache - key value store
24
+ */
25
+ cacheToInMemoryCache(cache: CacheKVStore): InMemoryCache;
26
+ /**
27
+ * converts inMemoryCache to CacheKVStore
28
+ * @param inMemoryCache - kvstore map for inmemory
29
+ */
30
+ inMemoryCacheToCache(inMemoryCache: InMemoryCache): CacheKVStore;
31
+ /**
32
+ * gets the current in memory cache for the client
33
+ */
34
+ getInMemoryCache(): InMemoryCache;
35
+ /**
36
+ * sets the current in memory cache for the client
37
+ * @param inMemoryCache - key value map in memory
38
+ */
39
+ setInMemoryCache(inMemoryCache: InMemoryCache): void;
40
+ /**
41
+ * get the current cache key-value store
42
+ */
43
+ getCache(): CacheKVStore;
44
+ /**
45
+ * sets the current cache (key value store)
46
+ * @param cacheMap - key value map
47
+ */
48
+ setCache(cache: CacheKVStore): void;
49
+ /**
50
+ * Gets cache item with given key.
51
+ * @param key - lookup key for the cache entry
52
+ */
53
+ getItem(key: string): ValidCacheType;
54
+ /**
55
+ * Gets cache item with given key-value
56
+ * @param key - lookup key for the cache entry
57
+ * @param value - value of the cache entry
58
+ */
59
+ setItem(key: string, value: ValidCacheType): void;
60
+ getAccountKeys(): string[];
61
+ getTokenKeys(): TokenKeys;
62
+ /**
63
+ * fetch the account entity
64
+ * @param accountKey - lookup key to fetch cache type AccountEntity
65
+ */
66
+ getAccount(accountKey: string): AccountEntity | null;
67
+ /**
68
+ * Reads account from cache, builds it into an account entity and returns it.
69
+ * @param accountKey
70
+ * @returns
71
+ */
72
+ getCachedAccountEntity(accountKey: string): AccountEntity | null;
73
+ /**
74
+ * set account entity
75
+ * @param account - cache value to be set of type AccountEntity
76
+ */
77
+ setAccount(account: AccountEntity): void;
78
+ /**
79
+ * fetch the idToken credential
80
+ * @param idTokenKey - lookup key to fetch cache type IdTokenEntity
81
+ */
82
+ getIdTokenCredential(idTokenKey: string): IdTokenEntity | null;
83
+ /**
84
+ * set idToken credential
85
+ * @param idToken - cache value to be set of type IdTokenEntity
86
+ */
87
+ setIdTokenCredential(idToken: IdTokenEntity): void;
88
+ /**
89
+ * fetch the accessToken credential
90
+ * @param accessTokenKey - lookup key to fetch cache type AccessTokenEntity
91
+ */
92
+ getAccessTokenCredential(accessTokenKey: string): AccessTokenEntity | null;
93
+ /**
94
+ * set accessToken credential
95
+ * @param accessToken - cache value to be set of type AccessTokenEntity
96
+ */
97
+ setAccessTokenCredential(accessToken: AccessTokenEntity): void;
98
+ /**
99
+ * fetch the refreshToken credential
100
+ * @param refreshTokenKey - lookup key to fetch cache type RefreshTokenEntity
101
+ */
102
+ getRefreshTokenCredential(refreshTokenKey: string): RefreshTokenEntity | null;
103
+ /**
104
+ * set refreshToken credential
105
+ * @param refreshToken - cache value to be set of type RefreshTokenEntity
106
+ */
107
+ setRefreshTokenCredential(refreshToken: RefreshTokenEntity): void;
108
+ /**
109
+ * fetch appMetadata entity from the platform cache
110
+ * @param appMetadataKey - lookup key to fetch cache type AppMetadataEntity
111
+ */
112
+ getAppMetadata(appMetadataKey: string): AppMetadataEntity | null;
113
+ /**
114
+ * set appMetadata entity to the platform cache
115
+ * @param appMetadata - cache value to be set of type AppMetadataEntity
116
+ */
117
+ setAppMetadata(appMetadata: AppMetadataEntity): void;
118
+ /**
119
+ * fetch server telemetry entity from the platform cache
120
+ * @param serverTelemetrykey - lookup key to fetch cache type ServerTelemetryEntity
121
+ */
122
+ getServerTelemetry(serverTelemetrykey: string): ServerTelemetryEntity | null;
123
+ /**
124
+ * set server telemetry entity to the platform cache
125
+ * @param serverTelemetryKey - lookup key to fetch cache type ServerTelemetryEntity
126
+ * @param serverTelemetry - cache value to be set of type ServerTelemetryEntity
127
+ */
128
+ setServerTelemetry(serverTelemetryKey: string, serverTelemetry: ServerTelemetryEntity): void;
129
+ /**
130
+ * fetch authority metadata entity from the platform cache
131
+ * @param key - lookup key to fetch cache type AuthorityMetadataEntity
132
+ */
133
+ getAuthorityMetadata(key: string): AuthorityMetadataEntity | null;
134
+ /**
135
+ * Get all authority metadata keys
136
+ */
137
+ getAuthorityMetadataKeys(): Array<string>;
138
+ /**
139
+ * set authority metadata entity to the platform cache
140
+ * @param key - lookup key to fetch cache type AuthorityMetadataEntity
141
+ * @param metadata - cache value to be set of type AuthorityMetadataEntity
142
+ */
143
+ setAuthorityMetadata(key: string, metadata: AuthorityMetadataEntity): void;
144
+ /**
145
+ * fetch throttling entity from the platform cache
146
+ * @param throttlingCacheKey - lookup key to fetch cache type ThrottlingEntity
147
+ */
148
+ getThrottlingCache(throttlingCacheKey: string): ThrottlingEntity | null;
149
+ /**
150
+ * set throttling entity to the platform cache
151
+ * @param throttlingCacheKey - lookup key to fetch cache type ThrottlingEntity
152
+ * @param throttlingCache - cache value to be set of type ThrottlingEntity
153
+ */
154
+ setThrottlingCache(throttlingCacheKey: string, throttlingCache: ThrottlingEntity): void;
155
+ /**
156
+ * Removes the cache item from memory with the given key.
157
+ * @param key - lookup key to remove a cache entity
158
+ * @param inMemory - key value map of the cache
159
+ */
160
+ removeItem(key: string): boolean;
161
+ /**
162
+ * Remove account entity from the platform cache if it's outdated
163
+ * @param accountKey
164
+ */
165
+ removeOutdatedAccount(accountKey: string): void;
166
+ /**
167
+ * Checks whether key is in cache.
168
+ * @param key - look up key for a cache entity
169
+ */
170
+ containsKey(key: string): boolean;
171
+ /**
172
+ * Gets all keys in window.
173
+ */
174
+ getKeys(): string[];
175
+ /**
176
+ * Clears all cache entries created by MSAL (except tokens).
177
+ */
178
+ clear(): Promise<void>;
179
+ /**
180
+ * Initialize in memory cache from an exisiting cache vault
181
+ * @param cache - blob formatted cache (JSON)
182
+ */
183
+ static generateInMemoryCache(cache: string): InMemoryCache;
184
+ /**
185
+ * retrieves the final JSON
186
+ * @param inMemoryCache - itemised cache read from the JSON
187
+ */
188
+ static generateJsonCache(inMemoryCache: InMemoryCache): JsonCache;
189
+ /**
190
+ * Updates a credential's cache key if the current cache key is outdated
191
+ */
192
+ updateCredentialCacheKey(currentCacheKey: string, credential: ValidCredentialType): string;
193
+ }
194
+ //# sourceMappingURL=NodeStorage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NodeStorage.d.ts","sourceRoot":"","sources":["../../../src/cache/NodeStorage.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,91 @@
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
+ private readonly persistence;
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
+ * API that retrieves all accounts currently in cache to the user
35
+ */
36
+ getAllAccounts(): Promise<AccountInfo[]>;
37
+ /**
38
+ * Returns the signed in account matching homeAccountId.
39
+ * (the account object is created at the time of successful login)
40
+ * or null when no matching account is found
41
+ * @param homeAccountId - unique identifier for an account (uid.utid)
42
+ */
43
+ getAccountByHomeId(homeAccountId: string): Promise<AccountInfo | null>;
44
+ /**
45
+ * Returns the signed in account matching localAccountId.
46
+ * (the account object is created at the time of successful login)
47
+ * or null when no matching account is found
48
+ * @param localAccountId - unique identifier of an account (sub/obj when homeAccountId cannot be populated)
49
+ */
50
+ getAccountByLocalId(localAccountId: string): Promise<AccountInfo | null>;
51
+ /**
52
+ * API to remove a specific account and the relevant data from cache
53
+ * @param account - AccountInfo passed by the user
54
+ */
55
+ removeAccount(account: AccountInfo): Promise<void>;
56
+ /**
57
+ * Called when the cache has changed state.
58
+ */
59
+ private handleChangeEvent;
60
+ /**
61
+ * Merge in memory cache with the cache snapshot.
62
+ * @param oldState - cache before changes
63
+ * @param currentState - current cache state in the library
64
+ */
65
+ private mergeState;
66
+ /**
67
+ * Deep update of oldState based on newState values
68
+ * @param oldState - cache before changes
69
+ * @param newState - updated cache
70
+ */
71
+ private mergeUpdates;
72
+ /**
73
+ * Removes entities in oldState that the were removed from newState. If there are any unknown values in root of
74
+ * oldState that are not recognized, they are left untouched.
75
+ * @param oldState - cache before changes
76
+ * @param newState - updated cache
77
+ */
78
+ private mergeRemovals;
79
+ /**
80
+ * Helper to merge new cache with the old one
81
+ * @param oldState - cache before changes
82
+ * @param newState - updated cache
83
+ */
84
+ private mergeRemovalsDict;
85
+ /**
86
+ * Helper to overlay as a part of cache merge
87
+ * @param passedInCache - cache read from the blob
88
+ */
89
+ private overlayDefaults;
90
+ }
91
+ //# sourceMappingURL=TokenCache.d.ts.map
@@ -0,0 +1 @@
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,EAEH,WAAW,EACX,MAAM,EACN,uBAAuB,EACvB,YAAY,EAEf,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAQH,YAAY,EACf,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAU/C;;;GAGG;AACH,qBAAa,UAAW,YAAW,uBAAuB,EAAE,WAAW;IACnE,OAAO,CAAC,OAAO,CAAc;IAC7B,OAAO,CAAC,eAAe,CAAU;IACjC,OAAO,CAAC,aAAa,CAAS;IAC9B,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAe;IAC3C,OAAO,CAAC,MAAM,CAAS;gBAGnB,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,MAAM,EACd,WAAW,CAAC,EAAE,YAAY;IAW9B;;OAEG;IACH,UAAU,IAAI,OAAO;IAIrB;;OAEG;IACH,SAAS,IAAI,MAAM;IAqBnB;;;OAGG;IACH,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAehC;;OAEG;IACH,UAAU,IAAI,YAAY;IAI1B;;OAEG;IACG,cAAc,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC;IAgB9C;;;;;OAKG;IACG,kBAAkB,CACpB,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC;IAa9B;;;;;OAKG;IACG,mBAAmB,CACrB,cAAc,EAAE,MAAM,GACvB,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC;IAa9B;;;OAGG;IACG,aAAa,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAkBxD;;OAEG;IACH,OAAO,CAAC,iBAAiB;IAIzB;;;;OAIG;IACH,OAAO,CAAC,UAAU;IASlB;;;;OAIG;IACH,OAAO,CAAC,YAAY;IAkCpB;;;;;OAKG;IACH,OAAO,CAAC,aAAa;IA2CrB;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IAazB;;;OAGG;IACH,OAAO,CAAC,eAAe;CAyB1B"}
@@ -0,0 +1,11 @@
1
+ import { ICachePlugin, TokenCacheContext } from "@azure/msal-common/node";
2
+ import { IPartitionManager } from "./IPartitionManager.js";
3
+ import { ICacheClient } from "./ICacheClient.js";
4
+ export declare class DistributedCachePlugin implements ICachePlugin {
5
+ private client;
6
+ private partitionManager;
7
+ constructor(client: ICacheClient, partitionManager: IPartitionManager);
8
+ beforeCacheAccess(cacheContext: TokenCacheContext): Promise<void>;
9
+ afterCacheAccess(cacheContext: TokenCacheContext): Promise<void>;
10
+ }
11
+ //# sourceMappingURL=DistributedCachePlugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DistributedCachePlugin.d.ts","sourceRoot":"","sources":["../../../../src/cache/distributed/DistributedCachePlugin.ts"],"names":[],"mappings":"AAKA,OAAO,EAEH,YAAY,EACZ,iBAAiB,EACpB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,qBAAa,sBAAuB,YAAW,YAAY;IACvD,OAAO,CAAC,MAAM,CAAe;IAC7B,OAAO,CAAC,gBAAgB,CAAoB;gBAEhC,MAAM,EAAE,YAAY,EAAE,gBAAgB,EAAE,iBAAiB;IAKxD,iBAAiB,CAC1B,YAAY,EAAE,iBAAiB,GAChC,OAAO,CAAC,IAAI,CAAC;IAMH,gBAAgB,CACzB,YAAY,EAAE,iBAAiB,GAChC,OAAO,CAAC,IAAI,CAAC;CAsBnB"}
@@ -0,0 +1,18 @@
1
+ export interface ICacheClient {
2
+ /**
3
+ * Retrieve the value from the cache
4
+ *
5
+ * @param key string
6
+ * @returns Promise<string>
7
+ */
8
+ get(key: string): Promise<string>;
9
+ /**
10
+ * Save the required value using the provided key to cache
11
+ *
12
+ * @param key string
13
+ * @param value string
14
+ * @returns Promise<string>
15
+ */
16
+ set(key: string, value: string): Promise<string>;
17
+ }
18
+ //# sourceMappingURL=ICacheClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ICacheClient.d.ts","sourceRoot":"","sources":["../../../../src/cache/distributed/ICacheClient.ts"],"names":[],"mappings":"AAKA,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"}
@@ -0,0 +1,29 @@
1
+ import { AccountEntity } from "@azure/msal-common/node";
2
+ export interface IPartitionManager {
3
+ /**
4
+ * This function should return the correct key from which to read
5
+ * the specific user's information from cache.
6
+ *
7
+ * Example: Your application may be partitioning the user's cache
8
+ * information for each user using the homeAccountId and thus
9
+ * this function would return the homeAccountId for
10
+ * the user in question
11
+ *
12
+ * @returns Promise<string>
13
+ */
14
+ getKey(): Promise<string>;
15
+ /**
16
+ * This function should return the correct key being used to save each
17
+ * user's cache information to cache - given an AccountEntity
18
+ *
19
+ * Example: Your application may be partitioning the user's cache
20
+ * information for each user using the homeAccountId thus
21
+ * this function would return the homeAccountId from
22
+ * the provided AccountEntity
23
+ *
24
+ * @param accountEntity: AccountEntity
25
+ * @returns Promise<string>
26
+ */
27
+ extractKey(accountEntity: AccountEntity): Promise<string>;
28
+ }
29
+ //# sourceMappingURL=IPartitionManager.d.ts.map
@@ -0,0 +1 @@
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,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"}
@@ -0,0 +1,43 @@
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
+ */
6
+ export declare class Deserializer {
7
+ /**
8
+ * Parse the JSON blob in memory and deserialize the content
9
+ * @param cachedJson
10
+ */
11
+ static deserializeJSONBlob(jsonFile: string): JsonCache;
12
+ /**
13
+ * Deserializes accounts to AccountEntity objects
14
+ * @param accounts
15
+ */
16
+ static deserializeAccounts(accounts: Record<string, SerializedAccountEntity>): AccountCache;
17
+ /**
18
+ * Deserializes id tokens to IdTokenEntity objects
19
+ * @param idTokens
20
+ */
21
+ static deserializeIdTokens(idTokens: Record<string, SerializedIdTokenEntity>): IdTokenCache;
22
+ /**
23
+ * Deserializes access tokens to AccessTokenEntity objects
24
+ * @param accessTokens
25
+ */
26
+ static deserializeAccessTokens(accessTokens: Record<string, SerializedAccessTokenEntity>): AccessTokenCache;
27
+ /**
28
+ * Deserializes refresh tokens to RefreshTokenEntity objects
29
+ * @param refreshTokens
30
+ */
31
+ static deserializeRefreshTokens(refreshTokens: Record<string, SerializedRefreshTokenEntity>): RefreshTokenCache;
32
+ /**
33
+ * Deserializes appMetadata to AppMetaData objects
34
+ * @param appMetadata
35
+ */
36
+ static deserializeAppMetadata(appMetadata: Record<string, SerializedAppMetadataEntity>): AppMetadataCache;
37
+ /**
38
+ * Deserialize an inMemory Cache
39
+ * @param jsonCache
40
+ */
41
+ static deserializeAllCache(jsonCache: JsonCache): InMemoryCache;
42
+ }
43
+ //# sourceMappingURL=Deserializer.d.ts.map
@@ -0,0 +1 @@
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,EAQnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACH,SAAS,EACT,aAAa,EACb,uBAAuB,EACvB,uBAAuB,EACvB,2BAA2B,EAC3B,4BAA4B,EAC5B,2BAA2B,EAC9B,MAAM,sBAAsB,CAAC;AAE9B;;GAEG;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;IA+Bf;;;OAGG;IACH,MAAM,CAAC,mBAAmB,CACtB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC,GAClD,YAAY;IAoBf;;;OAGG;IACH,MAAM,CAAC,uBAAuB,CAC1B,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,2BAA2B,CAAC,GAC1D,gBAAgB;IA+BnB;;;OAGG;IACH,MAAM,CAAC,wBAAwB,CAC3B,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,4BAA4B,CAAC,GAC5D,iBAAiB;IAuBpB;;;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"}
@@ -0,0 +1,40 @@
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
+ export declare class Serializer {
4
+ /**
5
+ * serialize the JSON blob
6
+ * @param data
7
+ */
8
+ static serializeJSONBlob(data: JsonCache): string;
9
+ /**
10
+ * Serialize Accounts
11
+ * @param accCache
12
+ */
13
+ static serializeAccounts(accCache: AccountCache): Record<string, SerializedAccountEntity>;
14
+ /**
15
+ * Serialize IdTokens
16
+ * @param idTCache
17
+ */
18
+ static serializeIdTokens(idTCache: IdTokenCache): Record<string, SerializedIdTokenEntity>;
19
+ /**
20
+ * Serializes AccessTokens
21
+ * @param atCache
22
+ */
23
+ static serializeAccessTokens(atCache: AccessTokenCache): Record<string, SerializedAccessTokenEntity>;
24
+ /**
25
+ * Serialize refreshTokens
26
+ * @param rtCache
27
+ */
28
+ static serializeRefreshTokens(rtCache: RefreshTokenCache): Record<string, SerializedRefreshTokenEntity>;
29
+ /**
30
+ * Serialize amdtCache
31
+ * @param amdtCache
32
+ */
33
+ static serializeAppMetadata(amdtCache: AppMetadataCache): Record<string, SerializedAppMetadataEntity>;
34
+ /**
35
+ * Serialize the cache
36
+ * @param jsonContent
37
+ */
38
+ static serializeAllCache(inMemCache: InMemoryCache): JsonCache;
39
+ }
40
+ //# sourceMappingURL=Serializer.d.ts.map
@@ -0,0 +1 @@
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,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;IA2B9C;;;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"}
@@ -0,0 +1,103 @@
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
+ requestedClaims?: string;
77
+ requestedClaimsHash?: string;
78
+ userAssertionHash?: string;
79
+ };
80
+ /**
81
+ * Refresh token credential type
82
+ * @public
83
+ */
84
+ export type SerializedRefreshTokenEntity = {
85
+ home_account_id: string;
86
+ environment: string;
87
+ credential_type: string;
88
+ client_id: string;
89
+ secret: string;
90
+ family_id?: string;
91
+ target?: string;
92
+ realm?: string;
93
+ };
94
+ /**
95
+ * AppMetadata type
96
+ * @public
97
+ */
98
+ export type SerializedAppMetadataEntity = {
99
+ client_id: string;
100
+ environment: string;
101
+ family_id?: string;
102
+ };
103
+ //# sourceMappingURL=SerializerTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SerializerTypes.d.ts","sourceRoot":"","sources":["../../../../src/cache/serializer/SerializerTypes.ts"],"names":[],"mappings":"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"}