@azure/msal-node 1.17.2 → 2.0.0-alpha.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 (502) hide show
  1. package/README.md +1 -0
  2. package/dist/cache/ITokenCache.d.ts.map +1 -1
  3. package/dist/cache/NodeStorage.d.ts.map +1 -1
  4. package/dist/cache/NodeStorage.esm.js +410 -0
  5. package/dist/cache/NodeStorage.esm.js.map +1 -0
  6. package/dist/cache/NodeStorage.js +412 -0
  7. package/dist/cache/NodeStorage.js.map +1 -0
  8. package/dist/cache/TokenCache.d.ts.map +1 -1
  9. package/dist/cache/TokenCache.esm.js +278 -0
  10. package/dist/cache/TokenCache.esm.js.map +1 -0
  11. package/dist/cache/TokenCache.js +280 -0
  12. package/dist/cache/TokenCache.js.map +1 -0
  13. package/dist/cache/distributed/DistributedCachePlugin.d.ts.map +1 -1
  14. package/dist/cache/distributed/DistributedCachePlugin.esm.js +33 -0
  15. package/dist/cache/distributed/DistributedCachePlugin.esm.js.map +1 -0
  16. package/dist/cache/distributed/DistributedCachePlugin.js +35 -0
  17. package/dist/cache/distributed/DistributedCachePlugin.js.map +1 -0
  18. package/dist/cache/distributed/ICacheClient.d.ts.map +1 -1
  19. package/dist/cache/distributed/IPartitionManager.d.ts.map +1 -1
  20. package/dist/cache/serializer/Deserializer.d.ts.map +1 -1
  21. package/dist/cache/serializer/Deserializer.esm.js +182 -0
  22. package/dist/cache/serializer/Deserializer.esm.js.map +1 -0
  23. package/dist/cache/serializer/Deserializer.js +184 -0
  24. package/dist/cache/serializer/Deserializer.js.map +1 -0
  25. package/dist/cache/serializer/Serializer.d.ts.map +1 -1
  26. package/dist/cache/serializer/Serializer.esm.js +139 -0
  27. package/dist/cache/serializer/Serializer.esm.js.map +1 -0
  28. package/dist/cache/serializer/Serializer.js +141 -0
  29. package/dist/cache/serializer/Serializer.js.map +1 -0
  30. package/dist/cache/serializer/SerializerTypes.d.ts +8 -8
  31. package/dist/cache/serializer/SerializerTypes.d.ts.map +1 -1
  32. package/dist/client/ClientApplication.d.ts +1 -1
  33. package/dist/client/ClientApplication.d.ts.map +1 -1
  34. package/dist/client/ClientApplication.esm.js +342 -0
  35. package/dist/client/ClientApplication.esm.js.map +1 -0
  36. package/dist/client/ClientApplication.js +344 -0
  37. package/dist/client/ClientApplication.js.map +1 -0
  38. package/dist/client/ClientAssertion.d.ts.map +1 -1
  39. package/dist/client/ClientAssertion.esm.js +126 -0
  40. package/dist/client/ClientAssertion.esm.js.map +1 -0
  41. package/dist/client/ClientAssertion.js +128 -0
  42. package/dist/client/ClientAssertion.js.map +1 -0
  43. package/dist/client/ClientCredentialClient.d.ts +34 -0
  44. package/dist/client/ClientCredentialClient.d.ts.map +1 -0
  45. package/dist/client/ClientCredentialClient.esm.js +164 -0
  46. package/dist/client/ClientCredentialClient.esm.js.map +1 -0
  47. package/dist/client/ClientCredentialClient.js +166 -0
  48. package/dist/client/ClientCredentialClient.js.map +1 -0
  49. package/dist/client/ConfidentialClientApplication.d.ts.map +1 -1
  50. package/dist/client/ConfidentialClientApplication.esm.js +175 -0
  51. package/dist/client/ConfidentialClientApplication.esm.js.map +1 -0
  52. package/dist/client/ConfidentialClientApplication.js +177 -0
  53. package/dist/client/ConfidentialClientApplication.js.map +1 -0
  54. package/dist/client/DeviceCodeClient.d.ts +54 -0
  55. package/dist/client/DeviceCodeClient.d.ts.map +1 -0
  56. package/dist/client/DeviceCodeClient.esm.js +214 -0
  57. package/dist/client/DeviceCodeClient.esm.js.map +1 -0
  58. package/dist/client/DeviceCodeClient.js +216 -0
  59. package/dist/client/DeviceCodeClient.js.map +1 -0
  60. package/dist/client/IConfidentialClientApplication.d.ts.map +1 -1
  61. package/dist/client/IPublicClientApplication.d.ts +1 -1
  62. package/dist/client/IPublicClientApplication.d.ts.map +1 -1
  63. package/dist/client/OnBehalfOfClient.d.ts +48 -0
  64. package/dist/client/OnBehalfOfClient.d.ts.map +1 -0
  65. package/dist/client/OnBehalfOfClient.esm.js +211 -0
  66. package/dist/client/OnBehalfOfClient.esm.js.map +1 -0
  67. package/dist/client/OnBehalfOfClient.js +213 -0
  68. package/dist/client/OnBehalfOfClient.js.map +1 -0
  69. package/dist/client/PublicClientApplication.d.ts +1 -1
  70. package/dist/client/PublicClientApplication.d.ts.map +1 -1
  71. package/dist/client/PublicClientApplication.esm.js +187 -0
  72. package/dist/client/PublicClientApplication.esm.js.map +1 -0
  73. package/dist/client/PublicClientApplication.js +189 -0
  74. package/dist/client/PublicClientApplication.js.map +1 -0
  75. package/dist/client/UsernamePasswordClient.d.ts +26 -0
  76. package/dist/client/UsernamePasswordClient.d.ts.map +1 -0
  77. package/dist/client/UsernamePasswordClient.esm.js +109 -0
  78. package/dist/client/UsernamePasswordClient.esm.js.map +1 -0
  79. package/dist/client/UsernamePasswordClient.js +111 -0
  80. package/dist/client/UsernamePasswordClient.js.map +1 -0
  81. package/dist/config/Configuration.d.ts +9 -8
  82. package/dist/config/Configuration.d.ts.map +1 -1
  83. package/dist/config/Configuration.esm.js +78 -0
  84. package/dist/config/Configuration.esm.js.map +1 -0
  85. package/dist/config/Configuration.js +80 -0
  86. package/dist/config/Configuration.js.map +1 -0
  87. package/dist/crypto/CryptoProvider.d.ts.map +1 -1
  88. package/dist/crypto/CryptoProvider.esm.js +85 -0
  89. package/dist/crypto/CryptoProvider.esm.js.map +1 -0
  90. package/dist/crypto/CryptoProvider.js +87 -0
  91. package/dist/crypto/CryptoProvider.js.map +1 -0
  92. package/dist/crypto/GuidGenerator.d.ts.map +1 -1
  93. package/dist/crypto/GuidGenerator.esm.js +29 -0
  94. package/dist/crypto/GuidGenerator.esm.js.map +1 -0
  95. package/dist/crypto/GuidGenerator.js +31 -0
  96. package/dist/crypto/GuidGenerator.js.map +1 -0
  97. package/dist/crypto/HashUtils.d.ts.map +1 -1
  98. package/dist/crypto/HashUtils.esm.js +21 -0
  99. package/dist/crypto/HashUtils.esm.js.map +1 -0
  100. package/dist/crypto/HashUtils.js +23 -0
  101. package/dist/crypto/HashUtils.js.map +1 -0
  102. package/dist/crypto/PkceGenerator.d.ts.map +1 -1
  103. package/dist/crypto/PkceGenerator.esm.js +60 -0
  104. package/dist/crypto/PkceGenerator.esm.js.map +1 -0
  105. package/dist/crypto/PkceGenerator.js +62 -0
  106. package/dist/crypto/PkceGenerator.js.map +1 -0
  107. package/dist/error/NodeAuthError.d.ts.map +1 -1
  108. package/dist/error/NodeAuthError.esm.js +92 -0
  109. package/dist/error/NodeAuthError.esm.js.map +1 -0
  110. package/dist/error/NodeAuthError.js +95 -0
  111. package/dist/error/NodeAuthError.js.map +1 -0
  112. package/dist/index.d.ts +13 -3
  113. package/dist/index.d.ts.map +1 -1
  114. package/dist/index.esm.js +20 -0
  115. package/dist/index.esm.js.map +1 -0
  116. package/dist/index.js +101 -6
  117. package/dist/index.js.map +1 -0
  118. package/dist/internals.d.ts +7 -0
  119. package/dist/internals.d.ts.map +1 -0
  120. package/dist/internals.esm.js +10 -0
  121. package/dist/internals.esm.js.map +1 -0
  122. package/dist/internals.js +15 -0
  123. package/dist/internals.js.map +1 -0
  124. package/dist/network/HttpClient.d.ts +1 -0
  125. package/dist/network/HttpClient.d.ts.map +1 -1
  126. package/dist/network/HttpClient.esm.js +286 -0
  127. package/dist/network/HttpClient.esm.js.map +1 -0
  128. package/dist/network/HttpClient.js +288 -0
  129. package/dist/network/HttpClient.js.map +1 -0
  130. package/dist/network/ILoopbackClient.d.ts.map +1 -1
  131. package/dist/network/LoopbackClient.d.ts.map +1 -1
  132. package/dist/network/LoopbackClient.esm.js +94 -0
  133. package/dist/network/LoopbackClient.esm.js.map +1 -0
  134. package/dist/network/LoopbackClient.js +96 -0
  135. package/dist/network/LoopbackClient.js.map +1 -0
  136. package/dist/packageMetadata.d.ts +1 -1
  137. package/dist/packageMetadata.d.ts.map +1 -1
  138. package/dist/packageMetadata.esm.js +8 -0
  139. package/dist/packageMetadata.esm.js.map +1 -0
  140. package/dist/packageMetadata.js +11 -0
  141. package/dist/packageMetadata.js.map +1 -0
  142. package/dist/request/AuthorizationCodeRequest.d.ts +1 -1
  143. package/dist/request/AuthorizationCodeRequest.d.ts.map +1 -1
  144. package/dist/request/AuthorizationUrlRequest.d.ts +1 -1
  145. package/dist/request/AuthorizationUrlRequest.d.ts.map +1 -1
  146. package/dist/request/ClientCredentialRequest.d.ts +1 -1
  147. package/dist/request/ClientCredentialRequest.d.ts.map +1 -1
  148. package/dist/request/DeviceCodeRequest.d.ts +1 -1
  149. package/dist/request/DeviceCodeRequest.d.ts.map +1 -1
  150. package/dist/request/InteractiveRequest.d.ts +1 -1
  151. package/dist/request/InteractiveRequest.d.ts.map +1 -1
  152. package/dist/request/OnBehalfOfRequest.d.ts +1 -1
  153. package/dist/request/OnBehalfOfRequest.d.ts.map +1 -1
  154. package/dist/request/RefreshTokenRequest.d.ts +1 -1
  155. package/dist/request/RefreshTokenRequest.d.ts.map +1 -1
  156. package/dist/request/SignOutRequest.d.ts +1 -1
  157. package/dist/request/SignOutRequest.d.ts.map +1 -1
  158. package/dist/request/SilentFlowRequest.d.ts +1 -1
  159. package/dist/request/SilentFlowRequest.d.ts.map +1 -1
  160. package/dist/request/UsernamePasswordRequest.d.ts +1 -1
  161. package/dist/request/UsernamePasswordRequest.d.ts.map +1 -1
  162. package/dist/utils/Constants.d.ts.map +1 -1
  163. package/dist/utils/Constants.esm.js +98 -0
  164. package/dist/utils/Constants.esm.js.map +1 -0
  165. package/dist/utils/Constants.js +106 -0
  166. package/dist/utils/Constants.js.map +1 -0
  167. package/dist/utils/EncodingUtils.d.ts.map +1 -1
  168. package/dist/utils/EncodingUtils.esm.js +51 -0
  169. package/dist/utils/EncodingUtils.esm.js.map +1 -0
  170. package/dist/utils/EncodingUtils.js +53 -0
  171. package/dist/utils/EncodingUtils.js.map +1 -0
  172. package/dist/utils/NetworkUtils.d.ts.map +1 -1
  173. package/dist/utils/NetworkUtils.esm.js +43 -0
  174. package/dist/utils/NetworkUtils.esm.js.map +1 -0
  175. package/dist/utils/NetworkUtils.js +45 -0
  176. package/dist/utils/NetworkUtils.js.map +1 -0
  177. package/node_modules/@azure/msal-common/LICENSE +21 -0
  178. package/node_modules/@azure/msal-common/README.md +62 -0
  179. package/node_modules/@azure/msal-common/dist/account/AccountInfo.d.ts +32 -0
  180. package/node_modules/@azure/msal-common/dist/account/AccountInfo.d.ts.map +1 -0
  181. package/node_modules/@azure/msal-common/dist/account/AuthToken.d.ts +21 -0
  182. package/node_modules/@azure/msal-common/dist/account/AuthToken.d.ts.map +1 -0
  183. package/node_modules/@azure/msal-common/dist/account/AuthToken.js +56 -0
  184. package/node_modules/@azure/msal-common/dist/account/AuthToken.js.map +1 -0
  185. package/node_modules/@azure/msal-common/dist/account/CcsCredential.d.ts +9 -0
  186. package/node_modules/@azure/msal-common/dist/account/CcsCredential.d.ts.map +1 -0
  187. package/node_modules/@azure/msal-common/dist/account/CcsCredential.js +14 -0
  188. package/node_modules/@azure/msal-common/dist/account/CcsCredential.js.map +1 -0
  189. package/node_modules/@azure/msal-common/dist/account/ClientCredentials.d.ts +15 -0
  190. package/node_modules/@azure/msal-common/dist/account/ClientCredentials.d.ts.map +1 -0
  191. package/node_modules/@azure/msal-common/dist/account/ClientInfo.d.ts +20 -0
  192. package/node_modules/@azure/msal-common/dist/account/ClientInfo.d.ts.map +1 -0
  193. package/node_modules/@azure/msal-common/dist/account/ClientInfo.js +46 -0
  194. package/node_modules/@azure/msal-common/dist/account/ClientInfo.js.map +1 -0
  195. package/node_modules/@azure/msal-common/dist/account/DecodedAuthToken.d.ts +9 -0
  196. package/node_modules/@azure/msal-common/dist/account/DecodedAuthToken.d.ts.map +1 -0
  197. package/node_modules/@azure/msal-common/dist/account/TokenClaims.d.ts +66 -0
  198. package/node_modules/@azure/msal-common/dist/account/TokenClaims.d.ts.map +1 -0
  199. package/node_modules/@azure/msal-common/dist/authority/Authority.d.ts +216 -0
  200. package/node_modules/@azure/msal-common/dist/authority/Authority.d.ts.map +1 -0
  201. package/node_modules/@azure/msal-common/dist/authority/Authority.js +688 -0
  202. package/node_modules/@azure/msal-common/dist/authority/Authority.js.map +1 -0
  203. package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.d.ts +31 -0
  204. package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.d.ts.map +1 -0
  205. package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.js +58 -0
  206. package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.js.map +1 -0
  207. package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.d.ts +623 -0
  208. package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.d.ts.map +1 -0
  209. package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.js +881 -0
  210. package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.js.map +1 -0
  211. package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.d.ts +19 -0
  212. package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.d.ts.map +1 -0
  213. package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.js +24 -0
  214. package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.js.map +1 -0
  215. package/node_modules/@azure/msal-common/dist/authority/AuthorityType.d.ts +10 -0
  216. package/node_modules/@azure/msal-common/dist/authority/AuthorityType.d.ts.map +1 -0
  217. package/node_modules/@azure/msal-common/dist/authority/AuthorityType.js +19 -0
  218. package/node_modules/@azure/msal-common/dist/authority/AuthorityType.js.map +1 -0
  219. package/node_modules/@azure/msal-common/dist/authority/AzureRegion.d.ts +2 -0
  220. package/node_modules/@azure/msal-common/dist/authority/AzureRegion.d.ts.map +1 -0
  221. package/node_modules/@azure/msal-common/dist/authority/AzureRegionConfiguration.d.ts +6 -0
  222. package/node_modules/@azure/msal-common/dist/authority/AzureRegionConfiguration.d.ts.map +1 -0
  223. package/node_modules/@azure/msal-common/dist/authority/CloudDiscoveryMetadata.d.ts +6 -0
  224. package/node_modules/@azure/msal-common/dist/authority/CloudDiscoveryMetadata.d.ts.map +1 -0
  225. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts +14 -0
  226. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts.map +1 -0
  227. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.js +13 -0
  228. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.js.map +1 -0
  229. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.d.ts +10 -0
  230. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.d.ts.map +1 -0
  231. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.js +13 -0
  232. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.js.map +1 -0
  233. package/node_modules/@azure/msal-common/dist/authority/ImdsOptions.d.ts +6 -0
  234. package/node_modules/@azure/msal-common/dist/authority/ImdsOptions.d.ts.map +1 -0
  235. package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.d.ts +12 -0
  236. package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.d.ts.map +1 -0
  237. package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.js +15 -0
  238. package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.js.map +1 -0
  239. package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.d.ts +8 -0
  240. package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.d.ts.map +1 -0
  241. package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.js +17 -0
  242. package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.js.map +1 -0
  243. package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.d.ts +31 -0
  244. package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.d.ts.map +1 -0
  245. package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.js +116 -0
  246. package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.js.map +1 -0
  247. package/node_modules/@azure/msal-common/dist/authority/RegionDiscoveryMetadata.d.ts +7 -0
  248. package/node_modules/@azure/msal-common/dist/authority/RegionDiscoveryMetadata.d.ts.map +1 -0
  249. package/node_modules/@azure/msal-common/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts +16 -0
  250. package/node_modules/@azure/msal-common/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +1 -0
  251. package/node_modules/@azure/msal-common/dist/cache/CacheManager.d.ts +444 -0
  252. package/node_modules/@azure/msal-common/dist/cache/CacheManager.d.ts.map +1 -0
  253. package/node_modules/@azure/msal-common/dist/cache/CacheManager.js +1024 -0
  254. package/node_modules/@azure/msal-common/dist/cache/CacheManager.js.map +1 -0
  255. package/node_modules/@azure/msal-common/dist/cache/entities/AccessTokenEntity.d.ts +57 -0
  256. package/node_modules/@azure/msal-common/dist/cache/entities/AccessTokenEntity.d.ts.map +1 -0
  257. package/node_modules/@azure/msal-common/dist/cache/entities/AccessTokenEntity.js +123 -0
  258. package/node_modules/@azure/msal-common/dist/cache/entities/AccessTokenEntity.js.map +1 -0
  259. package/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.d.ts +100 -0
  260. package/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.d.ts.map +1 -0
  261. package/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.js +259 -0
  262. package/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.js.map +1 -0
  263. package/node_modules/@azure/msal-common/dist/cache/entities/AppMetadataEntity.d.ts +40 -0
  264. package/node_modules/@azure/msal-common/dist/cache/entities/AppMetadataEntity.d.ts.map +1 -0
  265. package/node_modules/@azure/msal-common/dist/cache/entities/AppMetadataEntity.js +73 -0
  266. package/node_modules/@azure/msal-common/dist/cache/entities/AppMetadataEntity.js.map +1 -0
  267. package/node_modules/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.d.ts +48 -0
  268. package/node_modules/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.d.ts.map +1 -0
  269. package/node_modules/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.js +85 -0
  270. package/node_modules/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.js.map +1 -0
  271. package/node_modules/@azure/msal-common/dist/cache/entities/CacheRecord.d.ts +14 -0
  272. package/node_modules/@azure/msal-common/dist/cache/entities/CacheRecord.d.ts.map +1 -0
  273. package/node_modules/@azure/msal-common/dist/cache/entities/CacheRecord.js +18 -0
  274. package/node_modules/@azure/msal-common/dist/cache/entities/CacheRecord.js.map +1 -0
  275. package/node_modules/@azure/msal-common/dist/cache/entities/CredentialEntity.d.ts +89 -0
  276. package/node_modules/@azure/msal-common/dist/cache/entities/CredentialEntity.d.ts.map +1 -0
  277. package/node_modules/@azure/msal-common/dist/cache/entities/CredentialEntity.js +144 -0
  278. package/node_modules/@azure/msal-common/dist/cache/entities/CredentialEntity.js.map +1 -0
  279. package/node_modules/@azure/msal-common/dist/cache/entities/IdTokenEntity.d.ts +35 -0
  280. package/node_modules/@azure/msal-common/dist/cache/entities/IdTokenEntity.d.ts.map +1 -0
  281. package/node_modules/@azure/msal-common/dist/cache/entities/IdTokenEntity.js +64 -0
  282. package/node_modules/@azure/msal-common/dist/cache/entities/IdTokenEntity.js.map +1 -0
  283. package/node_modules/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.d.ts +37 -0
  284. package/node_modules/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.d.ts.map +1 -0
  285. package/node_modules/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.js +67 -0
  286. package/node_modules/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.js.map +1 -0
  287. package/node_modules/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.d.ts +13 -0
  288. package/node_modules/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.d.ts.map +1 -0
  289. package/node_modules/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.js +34 -0
  290. package/node_modules/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.js.map +1 -0
  291. package/node_modules/@azure/msal-common/dist/cache/entities/ThrottlingEntity.d.ts +14 -0
  292. package/node_modules/@azure/msal-common/dist/cache/entities/ThrottlingEntity.d.ts.map +1 -0
  293. package/node_modules/@azure/msal-common/dist/cache/entities/ThrottlingEntity.js +30 -0
  294. package/node_modules/@azure/msal-common/dist/cache/entities/ThrottlingEntity.js.map +1 -0
  295. package/node_modules/@azure/msal-common/dist/cache/interface/ICacheManager.d.ts +166 -0
  296. package/node_modules/@azure/msal-common/dist/cache/interface/ICacheManager.d.ts.map +1 -0
  297. package/node_modules/@azure/msal-common/dist/cache/interface/ICachePlugin.d.ts +6 -0
  298. package/node_modules/@azure/msal-common/dist/cache/interface/ICachePlugin.d.ts.map +1 -0
  299. package/node_modules/@azure/msal-common/dist/cache/interface/ISerializableTokenCache.d.ts +5 -0
  300. package/node_modules/@azure/msal-common/dist/cache/interface/ISerializableTokenCache.d.ts.map +1 -0
  301. package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.d.ts +24 -0
  302. package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.d.ts.map +1 -0
  303. package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.js +30 -0
  304. package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.js.map +1 -0
  305. package/node_modules/@azure/msal-common/dist/cache/utils/CacheTypes.d.ts +63 -0
  306. package/node_modules/@azure/msal-common/dist/cache/utils/CacheTypes.d.ts.map +1 -0
  307. package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.d.ts +72 -0
  308. package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.d.ts.map +1 -0
  309. package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.js +453 -0
  310. package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.js.map +1 -0
  311. package/node_modules/@azure/msal-common/dist/client/BaseClient.d.ts +51 -0
  312. package/node_modules/@azure/msal-common/dist/client/BaseClient.d.ts.map +1 -0
  313. package/node_modules/@azure/msal-common/dist/client/BaseClient.js +107 -0
  314. package/node_modules/@azure/msal-common/dist/client/BaseClient.js.map +1 -0
  315. package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.d.ts +35 -0
  316. package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.d.ts.map +1 -0
  317. package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.js +260 -0
  318. package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.js.map +1 -0
  319. package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.d.ts +25 -0
  320. package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.d.ts.map +1 -0
  321. package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.js +108 -0
  322. package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.js.map +1 -0
  323. package/node_modules/@azure/msal-common/dist/config/AppTokenProvider.d.ts +39 -0
  324. package/node_modules/@azure/msal-common/dist/config/AppTokenProvider.d.ts.map +1 -0
  325. package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.d.ts +134 -0
  326. package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.d.ts.map +1 -0
  327. package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.js +101 -0
  328. package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.js.map +1 -0
  329. package/node_modules/@azure/msal-common/dist/crypto/ICrypto.d.ts +63 -0
  330. package/node_modules/@azure/msal-common/dist/crypto/ICrypto.d.ts.map +1 -0
  331. package/node_modules/@azure/msal-common/dist/crypto/ICrypto.js +49 -0
  332. package/node_modules/@azure/msal-common/dist/crypto/ICrypto.js.map +1 -0
  333. package/node_modules/@azure/msal-common/dist/crypto/IGuidGenerator.d.ts +5 -0
  334. package/node_modules/@azure/msal-common/dist/crypto/IGuidGenerator.d.ts.map +1 -0
  335. package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.d.ts +22 -0
  336. package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.d.ts.map +1 -0
  337. package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.js +44 -0
  338. package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.js.map +1 -0
  339. package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.d.ts +58 -0
  340. package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.d.ts.map +1 -0
  341. package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.js +92 -0
  342. package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.js.map +1 -0
  343. package/node_modules/@azure/msal-common/dist/crypto/SignedHttpRequest.d.ts +12 -0
  344. package/node_modules/@azure/msal-common/dist/crypto/SignedHttpRequest.d.ts.map +1 -0
  345. package/node_modules/@azure/msal-common/dist/error/AuthError.d.ts +48 -0
  346. package/node_modules/@azure/msal-common/dist/error/AuthError.d.ts.map +1 -0
  347. package/node_modules/@azure/msal-common/dist/error/AuthError.js +58 -0
  348. package/node_modules/@azure/msal-common/dist/error/AuthError.js.map +1 -0
  349. package/node_modules/@azure/msal-common/dist/error/ClientAuthError.d.ts +413 -0
  350. package/node_modules/@azure/msal-common/dist/error/ClientAuthError.d.ts.map +1 -0
  351. package/node_modules/@azure/msal-common/dist/error/ClientAuthError.js +526 -0
  352. package/node_modules/@azure/msal-common/dist/error/ClientAuthError.js.map +1 -0
  353. package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.d.ts +199 -0
  354. package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.d.ts.map +1 -0
  355. package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.js +256 -0
  356. package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.js.map +1 -0
  357. package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.d.ts +60 -0
  358. package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.d.ts.map +1 -0
  359. package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.js +86 -0
  360. package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.js.map +1 -0
  361. package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.d.ts +29 -0
  362. package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.d.ts.map +1 -0
  363. package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.js +46 -0
  364. package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.js.map +1 -0
  365. package/node_modules/@azure/msal-common/dist/error/ServerError.d.ts +8 -0
  366. package/node_modules/@azure/msal-common/dist/error/ServerError.d.ts.map +1 -0
  367. package/node_modules/@azure/msal-common/dist/error/ServerError.js +21 -0
  368. package/node_modules/@azure/msal-common/dist/error/ServerError.js.map +1 -0
  369. package/node_modules/@azure/msal-common/dist/index.cjs.js +8975 -0
  370. package/node_modules/@azure/msal-common/dist/index.cjs.js.map +1 -0
  371. package/node_modules/@azure/msal-common/dist/index.d.ts +94 -0
  372. package/node_modules/@azure/msal-common/dist/index.d.ts.map +1 -0
  373. package/node_modules/@azure/msal-common/dist/index.js +54 -0
  374. package/node_modules/@azure/msal-common/dist/index.js.map +1 -0
  375. package/node_modules/@azure/msal-common/dist/logger/Logger.d.ts +96 -0
  376. package/node_modules/@azure/msal-common/dist/logger/Logger.d.ts.map +1 -0
  377. package/node_modules/@azure/msal-common/dist/logger/Logger.js +205 -0
  378. package/node_modules/@azure/msal-common/dist/logger/Logger.js.map +1 -0
  379. package/node_modules/@azure/msal-common/dist/network/INetworkModule.d.ts +30 -0
  380. package/node_modules/@azure/msal-common/dist/network/INetworkModule.d.ts.map +1 -0
  381. package/node_modules/@azure/msal-common/dist/network/INetworkModule.js +21 -0
  382. package/node_modules/@azure/msal-common/dist/network/INetworkModule.js.map +1 -0
  383. package/node_modules/@azure/msal-common/dist/network/NetworkManager.d.ts +33 -0
  384. package/node_modules/@azure/msal-common/dist/network/NetworkManager.d.ts.map +1 -0
  385. package/node_modules/@azure/msal-common/dist/network/NetworkManager.js +42 -0
  386. package/node_modules/@azure/msal-common/dist/network/NetworkManager.js.map +1 -0
  387. package/node_modules/@azure/msal-common/dist/network/RequestThumbprint.d.ts +17 -0
  388. package/node_modules/@azure/msal-common/dist/network/RequestThumbprint.d.ts.map +1 -0
  389. package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.d.ts +42 -0
  390. package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.d.ts.map +1 -0
  391. package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.js +102 -0
  392. package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.js.map +1 -0
  393. package/node_modules/@azure/msal-common/dist/packageMetadata.d.ts +3 -0
  394. package/node_modules/@azure/msal-common/dist/packageMetadata.d.ts.map +1 -0
  395. package/node_modules/@azure/msal-common/dist/packageMetadata.js +8 -0
  396. package/node_modules/@azure/msal-common/dist/packageMetadata.js.map +1 -0
  397. package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.d.ts +20 -0
  398. package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.d.ts.map +1 -0
  399. package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.js +63 -0
  400. package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.js.map +1 -0
  401. package/node_modules/@azure/msal-common/dist/request/BaseAuthRequest.d.ts +38 -0
  402. package/node_modules/@azure/msal-common/dist/request/BaseAuthRequest.d.ts.map +1 -0
  403. package/node_modules/@azure/msal-common/dist/request/CommonAuthorizationCodeRequest.d.ts +28 -0
  404. package/node_modules/@azure/msal-common/dist/request/CommonAuthorizationCodeRequest.d.ts.map +1 -0
  405. package/node_modules/@azure/msal-common/dist/request/CommonAuthorizationUrlRequest.d.ts +51 -0
  406. package/node_modules/@azure/msal-common/dist/request/CommonAuthorizationUrlRequest.d.ts.map +1 -0
  407. package/node_modules/@azure/msal-common/dist/request/CommonClientCredentialRequest.d.ts +18 -0
  408. package/node_modules/@azure/msal-common/dist/request/CommonClientCredentialRequest.d.ts.map +1 -0
  409. package/node_modules/@azure/msal-common/dist/request/CommonDeviceCodeRequest.d.ts +22 -0
  410. package/node_modules/@azure/msal-common/dist/request/CommonDeviceCodeRequest.d.ts.map +1 -0
  411. package/node_modules/@azure/msal-common/dist/request/CommonEndSessionRequest.d.ts +22 -0
  412. package/node_modules/@azure/msal-common/dist/request/CommonEndSessionRequest.d.ts.map +1 -0
  413. package/node_modules/@azure/msal-common/dist/request/CommonOnBehalfOfRequest.d.ts +14 -0
  414. package/node_modules/@azure/msal-common/dist/request/CommonOnBehalfOfRequest.d.ts.map +1 -0
  415. package/node_modules/@azure/msal-common/dist/request/CommonRefreshTokenRequest.d.ts +20 -0
  416. package/node_modules/@azure/msal-common/dist/request/CommonRefreshTokenRequest.d.ts.map +1 -0
  417. package/node_modules/@azure/msal-common/dist/request/CommonSilentFlowRequest.d.ts +19 -0
  418. package/node_modules/@azure/msal-common/dist/request/CommonSilentFlowRequest.d.ts.map +1 -0
  419. package/node_modules/@azure/msal-common/dist/request/CommonUsernamePasswordRequest.d.ts +18 -0
  420. package/node_modules/@azure/msal-common/dist/request/CommonUsernamePasswordRequest.d.ts.map +1 -0
  421. package/node_modules/@azure/msal-common/dist/request/NativeRequest.d.ts +20 -0
  422. package/node_modules/@azure/msal-common/dist/request/NativeRequest.d.ts.map +1 -0
  423. package/node_modules/@azure/msal-common/dist/request/NativeSignOutRequest.d.ts +6 -0
  424. package/node_modules/@azure/msal-common/dist/request/NativeSignOutRequest.d.ts.map +1 -0
  425. package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.d.ts +217 -0
  426. package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.d.ts.map +1 -0
  427. package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.js +385 -0
  428. package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.js.map +1 -0
  429. package/node_modules/@azure/msal-common/dist/request/RequestValidator.d.ts +34 -0
  430. package/node_modules/@azure/msal-common/dist/request/RequestValidator.d.ts.map +1 -0
  431. package/node_modules/@azure/msal-common/dist/request/RequestValidator.js +92 -0
  432. package/node_modules/@azure/msal-common/dist/request/RequestValidator.js.map +1 -0
  433. package/node_modules/@azure/msal-common/dist/request/ScopeSet.d.ts +89 -0
  434. package/node_modules/@azure/msal-common/dist/request/ScopeSet.d.ts.map +1 -0
  435. package/node_modules/@azure/msal-common/dist/request/ScopeSet.js +207 -0
  436. package/node_modules/@azure/msal-common/dist/request/ScopeSet.js.map +1 -0
  437. package/node_modules/@azure/msal-common/dist/response/AuthenticationResult.d.ts +40 -0
  438. package/node_modules/@azure/msal-common/dist/response/AuthenticationResult.d.ts.map +1 -0
  439. package/node_modules/@azure/msal-common/dist/response/AuthorizationCodePayload.d.ts +14 -0
  440. package/node_modules/@azure/msal-common/dist/response/AuthorizationCodePayload.d.ts.map +1 -0
  441. package/node_modules/@azure/msal-common/dist/response/DeviceCodeResponse.d.ts +26 -0
  442. package/node_modules/@azure/msal-common/dist/response/DeviceCodeResponse.d.ts.map +1 -0
  443. package/node_modules/@azure/msal-common/dist/response/ExternalTokenResponse.d.ts +16 -0
  444. package/node_modules/@azure/msal-common/dist/response/ExternalTokenResponse.d.ts.map +1 -0
  445. package/node_modules/@azure/msal-common/dist/response/IMDSBadResponse.d.ts +5 -0
  446. package/node_modules/@azure/msal-common/dist/response/IMDSBadResponse.d.ts.map +1 -0
  447. package/node_modules/@azure/msal-common/dist/response/ResponseHandler.d.ts +73 -0
  448. package/node_modules/@azure/msal-common/dist/response/ResponseHandler.d.ts.map +1 -0
  449. package/node_modules/@azure/msal-common/dist/response/ResponseHandler.js +325 -0
  450. package/node_modules/@azure/msal-common/dist/response/ResponseHandler.js.map +1 -0
  451. package/node_modules/@azure/msal-common/dist/response/ServerAuthorizationCodeResponse.d.ts +26 -0
  452. package/node_modules/@azure/msal-common/dist/response/ServerAuthorizationCodeResponse.d.ts.map +1 -0
  453. package/node_modules/@azure/msal-common/dist/response/ServerAuthorizationTokenResponse.d.ts +45 -0
  454. package/node_modules/@azure/msal-common/dist/response/ServerAuthorizationTokenResponse.d.ts.map +1 -0
  455. package/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceClient.d.ts +43 -0
  456. package/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceClient.d.ts.map +1 -0
  457. package/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceMeasurement.d.ts +6 -0
  458. package/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceMeasurement.d.ts.map +1 -0
  459. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.d.ts +190 -0
  460. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.d.ts.map +1 -0
  461. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.js +413 -0
  462. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.js.map +1 -0
  463. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.d.ts +440 -0
  464. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.d.ts.map +1 -0
  465. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.js +232 -0
  466. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.js.map +1 -0
  467. package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.d.ts +20 -0
  468. package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.d.ts.map +1 -0
  469. package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.js +43 -0
  470. package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.js.map +1 -0
  471. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.d.ts +66 -0
  472. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.d.ts.map +1 -0
  473. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.js +206 -0
  474. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.js.map +1 -0
  475. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryRequest.d.ts +9 -0
  476. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryRequest.d.ts.map +1 -0
  477. package/node_modules/@azure/msal-common/dist/url/IUri.d.ts +13 -0
  478. package/node_modules/@azure/msal-common/dist/url/IUri.d.ts.map +1 -0
  479. package/node_modules/@azure/msal-common/dist/url/UrlString.d.ts +71 -0
  480. package/node_modules/@azure/msal-common/dist/url/UrlString.d.ts.map +1 -0
  481. package/node_modules/@azure/msal-common/dist/url/UrlString.js +252 -0
  482. package/node_modules/@azure/msal-common/dist/url/UrlString.js.map +1 -0
  483. package/node_modules/@azure/msal-common/dist/utils/Constants.d.ts +332 -0
  484. package/node_modules/@azure/msal-common/dist/utils/Constants.d.ts.map +1 -0
  485. package/node_modules/@azure/msal-common/dist/utils/Constants.js +378 -0
  486. package/node_modules/@azure/msal-common/dist/utils/Constants.js.map +1 -0
  487. package/node_modules/@azure/msal-common/dist/utils/MsalTypes.d.ts +7 -0
  488. package/node_modules/@azure/msal-common/dist/utils/MsalTypes.d.ts.map +1 -0
  489. package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.d.ts +43 -0
  490. package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.d.ts.map +1 -0
  491. package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.js +80 -0
  492. package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.js.map +1 -0
  493. package/node_modules/@azure/msal-common/dist/utils/StringUtils.d.ts +54 -0
  494. package/node_modules/@azure/msal-common/dist/utils/StringUtils.d.ts.map +1 -0
  495. package/node_modules/@azure/msal-common/dist/utils/StringUtils.js +131 -0
  496. package/node_modules/@azure/msal-common/dist/utils/StringUtils.js.map +1 -0
  497. package/node_modules/@azure/msal-common/dist/utils/TimeUtils.d.ts +28 -0
  498. package/node_modules/@azure/msal-common/dist/utils/TimeUtils.d.ts.map +1 -0
  499. package/node_modules/@azure/msal-common/dist/utils/TimeUtils.js +50 -0
  500. package/node_modules/@azure/msal-common/dist/utils/TimeUtils.js.map +1 -0
  501. package/node_modules/@azure/msal-common/package.json +79 -0
  502. package/package.json +27 -18
@@ -0,0 +1,20 @@
1
+ /*! @azure/msal-node v2.0.0-alpha.0 2023-05-03 */
2
+ 'use strict';
3
+ import * as internals from './internals.esm.js';
4
+ export { internals };
5
+ export { PublicClientApplication } from './client/PublicClientApplication.esm.js';
6
+ export { ConfidentialClientApplication } from './client/ConfidentialClientApplication.esm.js';
7
+ export { ClientApplication } from './client/ClientApplication.esm.js';
8
+ export { ClientCredentialClient } from './client/ClientCredentialClient.esm.js';
9
+ export { DeviceCodeClient } from './client/DeviceCodeClient.esm.js';
10
+ export { OnBehalfOfClient } from './client/OnBehalfOfClient.esm.js';
11
+ export { UsernamePasswordClient } from './client/UsernamePasswordClient.esm.js';
12
+ export { buildAppConfiguration } from './config/Configuration.esm.js';
13
+ export { ClientAssertion } from './client/ClientAssertion.esm.js';
14
+ export { TokenCache } from './cache/TokenCache.esm.js';
15
+ export { NodeStorage } from './cache/NodeStorage.esm.js';
16
+ export { DistributedCachePlugin } from './cache/distributed/DistributedCachePlugin.esm.js';
17
+ export { CryptoProvider } from './crypto/CryptoProvider.esm.js';
18
+ export { AuthError, AuthErrorMessage, AzureCloudInstance, ClientAuthError, ClientAuthErrorMessage, ClientConfigurationError, ClientConfigurationErrorMessage, InteractionRequiredAuthError, InteractionRequiredAuthErrorMessage, LogLevel, Logger, PromptValue, ProtocolMode, ResponseMode, ServerError, TokenCacheContext } from '@azure/msal-common';
19
+ export { version } from './packageMetadata.esm.js';
20
+ //# sourceMappingURL=index.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
package/dist/index.js CHANGED
@@ -1,8 +1,103 @@
1
+ /*! @azure/msal-node v2.0.0-alpha.0 2023-05-03 */
2
+ 'use strict';
3
+ 'use strict';
1
4
 
2
- 'use strict'
5
+ var internals = require('./internals.js');
6
+ var PublicClientApplication = require('./client/PublicClientApplication.js');
7
+ var ConfidentialClientApplication = require('./client/ConfidentialClientApplication.js');
8
+ var ClientApplication = require('./client/ClientApplication.js');
9
+ var ClientCredentialClient = require('./client/ClientCredentialClient.js');
10
+ var DeviceCodeClient = require('./client/DeviceCodeClient.js');
11
+ var OnBehalfOfClient = require('./client/OnBehalfOfClient.js');
12
+ var UsernamePasswordClient = require('./client/UsernamePasswordClient.js');
13
+ var Configuration = require('./config/Configuration.js');
14
+ var ClientAssertion = require('./client/ClientAssertion.js');
15
+ var TokenCache = require('./cache/TokenCache.js');
16
+ var NodeStorage = require('./cache/NodeStorage.js');
17
+ var DistributedCachePlugin = require('./cache/distributed/DistributedCachePlugin.js');
18
+ var CryptoProvider = require('./crypto/CryptoProvider.js');
19
+ var msalCommon = require('@azure/msal-common');
20
+ var packageMetadata = require('./packageMetadata.js');
3
21
 
4
- if (process.env.NODE_ENV === 'production') {
5
- module.exports = require('./msal-node.cjs.production.min.js')
6
- } else {
7
- module.exports = require('./msal-node.cjs.development.js')
8
- }
22
+
23
+
24
+ exports.internals = internals;
25
+ exports.PublicClientApplication = PublicClientApplication.PublicClientApplication;
26
+ exports.ConfidentialClientApplication = ConfidentialClientApplication.ConfidentialClientApplication;
27
+ exports.ClientApplication = ClientApplication.ClientApplication;
28
+ exports.ClientCredentialClient = ClientCredentialClient.ClientCredentialClient;
29
+ exports.DeviceCodeClient = DeviceCodeClient.DeviceCodeClient;
30
+ exports.OnBehalfOfClient = OnBehalfOfClient.OnBehalfOfClient;
31
+ exports.UsernamePasswordClient = UsernamePasswordClient.UsernamePasswordClient;
32
+ exports.buildAppConfiguration = Configuration.buildAppConfiguration;
33
+ exports.ClientAssertion = ClientAssertion.ClientAssertion;
34
+ exports.TokenCache = TokenCache.TokenCache;
35
+ exports.NodeStorage = NodeStorage.NodeStorage;
36
+ exports.DistributedCachePlugin = DistributedCachePlugin.DistributedCachePlugin;
37
+ exports.CryptoProvider = CryptoProvider.CryptoProvider;
38
+ Object.defineProperty(exports, 'AuthError', {
39
+ enumerable: true,
40
+ get: function () { return msalCommon.AuthError; }
41
+ });
42
+ Object.defineProperty(exports, 'AuthErrorMessage', {
43
+ enumerable: true,
44
+ get: function () { return msalCommon.AuthErrorMessage; }
45
+ });
46
+ Object.defineProperty(exports, 'AzureCloudInstance', {
47
+ enumerable: true,
48
+ get: function () { return msalCommon.AzureCloudInstance; }
49
+ });
50
+ Object.defineProperty(exports, 'ClientAuthError', {
51
+ enumerable: true,
52
+ get: function () { return msalCommon.ClientAuthError; }
53
+ });
54
+ Object.defineProperty(exports, 'ClientAuthErrorMessage', {
55
+ enumerable: true,
56
+ get: function () { return msalCommon.ClientAuthErrorMessage; }
57
+ });
58
+ Object.defineProperty(exports, 'ClientConfigurationError', {
59
+ enumerable: true,
60
+ get: function () { return msalCommon.ClientConfigurationError; }
61
+ });
62
+ Object.defineProperty(exports, 'ClientConfigurationErrorMessage', {
63
+ enumerable: true,
64
+ get: function () { return msalCommon.ClientConfigurationErrorMessage; }
65
+ });
66
+ Object.defineProperty(exports, 'InteractionRequiredAuthError', {
67
+ enumerable: true,
68
+ get: function () { return msalCommon.InteractionRequiredAuthError; }
69
+ });
70
+ Object.defineProperty(exports, 'InteractionRequiredAuthErrorMessage', {
71
+ enumerable: true,
72
+ get: function () { return msalCommon.InteractionRequiredAuthErrorMessage; }
73
+ });
74
+ Object.defineProperty(exports, 'LogLevel', {
75
+ enumerable: true,
76
+ get: function () { return msalCommon.LogLevel; }
77
+ });
78
+ Object.defineProperty(exports, 'Logger', {
79
+ enumerable: true,
80
+ get: function () { return msalCommon.Logger; }
81
+ });
82
+ Object.defineProperty(exports, 'PromptValue', {
83
+ enumerable: true,
84
+ get: function () { return msalCommon.PromptValue; }
85
+ });
86
+ Object.defineProperty(exports, 'ProtocolMode', {
87
+ enumerable: true,
88
+ get: function () { return msalCommon.ProtocolMode; }
89
+ });
90
+ Object.defineProperty(exports, 'ResponseMode', {
91
+ enumerable: true,
92
+ get: function () { return msalCommon.ResponseMode; }
93
+ });
94
+ Object.defineProperty(exports, 'ServerError', {
95
+ enumerable: true,
96
+ get: function () { return msalCommon.ServerError; }
97
+ });
98
+ Object.defineProperty(exports, 'TokenCacheContext', {
99
+ enumerable: true,
100
+ get: function () { return msalCommon.TokenCacheContext; }
101
+ });
102
+ exports.version = packageMetadata.version;
103
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Warning: This set of exports is purely intended to be used by other MSAL libraries, and should be considered potentially unstable. We strongly discourage using them directly, you do so at your own risk.
3
+ * Breaking changes to these APIs will be shipped under a minor version, instead of a major version.
4
+ */
5
+ export { Serializer } from "./cache/serializer/Serializer";
6
+ export { Deserializer } from "./cache/serializer/Deserializer";
7
+ //# sourceMappingURL=internals.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"internals.d.ts","sourceRoot":"","sources":["../src/internals.ts"],"names":[],"mappings":"AAKA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC"}
@@ -0,0 +1,10 @@
1
+ /*! @azure/msal-node v2.0.0-alpha.0 2023-05-03 */
2
+ 'use strict';
3
+ export { Serializer } from './cache/serializer/Serializer.esm.js';
4
+ export { Deserializer } from './cache/serializer/Deserializer.esm.js';
5
+
6
+ /*
7
+ * Copyright (c) Microsoft Corporation. All rights reserved.
8
+ * Licensed under the MIT License.
9
+ */
10
+ //# sourceMappingURL=internals.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"internals.esm.js","sources":["../src/internals.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAAA;;;AAGG"}
@@ -0,0 +1,15 @@
1
+ /*! @azure/msal-node v2.0.0-alpha.0 2023-05-03 */
2
+ 'use strict';
3
+ 'use strict';
4
+
5
+ var Serializer = require('./cache/serializer/Serializer.js');
6
+ var Deserializer = require('./cache/serializer/Deserializer.js');
7
+
8
+ /*
9
+ * Copyright (c) Microsoft Corporation. All rights reserved.
10
+ * Licensed under the MIT License.
11
+ */
12
+
13
+ exports.Serializer = Serializer.Serializer;
14
+ exports.Deserializer = Deserializer.Deserializer;
15
+ //# sourceMappingURL=internals.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"internals.js","sources":["../src/internals.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;;;AAGG;;;;;"}
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  import { INetworkModule, NetworkRequestOptions, NetworkResponse } from "@azure/msal-common";
3
4
  import http from "http";
4
5
  import https from "https";
@@ -1 +1 @@
1
- {"version":3,"file":"HttpClient.d.ts","sourceRoot":"","sources":["../src/network/HttpClient.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAG5F,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;GAEG;AACH,qBAAa,UAAW,YAAW,cAAc;IAC7C,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,kBAAkB,CAAyC;gBAG/D,QAAQ,CAAC,EAAE,MAAM,EACjB,kBAAkB,CAAC,EAAE,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY;IAM/D;;;;OAIG;IACG,mBAAmB,CAAC,CAAC,EACvB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,qBAAqB,GAChC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;IAQ9B;;;;OAIG;IACG,oBAAoB,CAAC,CAAC,EACxB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,qBAAqB,EAC/B,iBAAiB,CAAC,EAAE,MAAM,GAC3B,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;CAOjC"}
1
+ {"version":3,"file":"HttpClient.d.ts","sourceRoot":"","sources":["../../src/network/HttpClient.ts"],"names":[],"mappings":";;AAKA,OAAO,EACH,cAAc,EACd,qBAAqB,EACrB,eAAe,EAClB,MAAM,oBAAoB,CAAC;AAQ5B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;GAEG;AACH,qBAAa,UAAW,YAAW,cAAc;IAC7C,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,kBAAkB,CAAyC;gBAG/D,QAAQ,CAAC,EAAE,MAAM,EACjB,kBAAkB,CAAC,EAAE,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY;IAM/D;;;;OAIG;IACG,mBAAmB,CAAC,CAAC,EACvB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,qBAAqB,GAChC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;IAmB9B;;;;OAIG;IACG,oBAAoB,CAAC,CAAC,EACxB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,qBAAqB,EAC/B,iBAAiB,CAAC,EAAE,MAAM,GAC3B,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;CAoBjC"}
@@ -0,0 +1,286 @@
1
+ /*! @azure/msal-node v2.0.0-alpha.0 2023-05-03 */
2
+ 'use strict';
3
+ import { ProxyStatus, HttpStatus, Constants, HttpMethod } from '../utils/Constants.esm.js';
4
+ import { NetworkUtils } from '../utils/NetworkUtils.esm.js';
5
+ import http from 'http';
6
+ import https from 'https';
7
+
8
+ /*
9
+ * Copyright (c) Microsoft Corporation. All rights reserved.
10
+ * Licensed under the MIT License.
11
+ */
12
+ /**
13
+ * This class implements the API for network requests.
14
+ */
15
+ class HttpClient {
16
+ constructor(proxyUrl, customAgentOptions) {
17
+ this.proxyUrl = proxyUrl || "";
18
+ this.customAgentOptions = customAgentOptions || {};
19
+ }
20
+ /**
21
+ * Http Get request
22
+ * @param url
23
+ * @param options
24
+ */
25
+ async sendGetRequestAsync(url, options) {
26
+ if (this.proxyUrl) {
27
+ return networkRequestViaProxy(url, this.proxyUrl, HttpMethod.GET, options, this.customAgentOptions);
28
+ }
29
+ else {
30
+ return networkRequestViaHttps(url, HttpMethod.GET, options, this.customAgentOptions);
31
+ }
32
+ }
33
+ /**
34
+ * Http Post request
35
+ * @param url
36
+ * @param options
37
+ */
38
+ async sendPostRequestAsync(url, options, cancellationToken) {
39
+ if (this.proxyUrl) {
40
+ return networkRequestViaProxy(url, this.proxyUrl, HttpMethod.POST, options, this.customAgentOptions, cancellationToken);
41
+ }
42
+ else {
43
+ return networkRequestViaHttps(url, HttpMethod.POST, options, this.customAgentOptions, cancellationToken);
44
+ }
45
+ }
46
+ }
47
+ const networkRequestViaProxy = (destinationUrlString, proxyUrlString, httpMethod, options, agentOptions, timeout) => {
48
+ const destinationUrl = new URL(destinationUrlString);
49
+ const proxyUrl = new URL(proxyUrlString);
50
+ // "method: connect" must be used to establish a connection to the proxy
51
+ const headers = options?.headers || {};
52
+ const tunnelRequestOptions = {
53
+ host: proxyUrl.hostname,
54
+ port: proxyUrl.port,
55
+ method: "CONNECT",
56
+ path: destinationUrl.hostname,
57
+ headers: headers,
58
+ };
59
+ if (timeout) {
60
+ tunnelRequestOptions.timeout = timeout;
61
+ }
62
+ if (agentOptions && Object.keys(agentOptions).length) {
63
+ tunnelRequestOptions.agent = new http.Agent(agentOptions);
64
+ }
65
+ // compose a request string for the socket
66
+ let postRequestStringContent = "";
67
+ if (httpMethod === HttpMethod.POST) {
68
+ const body = options?.body || "";
69
+ postRequestStringContent =
70
+ "Content-Type: application/x-www-form-urlencoded\r\n" +
71
+ `Content-Length: ${body.length}\r\n` +
72
+ `\r\n${body}`;
73
+ }
74
+ const outgoingRequestString = `${httpMethod.toUpperCase()} ${destinationUrl.href} HTTP/1.1\r\n` +
75
+ `Host: ${destinationUrl.host}\r\n` +
76
+ "Connection: close\r\n" +
77
+ postRequestStringContent +
78
+ "\r\n";
79
+ return new Promise((resolve, reject) => {
80
+ const request = http.request(tunnelRequestOptions);
81
+ if (tunnelRequestOptions.timeout) {
82
+ request.on("timeout", () => {
83
+ request.destroy();
84
+ reject(new Error("Request time out"));
85
+ });
86
+ }
87
+ request.end();
88
+ // establish connection to the proxy
89
+ request.on("connect", (response, socket) => {
90
+ const proxyStatusCode = response?.statusCode || ProxyStatus.SERVER_ERROR;
91
+ if (proxyStatusCode < ProxyStatus.SUCCESS_RANGE_START ||
92
+ proxyStatusCode > ProxyStatus.SUCCESS_RANGE_END) {
93
+ request.destroy();
94
+ socket.destroy();
95
+ reject(new Error(`Error connecting to proxy. Http status code: ${response.statusCode}. Http status message: ${response?.statusMessage || "Unknown"}`));
96
+ }
97
+ if (tunnelRequestOptions.timeout) {
98
+ socket.setTimeout(tunnelRequestOptions.timeout);
99
+ socket.on("timeout", () => {
100
+ request.destroy();
101
+ socket.destroy();
102
+ reject(new Error("Request time out"));
103
+ });
104
+ }
105
+ // make a request over an HTTP tunnel
106
+ socket.write(outgoingRequestString);
107
+ const data = [];
108
+ socket.on("data", (chunk) => {
109
+ data.push(chunk);
110
+ });
111
+ socket.on("end", () => {
112
+ // combine all received buffer streams into one buffer, and then into a string
113
+ const dataString = Buffer.concat([...data]).toString();
114
+ // separate each line into it's own entry in an arry
115
+ const dataStringArray = dataString.split("\r\n");
116
+ // the first entry will contain the statusCode and statusMessage
117
+ const httpStatusCode = parseInt(dataStringArray[0].split(" ")[1]);
118
+ // remove "HTTP/1.1" and the status code to get the status message
119
+ const statusMessage = dataStringArray[0]
120
+ .split(" ")
121
+ .slice(2)
122
+ .join(" ");
123
+ // the last entry will contain the body
124
+ const body = dataStringArray[dataStringArray.length - 1];
125
+ // everything in between the first and last entries are the headers
126
+ const headersArray = dataStringArray.slice(1, dataStringArray.length - 2);
127
+ // build an object out of all the headers
128
+ const entries = new Map();
129
+ headersArray.forEach((header) => {
130
+ /**
131
+ * the header might look like "Content-Length: 1531", but that is just a string
132
+ * it needs to be converted to a key/value pair
133
+ * split the string at the first instance of ":"
134
+ * there may be more than one ":" if the value of the header is supposed to be a JSON object
135
+ */
136
+ const headerKeyValue = header.split(new RegExp(/:\s(.*)/s));
137
+ const headerKey = headerKeyValue[0];
138
+ let headerValue = headerKeyValue[1];
139
+ // check if the value of the header is supposed to be a JSON object
140
+ try {
141
+ const object = JSON.parse(headerValue);
142
+ // if it is, then convert it from a string to a JSON object
143
+ if (object && typeof object === "object") {
144
+ headerValue = object;
145
+ }
146
+ }
147
+ catch (e) {
148
+ // otherwise, leave it as a string
149
+ }
150
+ entries.set(headerKey, headerValue);
151
+ });
152
+ const headers = Object.fromEntries(entries);
153
+ const parsedHeaders = headers;
154
+ const networkResponse = NetworkUtils.getNetworkResponse(parsedHeaders, parseBody(httpStatusCode, statusMessage, parsedHeaders, body), httpStatusCode);
155
+ if ((httpStatusCode < HttpStatus.SUCCESS_RANGE_START ||
156
+ httpStatusCode > HttpStatus.SUCCESS_RANGE_END) &&
157
+ // do not destroy the request for the device code flow
158
+ networkResponse.body["error"] !==
159
+ Constants.AUTHORIZATION_PENDING) {
160
+ request.destroy();
161
+ }
162
+ resolve(networkResponse);
163
+ });
164
+ socket.on("error", (chunk) => {
165
+ request.destroy();
166
+ socket.destroy();
167
+ reject(new Error(chunk.toString()));
168
+ });
169
+ });
170
+ request.on("error", (chunk) => {
171
+ request.destroy();
172
+ reject(new Error(chunk.toString()));
173
+ });
174
+ });
175
+ };
176
+ const networkRequestViaHttps = (urlString, httpMethod, options, agentOptions, timeout) => {
177
+ const isPostRequest = httpMethod === HttpMethod.POST;
178
+ const body = options?.body || "";
179
+ const url = new URL(urlString);
180
+ const headers = options?.headers || {};
181
+ const customOptions = {
182
+ method: httpMethod,
183
+ headers: headers,
184
+ ...NetworkUtils.urlToHttpOptions(url),
185
+ };
186
+ if (timeout) {
187
+ customOptions.timeout = timeout;
188
+ }
189
+ if (agentOptions && Object.keys(agentOptions).length) {
190
+ customOptions.agent = new https.Agent(agentOptions);
191
+ }
192
+ if (isPostRequest) {
193
+ // needed for post request to work
194
+ customOptions.headers = {
195
+ ...customOptions.headers,
196
+ "Content-Length": body.length,
197
+ };
198
+ }
199
+ return new Promise((resolve, reject) => {
200
+ const request = https.request(customOptions);
201
+ if (timeout) {
202
+ request.on("timeout", () => {
203
+ request.destroy();
204
+ reject(new Error("Request time out"));
205
+ });
206
+ }
207
+ if (isPostRequest) {
208
+ request.write(body);
209
+ }
210
+ request.end();
211
+ request.on("response", (response) => {
212
+ const headers = response.headers;
213
+ const statusCode = response.statusCode;
214
+ const statusMessage = response.statusMessage;
215
+ const data = [];
216
+ response.on("data", (chunk) => {
217
+ data.push(chunk);
218
+ });
219
+ response.on("end", () => {
220
+ // combine all received buffer streams into one buffer, and then into a string
221
+ const body = Buffer.concat([...data]).toString();
222
+ const parsedHeaders = headers;
223
+ const networkResponse = NetworkUtils.getNetworkResponse(parsedHeaders, parseBody(statusCode, statusMessage, parsedHeaders, body), statusCode);
224
+ if ((statusCode < HttpStatus.SUCCESS_RANGE_START ||
225
+ statusCode > HttpStatus.SUCCESS_RANGE_END) &&
226
+ // do not destroy the request for the device code flow
227
+ networkResponse.body["error"] !==
228
+ Constants.AUTHORIZATION_PENDING) {
229
+ request.destroy();
230
+ }
231
+ resolve(networkResponse);
232
+ });
233
+ });
234
+ request.on("error", (chunk) => {
235
+ request.destroy();
236
+ reject(new Error(chunk.toString()));
237
+ });
238
+ });
239
+ };
240
+ /**
241
+ * Check if extra parsing is needed on the repsonse from the server
242
+ * @param statusCode {number} the status code of the response from the server
243
+ * @param statusMessage {string | undefined} the status message of the response from the server
244
+ * @param headers {Record<string, string>} the headers of the response from the server
245
+ * @param body {string} the body from the response of the server
246
+ * @returns {Object} JSON parsed body or error object
247
+ */
248
+ const parseBody = (statusCode, statusMessage, headers, body) => {
249
+ /*
250
+ * Informational responses (100 – 199)
251
+ * Successful responses (200 – 299)
252
+ * Redirection messages (300 – 399)
253
+ * Client error responses (400 – 499)
254
+ * Server error responses (500 – 599)
255
+ */
256
+ let parsedBody;
257
+ try {
258
+ parsedBody = JSON.parse(body);
259
+ }
260
+ catch (error) {
261
+ let errorType;
262
+ let errorDescriptionHelper;
263
+ if (statusCode >= HttpStatus.CLIENT_ERROR_RANGE_START &&
264
+ statusCode <= HttpStatus.CLIENT_ERROR_RANGE_END) {
265
+ errorType = "client_error";
266
+ errorDescriptionHelper = "A client";
267
+ }
268
+ else if (statusCode >= HttpStatus.SERVER_ERROR_RANGE_START &&
269
+ statusCode <= HttpStatus.SERVER_ERROR_RANGE_END) {
270
+ errorType = "server_error";
271
+ errorDescriptionHelper = "A server";
272
+ }
273
+ else {
274
+ errorType = "unknown_error";
275
+ errorDescriptionHelper = "An unknown";
276
+ }
277
+ parsedBody = {
278
+ error: errorType,
279
+ error_description: `${errorDescriptionHelper} error occured.\nHttp status code: ${statusCode}\nHttp status message: ${statusMessage || "Unknown"}\nHeaders: ${JSON.stringify(headers)}`,
280
+ };
281
+ }
282
+ return parsedBody;
283
+ };
284
+
285
+ export { HttpClient };
286
+ //# sourceMappingURL=HttpClient.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HttpClient.esm.js","sources":["../../src/network/HttpClient.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;;;AAGG;AAiBH;;AAEG;MACU,UAAU,CAAA;IAInB,WACI,CAAA,QAAiB,EACjB,kBAA2D,EAAA;AAE3D,QAAA,IAAI,CAAC,QAAQ,GAAG,QAAQ,IAAI,EAAE,CAAC;AAC/B,QAAA,IA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