@azure/msal-browser 2.37.0 → 3.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 (556) hide show
  1. package/dist/app/IPublicClientApplication.d.ts.map +1 -1
  2. package/dist/app/IPublicClientApplication.js +33 -33
  3. package/dist/app/IPublicClientApplication.js.map +1 -1
  4. package/dist/app/PublicClientApplication.d.ts +198 -24
  5. package/dist/app/PublicClientApplication.d.ts.map +1 -1
  6. package/dist/app/PublicClientApplication.js +263 -220
  7. package/dist/app/PublicClientApplication.js.map +1 -1
  8. package/dist/broker/nativeBroker/NativeMessageHandler.d.ts +5 -4
  9. package/dist/broker/nativeBroker/NativeMessageHandler.d.ts.map +1 -1
  10. package/dist/broker/nativeBroker/NativeMessageHandler.js +118 -124
  11. package/dist/broker/nativeBroker/NativeMessageHandler.js.map +1 -1
  12. package/dist/broker/nativeBroker/NativeRequest.d.ts +4 -4
  13. package/dist/broker/nativeBroker/NativeRequest.d.ts.map +1 -1
  14. package/dist/broker/nativeBroker/NativeResponse.d.ts +4 -4
  15. package/dist/broker/nativeBroker/NativeResponse.d.ts.map +1 -1
  16. package/dist/cache/AsyncMemoryStorage.d.ts.map +1 -1
  17. package/dist/cache/AsyncMemoryStorage.js +83 -152
  18. package/dist/cache/AsyncMemoryStorage.js.map +1 -1
  19. package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
  20. package/dist/cache/BrowserCacheManager.js +420 -412
  21. package/dist/cache/BrowserCacheManager.js.map +1 -1
  22. package/dist/cache/BrowserStorage.d.ts.map +1 -1
  23. package/dist/cache/BrowserStorage.js +19 -19
  24. package/dist/cache/BrowserStorage.js.map +1 -1
  25. package/dist/cache/CryptoKeyStore.d.ts.map +1 -1
  26. package/dist/cache/CryptoKeyStore.js +26 -36
  27. package/dist/cache/CryptoKeyStore.js.map +1 -1
  28. package/dist/cache/DatabaseStorage.d.ts.map +1 -1
  29. package/dist/cache/DatabaseStorage.js +127 -191
  30. package/dist/cache/DatabaseStorage.js.map +1 -1
  31. package/dist/cache/ITokenCache.d.ts.map +1 -1
  32. package/dist/cache/MemoryStorage.d.ts.map +1 -1
  33. package/dist/cache/MemoryStorage.js +18 -19
  34. package/dist/cache/MemoryStorage.js.map +1 -1
  35. package/dist/cache/TokenCache.d.ts +1 -1
  36. package/dist/cache/TokenCache.d.ts.map +1 -1
  37. package/dist/cache/TokenCache.js +55 -49
  38. package/dist/cache/TokenCache.js.map +1 -1
  39. package/dist/config/Configuration.d.ts +8 -8
  40. package/dist/config/Configuration.d.ts.map +1 -1
  41. package/dist/config/Configuration.js +53 -31
  42. package/dist/config/Configuration.js.map +1 -1
  43. package/dist/controllers/ControllerFactory.d.ts +10 -0
  44. package/dist/controllers/ControllerFactory.d.ts.map +1 -0
  45. package/dist/controllers/ControllerFactory.js +47 -0
  46. package/dist/controllers/ControllerFactory.js.map +1 -0
  47. package/dist/controllers/IController.d.ts +67 -0
  48. package/dist/controllers/IController.d.ts.map +1 -0
  49. package/dist/{app/ClientApplication.d.ts → controllers/StandardController.d.ts} +96 -15
  50. package/dist/controllers/StandardController.d.ts.map +1 -0
  51. package/dist/controllers/StandardController.js +1299 -0
  52. package/dist/controllers/StandardController.js.map +1 -0
  53. package/dist/crypto/BrowserCrypto.d.ts.map +1 -1
  54. package/dist/crypto/BrowserCrypto.js +36 -60
  55. package/dist/crypto/BrowserCrypto.js.map +1 -1
  56. package/dist/crypto/CryptoOps.d.ts +1 -1
  57. package/dist/crypto/CryptoOps.d.ts.map +1 -1
  58. package/dist/crypto/CryptoOps.js +93 -151
  59. package/dist/crypto/CryptoOps.js.map +1 -1
  60. package/dist/crypto/GuidGenerator.d.ts.map +1 -1
  61. package/dist/crypto/GuidGenerator.js +36 -25
  62. package/dist/crypto/GuidGenerator.js.map +1 -1
  63. package/dist/crypto/ISubtleCrypto.d.ts.map +1 -1
  64. package/dist/crypto/ModernBrowserCrypto.d.ts.map +1 -1
  65. package/dist/crypto/ModernBrowserCrypto.js +20 -44
  66. package/dist/crypto/ModernBrowserCrypto.js.map +1 -1
  67. package/dist/crypto/MsBrowserCrypto.d.ts.map +1 -1
  68. package/dist/crypto/MsBrowserCrypto.js +65 -89
  69. package/dist/crypto/MsBrowserCrypto.js.map +1 -1
  70. package/dist/crypto/MsrBrowserCrypto.d.ts.map +1 -1
  71. package/dist/crypto/MsrBrowserCrypto.js +23 -47
  72. package/dist/crypto/MsrBrowserCrypto.js.map +1 -1
  73. package/dist/crypto/PkceGenerator.d.ts.map +1 -1
  74. package/dist/crypto/PkceGenerator.js +28 -49
  75. package/dist/crypto/PkceGenerator.js.map +1 -1
  76. package/dist/crypto/SignedHttpRequest.d.ts +1 -1
  77. package/dist/crypto/SignedHttpRequest.d.ts.map +1 -1
  78. package/dist/crypto/SignedHttpRequest.js +15 -37
  79. package/dist/crypto/SignedHttpRequest.js.map +1 -1
  80. package/dist/encode/Base64Decode.d.ts.map +1 -1
  81. package/dist/encode/Base64Decode.js +32 -33
  82. package/dist/encode/Base64Decode.js.map +1 -1
  83. package/dist/encode/Base64Encode.d.ts.map +1 -1
  84. package/dist/encode/Base64Encode.js +34 -35
  85. package/dist/encode/Base64Encode.js.map +1 -1
  86. package/dist/error/BrowserAuthError.d.ts +1 -1
  87. package/dist/error/BrowserAuthError.d.ts.map +1 -1
  88. package/dist/error/BrowserAuthError.js +161 -163
  89. package/dist/error/BrowserAuthError.js.map +1 -1
  90. package/dist/error/BrowserConfigurationAuthError.d.ts.map +1 -1
  91. package/dist/error/BrowserConfigurationAuthError.js +32 -36
  92. package/dist/error/BrowserConfigurationAuthError.js.map +1 -1
  93. package/dist/error/NativeAuthError.d.ts +1 -1
  94. package/dist/error/NativeAuthError.d.ts.map +1 -1
  95. package/dist/error/NativeAuthError.js +26 -27
  96. package/dist/error/NativeAuthError.js.map +1 -1
  97. package/dist/event/EventHandler.d.ts.map +1 -1
  98. package/dist/event/EventHandler.js +33 -33
  99. package/dist/event/EventHandler.js.map +1 -1
  100. package/dist/event/EventMessage.d.ts +5 -5
  101. package/dist/event/EventMessage.d.ts.map +1 -1
  102. package/dist/event/EventMessage.js +18 -14
  103. package/dist/event/EventMessage.js.map +1 -1
  104. package/dist/event/EventType.js +1 -1
  105. package/dist/event/EventType.js.map +1 -1
  106. package/dist/index.d.ts +8 -8
  107. package/dist/index.d.ts.map +1 -1
  108. package/dist/index.js +1 -1
  109. package/dist/interaction_client/BaseInteractionClient.d.ts.map +1 -1
  110. package/dist/interaction_client/BaseInteractionClient.js +92 -123
  111. package/dist/interaction_client/BaseInteractionClient.js.map +1 -1
  112. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -1
  113. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.js +6 -10
  114. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.js.map +1 -1
  115. package/dist/interaction_client/NativeInteractionClient.d.ts.map +1 -1
  116. package/dist/interaction_client/NativeInteractionClient.js +336 -393
  117. package/dist/interaction_client/NativeInteractionClient.js.map +1 -1
  118. package/dist/interaction_client/PopupClient.d.ts +1 -1
  119. package/dist/interaction_client/PopupClient.d.ts.map +1 -1
  120. package/dist/interaction_client/PopupClient.js +224 -246
  121. package/dist/interaction_client/PopupClient.js.map +1 -1
  122. package/dist/interaction_client/RedirectClient.d.ts.map +1 -1
  123. package/dist/interaction_client/RedirectClient.js +244 -292
  124. package/dist/interaction_client/RedirectClient.js.map +1 -1
  125. package/dist/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
  126. package/dist/interaction_client/SilentAuthCodeClient.js +50 -63
  127. package/dist/interaction_client/SilentAuthCodeClient.js.map +1 -1
  128. package/dist/interaction_client/SilentCacheClient.d.ts.map +1 -1
  129. package/dist/interaction_client/SilentCacheClient.js +50 -81
  130. package/dist/interaction_client/SilentCacheClient.js.map +1 -1
  131. package/dist/interaction_client/SilentIframeClient.d.ts.map +1 -1
  132. package/dist/interaction_client/SilentIframeClient.js +107 -125
  133. package/dist/interaction_client/SilentIframeClient.js.map +1 -1
  134. package/dist/interaction_client/SilentRefreshClient.d.ts.map +1 -1
  135. package/dist/interaction_client/SilentRefreshClient.js +44 -72
  136. package/dist/interaction_client/SilentRefreshClient.js.map +1 -1
  137. package/dist/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  138. package/dist/interaction_client/StandardInteractionClient.js +144 -180
  139. package/dist/interaction_client/StandardInteractionClient.js.map +1 -1
  140. package/dist/interaction_handler/InteractionHandler.d.ts +1 -1
  141. package/dist/interaction_handler/InteractionHandler.d.ts.map +1 -1
  142. package/dist/interaction_handler/InteractionHandler.js +84 -110
  143. package/dist/interaction_handler/InteractionHandler.js.map +1 -1
  144. package/dist/interaction_handler/RedirectHandler.d.ts +1 -1
  145. package/dist/interaction_handler/RedirectHandler.d.ts.map +1 -1
  146. package/dist/interaction_handler/RedirectHandler.js +105 -122
  147. package/dist/interaction_handler/RedirectHandler.js.map +1 -1
  148. package/dist/interaction_handler/SilentHandler.d.ts.map +1 -1
  149. package/dist/interaction_handler/SilentHandler.js +76 -65
  150. package/dist/interaction_handler/SilentHandler.js.map +1 -1
  151. package/dist/internals.js +1 -1
  152. package/dist/internals.js.map +1 -1
  153. package/dist/navigation/NavigationClient.d.ts.map +1 -1
  154. package/dist/navigation/NavigationClient.js +11 -14
  155. package/dist/navigation/NavigationClient.js.map +1 -1
  156. package/dist/navigation/NavigationOptions.d.ts +1 -1
  157. package/dist/navigation/NavigationOptions.d.ts.map +1 -1
  158. package/dist/network/FetchClient.d.ts.map +1 -1
  159. package/dist/network/FetchClient.js +66 -96
  160. package/dist/network/FetchClient.js.map +1 -1
  161. package/dist/network/XhrClient.d.ts.map +1 -1
  162. package/dist/network/XhrClient.js +38 -51
  163. package/dist/network/XhrClient.js.map +1 -1
  164. package/dist/operatingcontext/BaseOperatingContext.d.ts +41 -0
  165. package/dist/operatingcontext/BaseOperatingContext.d.ts.map +1 -0
  166. package/dist/operatingcontext/BaseOperatingContext.js +53 -0
  167. package/dist/operatingcontext/BaseOperatingContext.js.map +1 -0
  168. package/dist/operatingcontext/StandardOperatingContext.d.ts +26 -0
  169. package/dist/operatingcontext/StandardOperatingContext.d.ts.map +1 -0
  170. package/dist/operatingcontext/StandardOperatingContext.js +50 -0
  171. package/dist/operatingcontext/StandardOperatingContext.js.map +1 -0
  172. package/dist/operatingcontext/TeamsAppOperatingContext.d.ts +26 -0
  173. package/dist/operatingcontext/TeamsAppOperatingContext.d.ts.map +1 -0
  174. package/dist/operatingcontext/TeamsAppOperatingContext.js +49 -0
  175. package/dist/operatingcontext/TeamsAppOperatingContext.js.map +1 -0
  176. package/dist/packageMetadata.d.ts +1 -1
  177. package/dist/packageMetadata.d.ts.map +1 -1
  178. package/dist/packageMetadata.js +3 -3
  179. package/dist/packageMetadata.js.map +1 -1
  180. package/dist/request/AuthorizationCodeRequest.d.ts +1 -1
  181. package/dist/request/AuthorizationCodeRequest.d.ts.map +1 -1
  182. package/dist/request/AuthorizationUrlRequest.d.ts +1 -1
  183. package/dist/request/AuthorizationUrlRequest.d.ts.map +1 -1
  184. package/dist/request/EndSessionPopupRequest.d.ts +1 -1
  185. package/dist/request/EndSessionPopupRequest.d.ts.map +1 -1
  186. package/dist/request/EndSessionRequest.d.ts +1 -1
  187. package/dist/request/EndSessionRequest.d.ts.map +1 -1
  188. package/dist/request/PopupRequest.d.ts +1 -1
  189. package/dist/request/PopupRequest.d.ts.map +1 -1
  190. package/dist/request/PopupWindowAttributes.d.ts +3 -3
  191. package/dist/request/PopupWindowAttributes.d.ts.map +1 -1
  192. package/dist/request/RedirectRequest.d.ts +1 -1
  193. package/dist/request/RedirectRequest.d.ts.map +1 -1
  194. package/dist/request/SilentRequest.d.ts +1 -1
  195. package/dist/request/SilentRequest.d.ts.map +1 -1
  196. package/dist/request/SsoSilentRequest.d.ts +1 -1
  197. package/dist/request/SsoSilentRequest.d.ts.map +1 -1
  198. package/dist/telemetry/BrowserPerformanceClient.d.ts +1 -1
  199. package/dist/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  200. package/dist/telemetry/BrowserPerformanceClient.js +62 -57
  201. package/dist/telemetry/BrowserPerformanceClient.js.map +1 -1
  202. package/dist/telemetry/BrowserPerformanceMeasurement.d.ts.map +1 -1
  203. package/dist/telemetry/BrowserPerformanceMeasurement.js +30 -31
  204. package/dist/telemetry/BrowserPerformanceMeasurement.js.map +1 -1
  205. package/dist/utils/BrowserConstants.d.ts.map +1 -1
  206. package/dist/utils/BrowserConstants.js +10 -10
  207. package/dist/utils/BrowserConstants.js.map +1 -1
  208. package/dist/utils/BrowserProtocolUtils.d.ts +1 -1
  209. package/dist/utils/BrowserProtocolUtils.d.ts.map +1 -1
  210. package/dist/utils/BrowserProtocolUtils.js +9 -12
  211. package/dist/utils/BrowserProtocolUtils.js.map +1 -1
  212. package/dist/utils/BrowserStringUtils.d.ts.map +1 -1
  213. package/dist/utils/BrowserStringUtils.js +83 -49
  214. package/dist/utils/BrowserStringUtils.js.map +1 -1
  215. package/dist/utils/BrowserUtils.d.ts.map +1 -1
  216. package/dist/utils/BrowserUtils.js +51 -49
  217. package/dist/utils/BrowserUtils.js.map +1 -1
  218. package/dist/utils/MathUtils.d.ts.map +1 -1
  219. package/dist/utils/MathUtils.js +6 -9
  220. package/dist/utils/MathUtils.js.map +1 -1
  221. package/node_modules/@azure/msal-common/LICENSE +21 -0
  222. package/node_modules/@azure/msal-common/README.md +62 -0
  223. package/node_modules/@azure/msal-common/dist/account/AccountInfo.d.ts +32 -0
  224. package/node_modules/@azure/msal-common/dist/account/AccountInfo.d.ts.map +1 -0
  225. package/node_modules/@azure/msal-common/dist/account/AuthToken.d.ts +21 -0
  226. package/node_modules/@azure/msal-common/dist/account/AuthToken.d.ts.map +1 -0
  227. package/node_modules/@azure/msal-common/dist/account/AuthToken.js +56 -0
  228. package/node_modules/@azure/msal-common/dist/account/AuthToken.js.map +1 -0
  229. package/node_modules/@azure/msal-common/dist/account/CcsCredential.d.ts +9 -0
  230. package/node_modules/@azure/msal-common/dist/account/CcsCredential.d.ts.map +1 -0
  231. package/node_modules/@azure/msal-common/dist/account/CcsCredential.js +14 -0
  232. package/node_modules/@azure/msal-common/dist/account/CcsCredential.js.map +1 -0
  233. package/node_modules/@azure/msal-common/dist/account/ClientCredentials.d.ts +15 -0
  234. package/node_modules/@azure/msal-common/dist/account/ClientCredentials.d.ts.map +1 -0
  235. package/node_modules/@azure/msal-common/dist/account/ClientInfo.d.ts +20 -0
  236. package/node_modules/@azure/msal-common/dist/account/ClientInfo.d.ts.map +1 -0
  237. package/node_modules/@azure/msal-common/dist/account/ClientInfo.js +46 -0
  238. package/node_modules/@azure/msal-common/dist/account/ClientInfo.js.map +1 -0
  239. package/node_modules/@azure/msal-common/dist/account/DecodedAuthToken.d.ts +9 -0
  240. package/node_modules/@azure/msal-common/dist/account/DecodedAuthToken.d.ts.map +1 -0
  241. package/node_modules/@azure/msal-common/dist/account/TokenClaims.d.ts +66 -0
  242. package/node_modules/@azure/msal-common/dist/account/TokenClaims.d.ts.map +1 -0
  243. package/node_modules/@azure/msal-common/dist/authority/Authority.d.ts +216 -0
  244. package/node_modules/@azure/msal-common/dist/authority/Authority.d.ts.map +1 -0
  245. package/node_modules/@azure/msal-common/dist/authority/Authority.js +688 -0
  246. package/node_modules/@azure/msal-common/dist/authority/Authority.js.map +1 -0
  247. package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.d.ts +31 -0
  248. package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.d.ts.map +1 -0
  249. package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.js +58 -0
  250. package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.js.map +1 -0
  251. package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.d.ts +623 -0
  252. package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.d.ts.map +1 -0
  253. package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.js +881 -0
  254. package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.js.map +1 -0
  255. package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.d.ts +19 -0
  256. package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.d.ts.map +1 -0
  257. package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.js +24 -0
  258. package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.js.map +1 -0
  259. package/node_modules/@azure/msal-common/dist/authority/AuthorityType.d.ts +10 -0
  260. package/node_modules/@azure/msal-common/dist/authority/AuthorityType.d.ts.map +1 -0
  261. package/node_modules/@azure/msal-common/dist/authority/AuthorityType.js +19 -0
  262. package/node_modules/@azure/msal-common/dist/authority/AuthorityType.js.map +1 -0
  263. package/node_modules/@azure/msal-common/dist/authority/AzureRegion.d.ts +2 -0
  264. package/node_modules/@azure/msal-common/dist/authority/AzureRegion.d.ts.map +1 -0
  265. package/node_modules/@azure/msal-common/dist/authority/AzureRegionConfiguration.d.ts +6 -0
  266. package/node_modules/@azure/msal-common/dist/authority/AzureRegionConfiguration.d.ts.map +1 -0
  267. package/node_modules/@azure/msal-common/dist/authority/CloudDiscoveryMetadata.d.ts +6 -0
  268. package/node_modules/@azure/msal-common/dist/authority/CloudDiscoveryMetadata.d.ts.map +1 -0
  269. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts +14 -0
  270. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts.map +1 -0
  271. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.js +13 -0
  272. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.js.map +1 -0
  273. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.d.ts +10 -0
  274. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.d.ts.map +1 -0
  275. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.js +13 -0
  276. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.js.map +1 -0
  277. package/node_modules/@azure/msal-common/dist/authority/ImdsOptions.d.ts +6 -0
  278. package/node_modules/@azure/msal-common/dist/authority/ImdsOptions.d.ts.map +1 -0
  279. package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.d.ts +12 -0
  280. package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.d.ts.map +1 -0
  281. package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.js +15 -0
  282. package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.js.map +1 -0
  283. package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.d.ts +8 -0
  284. package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.d.ts.map +1 -0
  285. package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.js +17 -0
  286. package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.js.map +1 -0
  287. package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.d.ts +31 -0
  288. package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.d.ts.map +1 -0
  289. package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.js +116 -0
  290. package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.js.map +1 -0
  291. package/node_modules/@azure/msal-common/dist/authority/RegionDiscoveryMetadata.d.ts +7 -0
  292. package/node_modules/@azure/msal-common/dist/authority/RegionDiscoveryMetadata.d.ts.map +1 -0
  293. package/node_modules/@azure/msal-common/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts +16 -0
  294. package/node_modules/@azure/msal-common/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +1 -0
  295. package/node_modules/@azure/msal-common/dist/cache/CacheManager.d.ts +444 -0
  296. package/node_modules/@azure/msal-common/dist/cache/CacheManager.d.ts.map +1 -0
  297. package/node_modules/@azure/msal-common/dist/cache/CacheManager.js +1024 -0
  298. package/node_modules/@azure/msal-common/dist/cache/CacheManager.js.map +1 -0
  299. package/node_modules/@azure/msal-common/dist/cache/entities/AccessTokenEntity.d.ts +57 -0
  300. package/node_modules/@azure/msal-common/dist/cache/entities/AccessTokenEntity.d.ts.map +1 -0
  301. package/node_modules/@azure/msal-common/dist/cache/entities/AccessTokenEntity.js +123 -0
  302. package/node_modules/@azure/msal-common/dist/cache/entities/AccessTokenEntity.js.map +1 -0
  303. package/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.d.ts +100 -0
  304. package/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.d.ts.map +1 -0
  305. package/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.js +259 -0
  306. package/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.js.map +1 -0
  307. package/node_modules/@azure/msal-common/dist/cache/entities/AppMetadataEntity.d.ts +40 -0
  308. package/node_modules/@azure/msal-common/dist/cache/entities/AppMetadataEntity.d.ts.map +1 -0
  309. package/node_modules/@azure/msal-common/dist/cache/entities/AppMetadataEntity.js +73 -0
  310. package/node_modules/@azure/msal-common/dist/cache/entities/AppMetadataEntity.js.map +1 -0
  311. package/node_modules/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.d.ts +48 -0
  312. package/node_modules/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.d.ts.map +1 -0
  313. package/node_modules/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.js +85 -0
  314. package/node_modules/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.js.map +1 -0
  315. package/node_modules/@azure/msal-common/dist/cache/entities/CacheRecord.d.ts +14 -0
  316. package/node_modules/@azure/msal-common/dist/cache/entities/CacheRecord.d.ts.map +1 -0
  317. package/node_modules/@azure/msal-common/dist/cache/entities/CacheRecord.js +18 -0
  318. package/node_modules/@azure/msal-common/dist/cache/entities/CacheRecord.js.map +1 -0
  319. package/node_modules/@azure/msal-common/dist/cache/entities/CredentialEntity.d.ts +89 -0
  320. package/node_modules/@azure/msal-common/dist/cache/entities/CredentialEntity.d.ts.map +1 -0
  321. package/node_modules/@azure/msal-common/dist/cache/entities/CredentialEntity.js +144 -0
  322. package/node_modules/@azure/msal-common/dist/cache/entities/CredentialEntity.js.map +1 -0
  323. package/node_modules/@azure/msal-common/dist/cache/entities/IdTokenEntity.d.ts +35 -0
  324. package/node_modules/@azure/msal-common/dist/cache/entities/IdTokenEntity.d.ts.map +1 -0
  325. package/node_modules/@azure/msal-common/dist/cache/entities/IdTokenEntity.js +64 -0
  326. package/node_modules/@azure/msal-common/dist/cache/entities/IdTokenEntity.js.map +1 -0
  327. package/node_modules/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.d.ts +37 -0
  328. package/node_modules/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.d.ts.map +1 -0
  329. package/node_modules/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.js +67 -0
  330. package/node_modules/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.js.map +1 -0
  331. package/node_modules/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.d.ts +13 -0
  332. package/node_modules/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.d.ts.map +1 -0
  333. package/node_modules/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.js +34 -0
  334. package/node_modules/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.js.map +1 -0
  335. package/node_modules/@azure/msal-common/dist/cache/entities/ThrottlingEntity.d.ts +14 -0
  336. package/node_modules/@azure/msal-common/dist/cache/entities/ThrottlingEntity.d.ts.map +1 -0
  337. package/node_modules/@azure/msal-common/dist/cache/entities/ThrottlingEntity.js +30 -0
  338. package/node_modules/@azure/msal-common/dist/cache/entities/ThrottlingEntity.js.map +1 -0
  339. package/node_modules/@azure/msal-common/dist/cache/interface/ICacheManager.d.ts +166 -0
  340. package/node_modules/@azure/msal-common/dist/cache/interface/ICacheManager.d.ts.map +1 -0
  341. package/node_modules/@azure/msal-common/dist/cache/interface/ICachePlugin.d.ts +6 -0
  342. package/node_modules/@azure/msal-common/dist/cache/interface/ICachePlugin.d.ts.map +1 -0
  343. package/node_modules/@azure/msal-common/dist/cache/interface/ISerializableTokenCache.d.ts +5 -0
  344. package/node_modules/@azure/msal-common/dist/cache/interface/ISerializableTokenCache.d.ts.map +1 -0
  345. package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.d.ts +24 -0
  346. package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.d.ts.map +1 -0
  347. package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.js +30 -0
  348. package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.js.map +1 -0
  349. package/node_modules/@azure/msal-common/dist/cache/utils/CacheTypes.d.ts +63 -0
  350. package/node_modules/@azure/msal-common/dist/cache/utils/CacheTypes.d.ts.map +1 -0
  351. package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.d.ts +72 -0
  352. package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.d.ts.map +1 -0
  353. package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.js +453 -0
  354. package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.js.map +1 -0
  355. package/node_modules/@azure/msal-common/dist/client/BaseClient.d.ts +51 -0
  356. package/node_modules/@azure/msal-common/dist/client/BaseClient.d.ts.map +1 -0
  357. package/node_modules/@azure/msal-common/dist/client/BaseClient.js +107 -0
  358. package/node_modules/@azure/msal-common/dist/client/BaseClient.js.map +1 -0
  359. package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.d.ts +35 -0
  360. package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.d.ts.map +1 -0
  361. package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.js +260 -0
  362. package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.js.map +1 -0
  363. package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.d.ts +25 -0
  364. package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.d.ts.map +1 -0
  365. package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.js +108 -0
  366. package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.js.map +1 -0
  367. package/node_modules/@azure/msal-common/dist/config/AppTokenProvider.d.ts +39 -0
  368. package/node_modules/@azure/msal-common/dist/config/AppTokenProvider.d.ts.map +1 -0
  369. package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.d.ts +134 -0
  370. package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.d.ts.map +1 -0
  371. package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.js +101 -0
  372. package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.js.map +1 -0
  373. package/node_modules/@azure/msal-common/dist/crypto/ICrypto.d.ts +63 -0
  374. package/node_modules/@azure/msal-common/dist/crypto/ICrypto.d.ts.map +1 -0
  375. package/node_modules/@azure/msal-common/dist/crypto/ICrypto.js +49 -0
  376. package/node_modules/@azure/msal-common/dist/crypto/ICrypto.js.map +1 -0
  377. package/node_modules/@azure/msal-common/dist/crypto/IGuidGenerator.d.ts +5 -0
  378. package/node_modules/@azure/msal-common/dist/crypto/IGuidGenerator.d.ts.map +1 -0
  379. package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.d.ts +22 -0
  380. package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.d.ts.map +1 -0
  381. package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.js +44 -0
  382. package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.js.map +1 -0
  383. package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.d.ts +58 -0
  384. package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.d.ts.map +1 -0
  385. package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.js +92 -0
  386. package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.js.map +1 -0
  387. package/node_modules/@azure/msal-common/dist/crypto/SignedHttpRequest.d.ts +12 -0
  388. package/node_modules/@azure/msal-common/dist/crypto/SignedHttpRequest.d.ts.map +1 -0
  389. package/node_modules/@azure/msal-common/dist/error/AuthError.d.ts +48 -0
  390. package/node_modules/@azure/msal-common/dist/error/AuthError.d.ts.map +1 -0
  391. package/node_modules/@azure/msal-common/dist/error/AuthError.js +58 -0
  392. package/node_modules/@azure/msal-common/dist/error/AuthError.js.map +1 -0
  393. package/node_modules/@azure/msal-common/dist/error/ClientAuthError.d.ts +413 -0
  394. package/node_modules/@azure/msal-common/dist/error/ClientAuthError.d.ts.map +1 -0
  395. package/node_modules/@azure/msal-common/dist/error/ClientAuthError.js +526 -0
  396. package/node_modules/@azure/msal-common/dist/error/ClientAuthError.js.map +1 -0
  397. package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.d.ts +199 -0
  398. package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.d.ts.map +1 -0
  399. package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.js +256 -0
  400. package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.js.map +1 -0
  401. package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.d.ts +60 -0
  402. package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.d.ts.map +1 -0
  403. package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.js +86 -0
  404. package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.js.map +1 -0
  405. package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.d.ts +29 -0
  406. package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.d.ts.map +1 -0
  407. package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.js +46 -0
  408. package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.js.map +1 -0
  409. package/node_modules/@azure/msal-common/dist/error/ServerError.d.ts +8 -0
  410. package/node_modules/@azure/msal-common/dist/error/ServerError.d.ts.map +1 -0
  411. package/node_modules/@azure/msal-common/dist/error/ServerError.js +21 -0
  412. package/node_modules/@azure/msal-common/dist/error/ServerError.js.map +1 -0
  413. package/node_modules/@azure/msal-common/dist/index.cjs.js +8975 -0
  414. package/node_modules/@azure/msal-common/dist/index.cjs.js.map +1 -0
  415. package/node_modules/@azure/msal-common/dist/index.d.ts +94 -0
  416. package/node_modules/@azure/msal-common/dist/index.d.ts.map +1 -0
  417. package/node_modules/@azure/msal-common/dist/index.js +54 -0
  418. package/node_modules/@azure/msal-common/dist/index.js.map +1 -0
  419. package/node_modules/@azure/msal-common/dist/logger/Logger.d.ts +96 -0
  420. package/node_modules/@azure/msal-common/dist/logger/Logger.d.ts.map +1 -0
  421. package/node_modules/@azure/msal-common/dist/logger/Logger.js +205 -0
  422. package/node_modules/@azure/msal-common/dist/logger/Logger.js.map +1 -0
  423. package/node_modules/@azure/msal-common/dist/network/INetworkModule.d.ts +30 -0
  424. package/node_modules/@azure/msal-common/dist/network/INetworkModule.d.ts.map +1 -0
  425. package/node_modules/@azure/msal-common/dist/network/INetworkModule.js +21 -0
  426. package/node_modules/@azure/msal-common/dist/network/INetworkModule.js.map +1 -0
  427. package/node_modules/@azure/msal-common/dist/network/NetworkManager.d.ts +33 -0
  428. package/node_modules/@azure/msal-common/dist/network/NetworkManager.d.ts.map +1 -0
  429. package/node_modules/@azure/msal-common/dist/network/NetworkManager.js +42 -0
  430. package/node_modules/@azure/msal-common/dist/network/NetworkManager.js.map +1 -0
  431. package/node_modules/@azure/msal-common/dist/network/RequestThumbprint.d.ts +17 -0
  432. package/node_modules/@azure/msal-common/dist/network/RequestThumbprint.d.ts.map +1 -0
  433. package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.d.ts +42 -0
  434. package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.d.ts.map +1 -0
  435. package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.js +102 -0
  436. package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.js.map +1 -0
  437. package/node_modules/@azure/msal-common/dist/packageMetadata.d.ts +3 -0
  438. package/node_modules/@azure/msal-common/dist/packageMetadata.d.ts.map +1 -0
  439. package/node_modules/@azure/msal-common/dist/packageMetadata.js +8 -0
  440. package/node_modules/@azure/msal-common/dist/packageMetadata.js.map +1 -0
  441. package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.d.ts +20 -0
  442. package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.d.ts.map +1 -0
  443. package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.js +63 -0
  444. package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.js.map +1 -0
  445. package/node_modules/@azure/msal-common/dist/request/BaseAuthRequest.d.ts +38 -0
  446. package/node_modules/@azure/msal-common/dist/request/BaseAuthRequest.d.ts.map +1 -0
  447. package/node_modules/@azure/msal-common/dist/request/CommonAuthorizationCodeRequest.d.ts +28 -0
  448. package/node_modules/@azure/msal-common/dist/request/CommonAuthorizationCodeRequest.d.ts.map +1 -0
  449. package/node_modules/@azure/msal-common/dist/request/CommonAuthorizationUrlRequest.d.ts +51 -0
  450. package/node_modules/@azure/msal-common/dist/request/CommonAuthorizationUrlRequest.d.ts.map +1 -0
  451. package/node_modules/@azure/msal-common/dist/request/CommonClientCredentialRequest.d.ts +18 -0
  452. package/node_modules/@azure/msal-common/dist/request/CommonClientCredentialRequest.d.ts.map +1 -0
  453. package/node_modules/@azure/msal-common/dist/request/CommonDeviceCodeRequest.d.ts +22 -0
  454. package/node_modules/@azure/msal-common/dist/request/CommonDeviceCodeRequest.d.ts.map +1 -0
  455. package/node_modules/@azure/msal-common/dist/request/CommonEndSessionRequest.d.ts +22 -0
  456. package/node_modules/@azure/msal-common/dist/request/CommonEndSessionRequest.d.ts.map +1 -0
  457. package/node_modules/@azure/msal-common/dist/request/CommonOnBehalfOfRequest.d.ts +14 -0
  458. package/node_modules/@azure/msal-common/dist/request/CommonOnBehalfOfRequest.d.ts.map +1 -0
  459. package/node_modules/@azure/msal-common/dist/request/CommonRefreshTokenRequest.d.ts +20 -0
  460. package/node_modules/@azure/msal-common/dist/request/CommonRefreshTokenRequest.d.ts.map +1 -0
  461. package/node_modules/@azure/msal-common/dist/request/CommonSilentFlowRequest.d.ts +19 -0
  462. package/node_modules/@azure/msal-common/dist/request/CommonSilentFlowRequest.d.ts.map +1 -0
  463. package/node_modules/@azure/msal-common/dist/request/CommonUsernamePasswordRequest.d.ts +18 -0
  464. package/node_modules/@azure/msal-common/dist/request/CommonUsernamePasswordRequest.d.ts.map +1 -0
  465. package/node_modules/@azure/msal-common/dist/request/NativeRequest.d.ts +20 -0
  466. package/node_modules/@azure/msal-common/dist/request/NativeRequest.d.ts.map +1 -0
  467. package/node_modules/@azure/msal-common/dist/request/NativeSignOutRequest.d.ts +6 -0
  468. package/node_modules/@azure/msal-common/dist/request/NativeSignOutRequest.d.ts.map +1 -0
  469. package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.d.ts +217 -0
  470. package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.d.ts.map +1 -0
  471. package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.js +385 -0
  472. package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.js.map +1 -0
  473. package/node_modules/@azure/msal-common/dist/request/RequestValidator.d.ts +34 -0
  474. package/node_modules/@azure/msal-common/dist/request/RequestValidator.d.ts.map +1 -0
  475. package/node_modules/@azure/msal-common/dist/request/RequestValidator.js +92 -0
  476. package/node_modules/@azure/msal-common/dist/request/RequestValidator.js.map +1 -0
  477. package/node_modules/@azure/msal-common/dist/request/ScopeSet.d.ts +89 -0
  478. package/node_modules/@azure/msal-common/dist/request/ScopeSet.d.ts.map +1 -0
  479. package/node_modules/@azure/msal-common/dist/request/ScopeSet.js +207 -0
  480. package/node_modules/@azure/msal-common/dist/request/ScopeSet.js.map +1 -0
  481. package/node_modules/@azure/msal-common/dist/response/AuthenticationResult.d.ts +40 -0
  482. package/node_modules/@azure/msal-common/dist/response/AuthenticationResult.d.ts.map +1 -0
  483. package/node_modules/@azure/msal-common/dist/response/AuthorizationCodePayload.d.ts +14 -0
  484. package/node_modules/@azure/msal-common/dist/response/AuthorizationCodePayload.d.ts.map +1 -0
  485. package/node_modules/@azure/msal-common/dist/response/DeviceCodeResponse.d.ts +26 -0
  486. package/node_modules/@azure/msal-common/dist/response/DeviceCodeResponse.d.ts.map +1 -0
  487. package/node_modules/@azure/msal-common/dist/response/ExternalTokenResponse.d.ts +16 -0
  488. package/node_modules/@azure/msal-common/dist/response/ExternalTokenResponse.d.ts.map +1 -0
  489. package/node_modules/@azure/msal-common/dist/response/IMDSBadResponse.d.ts +5 -0
  490. package/node_modules/@azure/msal-common/dist/response/IMDSBadResponse.d.ts.map +1 -0
  491. package/node_modules/@azure/msal-common/dist/response/ResponseHandler.d.ts +73 -0
  492. package/node_modules/@azure/msal-common/dist/response/ResponseHandler.d.ts.map +1 -0
  493. package/node_modules/@azure/msal-common/dist/response/ResponseHandler.js +325 -0
  494. package/node_modules/@azure/msal-common/dist/response/ResponseHandler.js.map +1 -0
  495. package/node_modules/@azure/msal-common/dist/response/ServerAuthorizationCodeResponse.d.ts +26 -0
  496. package/node_modules/@azure/msal-common/dist/response/ServerAuthorizationCodeResponse.d.ts.map +1 -0
  497. package/node_modules/@azure/msal-common/dist/response/ServerAuthorizationTokenResponse.d.ts +45 -0
  498. package/node_modules/@azure/msal-common/dist/response/ServerAuthorizationTokenResponse.d.ts.map +1 -0
  499. package/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceClient.d.ts +43 -0
  500. package/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceClient.d.ts.map +1 -0
  501. package/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceMeasurement.d.ts +6 -0
  502. package/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceMeasurement.d.ts.map +1 -0
  503. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.d.ts +190 -0
  504. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.d.ts.map +1 -0
  505. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.js +413 -0
  506. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.js.map +1 -0
  507. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.d.ts +440 -0
  508. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.d.ts.map +1 -0
  509. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.js +232 -0
  510. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.js.map +1 -0
  511. package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.d.ts +20 -0
  512. package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.d.ts.map +1 -0
  513. package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.js +43 -0
  514. package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.js.map +1 -0
  515. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.d.ts +66 -0
  516. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.d.ts.map +1 -0
  517. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.js +206 -0
  518. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.js.map +1 -0
  519. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryRequest.d.ts +9 -0
  520. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryRequest.d.ts.map +1 -0
  521. package/node_modules/@azure/msal-common/dist/url/IUri.d.ts +13 -0
  522. package/node_modules/@azure/msal-common/dist/url/IUri.d.ts.map +1 -0
  523. package/node_modules/@azure/msal-common/dist/url/UrlString.d.ts +71 -0
  524. package/node_modules/@azure/msal-common/dist/url/UrlString.d.ts.map +1 -0
  525. package/node_modules/@azure/msal-common/dist/url/UrlString.js +252 -0
  526. package/node_modules/@azure/msal-common/dist/url/UrlString.js.map +1 -0
  527. package/node_modules/@azure/msal-common/dist/utils/Constants.d.ts +332 -0
  528. package/node_modules/@azure/msal-common/dist/utils/Constants.d.ts.map +1 -0
  529. package/node_modules/@azure/msal-common/dist/utils/Constants.js +378 -0
  530. package/node_modules/@azure/msal-common/dist/utils/Constants.js.map +1 -0
  531. package/node_modules/@azure/msal-common/dist/utils/MsalTypes.d.ts +7 -0
  532. package/node_modules/@azure/msal-common/dist/utils/MsalTypes.d.ts.map +1 -0
  533. package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.d.ts +43 -0
  534. package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.d.ts.map +1 -0
  535. package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.js +80 -0
  536. package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.js.map +1 -0
  537. package/node_modules/@azure/msal-common/dist/utils/StringUtils.d.ts +54 -0
  538. package/node_modules/@azure/msal-common/dist/utils/StringUtils.d.ts.map +1 -0
  539. package/node_modules/@azure/msal-common/dist/utils/StringUtils.js +131 -0
  540. package/node_modules/@azure/msal-common/dist/utils/StringUtils.js.map +1 -0
  541. package/node_modules/@azure/msal-common/dist/utils/TimeUtils.d.ts +28 -0
  542. package/node_modules/@azure/msal-common/dist/utils/TimeUtils.d.ts.map +1 -0
  543. package/node_modules/@azure/msal-common/dist/utils/TimeUtils.js +50 -0
  544. package/node_modules/@azure/msal-common/dist/utils/TimeUtils.js.map +1 -0
  545. package/node_modules/@azure/msal-common/package.json +79 -0
  546. package/package.json +22 -18
  547. package/dist/_virtual/_tslib.js +0 -117
  548. package/dist/_virtual/_tslib.js.map +0 -1
  549. package/dist/app/ClientApplication.d.ts.map +0 -1
  550. package/dist/app/ClientApplication.js +0 -1053
  551. package/dist/app/ClientApplication.js.map +0 -1
  552. package/dist/index.cjs.js +0 -18080
  553. package/dist/index.cjs.js.map +0 -1
  554. package/lib/msal-browser.js +0 -18086
  555. package/lib/msal-browser.js.map +0 -1
  556. package/lib/msal-browser.min.js +0 -70
@@ -1,14 +1,8 @@
1
- /*! @azure/msal-browser v2.37.0 2023-05-01 */
1
+ /*! @azure/msal-browser v3.0.0-alpha.0 2023-05-03 */
2
2
  'use strict';
3
- import { __extends, __awaiter, __generator, __assign } from '../_virtual/_tslib.js';
4
- import { PerformanceEvents, Constants, ServerError, InteractionRequiredAuthError } from '@azure/msal-common';
5
- import { DEFAULT_REQUEST, InteractionType, CacheLookupPolicy, ApiId, BrowserConstants } from '../utils/BrowserConstants.js';
6
- import { ClientApplication } from './ClientApplication.js';
7
- import { EventType } from '../event/EventType.js';
8
- import { BrowserAuthError } from '../error/BrowserAuthError.js';
9
- import { NativeAuthError } from '../error/NativeAuthError.js';
10
- import { NativeMessageHandler } from '../broker/nativeBroker/NativeMessageHandler.js';
11
- import { BrowserUtils } from '../utils/BrowserUtils.js';
3
+ import { ControllerFactory } from '../controllers/ControllerFactory.js';
4
+ import { StandardController } from '../controllers/StandardController.js';
5
+ import { StandardOperatingContext } from '../operatingcontext/StandardOperatingContext.js';
12
6
 
13
7
  /*
14
8
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -18,8 +12,13 @@ import { BrowserUtils } from '../utils/BrowserUtils.js';
18
12
  * The PublicClientApplication class is the object exposed by the library to perform authentication and authorization functions in Single Page Applications
19
13
  * to obtain JWT tokens as described in the OAuth 2.0 Authorization Code Flow with PKCE specification.
20
14
  */
21
- var PublicClientApplication = /** @class */ (function (_super) {
22
- __extends(PublicClientApplication, _super);
15
+ class PublicClientApplication {
16
+ static async createPublicClientApplication(configuration) {
17
+ const factory = new ControllerFactory(configuration);
18
+ const controller = await factory.createController();
19
+ const pca = new PublicClientApplication(configuration, controller);
20
+ return pca;
21
+ }
23
22
  /**
24
23
  * @constructor
25
24
  * Constructor for the PublicClientApplication used to instantiate the PublicClientApplication object
@@ -39,35 +38,162 @@ var PublicClientApplication = /** @class */ (function (_super) {
39
38
  * In Azure B2C, authority is of the form https://{instance}/tfp/{tenant}/{policyName}/
40
39
  * Full B2C functionality will be available in this library in future versions.
41
40
  *
42
- * @param configuration object for the MSAL PublicClientApplication instance
41
+ * @param configuration Object for the MSAL PublicClientApplication instance
42
+ * @param IController Optional parameter to explictly set the controller. (Will be removed when we remove public constructor)
43
43
  */
44
- function PublicClientApplication(configuration) {
45
- var _this = _super.call(this, configuration) || this;
46
- _this.astsAsyncMeasurement = undefined;
47
- _this.activeSilentTokenRequests = new Map();
48
- // Register listener functions
49
- _this.trackPageVisibility = _this.trackPageVisibility.bind(_this);
50
- return _this;
44
+ constructor(configuration, controller) {
45
+ if (controller) {
46
+ this.controller = controller;
47
+ }
48
+ else {
49
+ const standardOperatingContext = new StandardOperatingContext(configuration);
50
+ this.controller = new StandardController(standardOperatingContext);
51
+ }
51
52
  }
52
53
  /**
53
- * Use when initiating the login process by redirecting the user's browser to the authorization endpoint. This function redirects the page, so
54
- * any code that follows this function will not execute.
54
+ * Initializer function to perform async startup tasks such as connecting to WAM extension
55
+ */
56
+ async initialize() {
57
+ return this.controller.initialize();
58
+ }
59
+ /**
60
+ * Use when you want to obtain an access_token for your API via opening a popup window in the user's browser
61
+ *
62
+ * @param request
63
+ *
64
+ * @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
65
+ */
66
+ async acquireTokenPopup(request) {
67
+ return this.controller.acquireTokenPopup(request);
68
+ }
69
+ /**
70
+ * Use when you want to obtain an access_token for your API by redirecting the user's browser window to the authorization endpoint. This function redirects
71
+ * the page, so any code that follows this function will not execute.
55
72
  *
56
73
  * IMPORTANT: It is NOT recommended to have code that is dependent on the resolution of the Promise. This function will navigate away from the current
57
74
  * browser window. It currently returns a Promise in order to reflect the asynchronous nature of the code running in this function.
58
75
  *
59
76
  * @param request
60
77
  */
61
- PublicClientApplication.prototype.loginRedirect = function (request) {
62
- return __awaiter(this, void 0, void 0, function () {
63
- var correlationId;
64
- return __generator(this, function (_a) {
65
- correlationId = this.getRequestCorrelationId(request);
66
- this.logger.verbose("loginRedirect called", correlationId);
67
- return [2 /*return*/, this.acquireTokenRedirect(__assign({ correlationId: correlationId }, (request || DEFAULT_REQUEST)))];
68
- });
69
- });
70
- };
78
+ acquireTokenRedirect(request) {
79
+ return this.controller.acquireTokenRedirect(request);
80
+ }
81
+ /**
82
+ * Silently acquire an access token for a given set of scopes. Returns currently processing promise if parallel requests are made.
83
+ *
84
+ * @param {@link (SilentRequest:type)}
85
+ * @returns {Promise.<AuthenticationResult>} - a promise that is fulfilled when this function has completed, or rejected if an error was raised. Returns the {@link AuthResponse} object
86
+ */
87
+ acquireTokenSilent(silentRequest) {
88
+ return this.controller.acquireTokenSilent(silentRequest);
89
+ }
90
+ /**
91
+ * This function redeems an authorization code (passed as code) from the eSTS token endpoint.
92
+ * This authorization code should be acquired server-side using a confidential client to acquire a spa_code.
93
+ * This API is not indended for normal authorization code acquisition and redemption.
94
+ *
95
+ * Redemption of this authorization code will not require PKCE, as it was acquired by a confidential client.
96
+ *
97
+ * @param request {@link AuthorizationCodeRequest}
98
+ * @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
99
+ */
100
+ acquireTokenByCode(request) {
101
+ return this.controller.acquireTokenByCode(request);
102
+ }
103
+ /**
104
+ * Adds event callbacks to array
105
+ * @param callback
106
+ */
107
+ addEventCallback(callback) {
108
+ return this.controller.addEventCallback(callback);
109
+ }
110
+ /**
111
+ * Removes callback with provided id from callback array
112
+ * @param callbackId
113
+ */
114
+ removeEventCallback(callbackId) {
115
+ return this.controller.removeEventCallback(callbackId);
116
+ }
117
+ /**
118
+ * Registers a callback to receive performance events.
119
+ *
120
+ * @param {PerformanceCallbackFunction} callback
121
+ * @returns {string}
122
+ */
123
+ addPerformanceCallback(callback) {
124
+ return this.controller.addPerformanceCallback(callback);
125
+ }
126
+ /**
127
+ * Removes a callback registered with addPerformanceCallback.
128
+ *
129
+ * @param {string} callbackId
130
+ * @returns {boolean}
131
+ */
132
+ removePerformanceCallback(callbackId) {
133
+ return this.controller.removePerformanceCallback(callbackId);
134
+ }
135
+ /**
136
+ * Adds event listener that emits an event when a user account is added or removed from localstorage in a different browser tab or window
137
+ */
138
+ enableAccountStorageEvents() {
139
+ this.controller.enableAccountStorageEvents();
140
+ }
141
+ /**
142
+ * Removes event listener that emits an event when a user account is added or removed from localstorage in a different browser tab or window
143
+ */
144
+ disableAccountStorageEvents() {
145
+ this.controller.disableAccountStorageEvents();
146
+ }
147
+ /**
148
+ * Returns the signed in account matching homeAccountId.
149
+ * (the account object is created at the time of successful login)
150
+ * or null when no matching account is found
151
+ * @param homeAccountId
152
+ * @returns The account object stored in MSAL
153
+ */
154
+ getAccountByHomeId(homeAccountId) {
155
+ return this.controller.getAccountByHomeId(homeAccountId);
156
+ }
157
+ /**
158
+ * Returns the signed in account matching localAccountId.
159
+ * (the account object is created at the time of successful login)
160
+ * or null when no matching account is found
161
+ * @param localAccountId
162
+ * @returns The account object stored in MSAL
163
+ */
164
+ getAccountByLocalId(localId) {
165
+ return this.controller.getAccountByLocalId(localId);
166
+ }
167
+ /**
168
+ * Returns the signed in account matching username.
169
+ * (the account object is created at the time of successful login)
170
+ * or null when no matching account is found.
171
+ * This API is provided for convenience but getAccountById should be used for best reliability
172
+ * @param userName
173
+ * @returns The account object stored in MSAL
174
+ */
175
+ getAccountByUsername(userName) {
176
+ return this.controller.getAccountByUsername(userName);
177
+ }
178
+ /**
179
+ * Returns all accounts that MSAL currently has data for.
180
+ * (the account object is created at the time of successful login)
181
+ * or empty array when no accounts are found
182
+ * @returns Array of account objects in cache
183
+ */
184
+ getAllAccounts() {
185
+ return this.controller.getAllAccounts();
186
+ }
187
+ /**
188
+ * Event handler function which allows users to fire events after the PublicClientApplication object
189
+ * has loaded during redirect flows. This should be invoked on all page loads involved in redirect
190
+ * auth flows.
191
+ * @param hash Hash to process. Defaults to the current value of window.location.hash. Only needs to be provided explicitly if the response to be handled is not contained in the current value.
192
+ * @returns Token response or null. If the return value is null, then no auth redirect was detected.
193
+ */
194
+ handleRedirectPromise(hash) {
195
+ return this.controller.handleRedirectPromise(hash);
196
+ }
71
197
  /**
72
198
  * Use when initiating the login process via opening a popup window in the user's browser
73
199
  *
@@ -75,199 +201,116 @@ var PublicClientApplication = /** @class */ (function (_super) {
75
201
  *
76
202
  * @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
77
203
  */
78
- PublicClientApplication.prototype.loginPopup = function (request) {
79
- var correlationId = this.getRequestCorrelationId(request);
80
- this.logger.verbose("loginPopup called", correlationId);
81
- return this.acquireTokenPopup(__assign({ correlationId: correlationId }, (request || DEFAULT_REQUEST)));
82
- };
204
+ loginPopup(request) {
205
+ return this.controller.loginPopup(request);
206
+ }
83
207
  /**
84
- * Silently acquire an access token for a given set of scopes. Returns currently processing promise if parallel requests are made.
208
+ * Use when initiating the login process by redirecting the user's browser to the authorization endpoint. This function redirects the page, so
209
+ * any code that follows this function will not execute.
85
210
  *
86
- * @param {@link (SilentRequest:type)}
87
- * @returns {Promise.<AuthenticationResult>} - a promise that is fulfilled when this function has completed, or rejected if an error was raised. Returns the {@link AuthResponse} object
211
+ * IMPORTANT: It is NOT recommended to have code that is dependent on the resolution of the Promise. This function will navigate away from the current
212
+ * browser window. It currently returns a Promise in order to reflect the asynchronous nature of the code running in this function.
213
+ *
214
+ * @param request
88
215
  */
89
- PublicClientApplication.prototype.acquireTokenSilent = function (request) {
90
- return __awaiter(this, void 0, void 0, function () {
91
- var correlationId, atsMeasurement, account, thumbprint, silentRequestKey, cachedResponse, response;
92
- var _this = this;
93
- return __generator(this, function (_a) {
94
- correlationId = this.getRequestCorrelationId(request);
95
- atsMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenSilent, correlationId);
96
- atsMeasurement.addStaticFields({
97
- cacheLookupPolicy: request.cacheLookupPolicy
98
- });
99
- this.preflightBrowserEnvironmentCheck(InteractionType.Silent);
100
- this.logger.verbose("acquireTokenSilent called", correlationId);
101
- account = request.account || this.getActiveAccount();
102
- if (!account) {
103
- throw BrowserAuthError.createNoAccountError();
104
- }
105
- thumbprint = {
106
- clientId: this.config.auth.clientId,
107
- authority: request.authority || Constants.EMPTY_STRING,
108
- scopes: request.scopes,
109
- homeAccountIdentifier: account.homeAccountId,
110
- claims: request.claims,
111
- authenticationScheme: request.authenticationScheme,
112
- resourceRequestMethod: request.resourceRequestMethod,
113
- resourceRequestUri: request.resourceRequestUri,
114
- shrClaims: request.shrClaims,
115
- sshKid: request.sshKid
116
- };
117
- silentRequestKey = JSON.stringify(thumbprint);
118
- cachedResponse = this.activeSilentTokenRequests.get(silentRequestKey);
119
- if (typeof cachedResponse === "undefined") {
120
- this.logger.verbose("acquireTokenSilent called for the first time, storing active request", correlationId);
121
- this.performanceClient.setPreQueueTime(PerformanceEvents.AcquireTokenSilentAsync, correlationId);
122
- response = this.acquireTokenSilentAsync(__assign(__assign({}, request), { correlationId: correlationId }), account)
123
- .then(function (result) {
124
- _this.activeSilentTokenRequests.delete(silentRequestKey);
125
- atsMeasurement.addStaticFields({
126
- accessTokenSize: result.accessToken.length,
127
- idTokenSize: result.idToken.length
128
- });
129
- atsMeasurement.endMeasurement({
130
- success: true,
131
- fromCache: result.fromCache,
132
- isNativeBroker: result.fromNativeBroker,
133
- cacheLookupPolicy: request.cacheLookupPolicy,
134
- requestId: result.requestId,
135
- });
136
- return result;
137
- })
138
- .catch(function (error) {
139
- _this.activeSilentTokenRequests.delete(silentRequestKey);
140
- atsMeasurement.endMeasurement({
141
- errorCode: error.errorCode,
142
- subErrorCode: error.subError,
143
- success: false
144
- });
145
- throw error;
146
- });
147
- this.activeSilentTokenRequests.set(silentRequestKey, response);
148
- return [2 /*return*/, response];
149
- }
150
- else {
151
- this.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call", correlationId);
152
- // Discard measurements for memoized calls, as they are usually only a couple of ms and will artificially deflate metrics
153
- atsMeasurement.discardMeasurement();
154
- return [2 /*return*/, cachedResponse];
155
- }
156
- });
157
- });
158
- };
159
- PublicClientApplication.prototype.trackPageVisibility = function () {
160
- if (!this.astsAsyncMeasurement) {
161
- return;
162
- }
163
- this.logger.info("Perf: Visibility change detected");
164
- this.astsAsyncMeasurement.increment({
165
- visibilityChangeCount: 1,
166
- });
167
- };
216
+ loginRedirect(request) {
217
+ return this.controller.loginRedirect(request);
218
+ }
168
219
  /**
169
- * Silently acquire an access token for a given set of scopes. Will use cached token if available, otherwise will attempt to acquire a new token from the network via refresh token.
170
- * @param {@link (SilentRequest:type)}
171
- * @param {@link (AccountInfo:type)}
172
- * @returns {Promise.<AuthenticationResult>} - a promise that is fulfilled when this function has completed, or rejected if an error was raised. Returns the {@link AuthResponse}
220
+ * Deprecated logout function. Use logoutRedirect or logoutPopup instead
221
+ * @param logoutRequest
222
+ * @deprecated
223
+ */
224
+ logout(logoutRequest) {
225
+ return this.controller.logout(logoutRequest);
226
+ }
227
+ /**
228
+ * Use to log out the current user, and redirect the user to the postLogoutRedirectUri.
229
+ * Default behaviour is to redirect the user to `window.location.href`.
230
+ * @param logoutRequest
231
+ */
232
+ logoutRedirect(logoutRequest) {
233
+ return this.controller.logoutRedirect(logoutRequest);
234
+ }
235
+ /**
236
+ * Clears local cache for the current user then opens a popup window prompting the user to sign-out of the server
237
+ * @param logoutRequest
238
+ */
239
+ logoutPopup(logoutRequest) {
240
+ return this.controller.logoutPopup(logoutRequest);
241
+ }
242
+ /**
243
+ * This function uses a hidden iframe to fetch an authorization code from the eSTS. There are cases where this may not work:
244
+ * - Any browser using a form of Intelligent Tracking Prevention
245
+ * - If there is not an established session with the service
246
+ *
247
+ * In these cases, the request must be done inside a popup or full frame redirect.
248
+ *
249
+ * For the cases where interaction is required, you cannot send a request with prompt=none.
250
+ *
251
+ * If your refresh token has expired, you can use this function to fetch a new set of tokens silently as long as
252
+ * you session on the server still exists.
253
+ * @param request {@link SsoSilentRequest}
254
+ *
255
+ * @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
173
256
  */
174
- PublicClientApplication.prototype.acquireTokenSilentAsync = function (request, account) {
175
- var _a;
176
- return __awaiter(this, void 0, void 0, function () {
177
- var result, silentRequest, silentCacheClient, silentRequest_1, requestWithCLP_1;
178
- var _this = this;
179
- return __generator(this, function (_b) {
180
- switch (_b.label) {
181
- case 0:
182
- this.performanceClient.addQueueMeasurement(PerformanceEvents.AcquireTokenSilentAsync, request.correlationId);
183
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, InteractionType.Silent, request);
184
- this.astsAsyncMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenSilentAsync, request.correlationId);
185
- (_a = this.astsAsyncMeasurement) === null || _a === void 0 ? void 0 : _a.increment({
186
- visibilityChangeCount: 0
187
- });
188
- document.addEventListener("visibilitychange", this.trackPageVisibility);
189
- if (!(NativeMessageHandler.isNativeAvailable(this.config, this.logger, this.nativeExtensionProvider, request.authenticationScheme) && account.nativeAccountId)) return [3 /*break*/, 1];
190
- this.logger.verbose("acquireTokenSilent - attempting to acquire token from native platform");
191
- silentRequest = __assign(__assign({}, request), { account: account });
192
- result = this.acquireTokenNative(silentRequest, ApiId.acquireTokenSilent_silentFlow).catch(function (e) { return __awaiter(_this, void 0, void 0, function () {
193
- var silentIframeClient;
194
- return __generator(this, function (_a) {
195
- // If native token acquisition fails for availability reasons fallback to web flow
196
- if (e instanceof NativeAuthError && e.isFatal()) {
197
- this.logger.verbose("acquireTokenSilent - native platform unavailable, falling back to web flow");
198
- this.nativeExtensionProvider = undefined; // Prevent future requests from continuing to attempt
199
- silentIframeClient = this.createSilentIframeClient(request.correlationId);
200
- return [2 /*return*/, silentIframeClient.acquireToken(request)];
201
- }
202
- throw e;
203
- });
204
- }); });
205
- return [3 /*break*/, 3];
206
- case 1:
207
- this.logger.verbose("acquireTokenSilent - attempting to acquire token from web flow");
208
- silentCacheClient = this.createSilentCacheClient(request.correlationId);
209
- this.performanceClient.setPreQueueTime(PerformanceEvents.InitializeSilentRequest, request.correlationId);
210
- return [4 /*yield*/, silentCacheClient.initializeSilentRequest(request, account)];
211
- case 2:
212
- silentRequest_1 = _b.sent();
213
- requestWithCLP_1 = __assign(__assign({}, request), {
214
- // set the request's CacheLookupPolicy to Default if it was not optionally passed in
215
- cacheLookupPolicy: request.cacheLookupPolicy || CacheLookupPolicy.Default });
216
- this.performanceClient.setPreQueueTime(PerformanceEvents.AcquireTokenFromCache, silentRequest_1.correlationId);
217
- result = this.acquireTokenFromCache(silentCacheClient, silentRequest_1, requestWithCLP_1).catch(function (cacheError) {
218
- if (requestWithCLP_1.cacheLookupPolicy === CacheLookupPolicy.AccessToken) {
219
- throw cacheError;
220
- }
221
- // block the reload if it occurred inside a hidden iframe
222
- BrowserUtils.blockReloadInHiddenIframes();
223
- _this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_NETWORK_START, InteractionType.Silent, silentRequest_1);
224
- _this.performanceClient.setPreQueueTime(PerformanceEvents.AcquireTokenByRefreshToken, silentRequest_1.correlationId);
225
- return _this.acquireTokenByRefreshToken(silentRequest_1, requestWithCLP_1).catch(function (refreshTokenError) {
226
- var isServerError = refreshTokenError instanceof ServerError;
227
- var isInteractionRequiredError = refreshTokenError instanceof InteractionRequiredAuthError;
228
- var isInvalidGrantError = (refreshTokenError.errorCode === BrowserConstants.INVALID_GRANT_ERROR);
229
- if ((!isServerError ||
230
- !isInvalidGrantError ||
231
- isInteractionRequiredError ||
232
- requestWithCLP_1.cacheLookupPolicy === CacheLookupPolicy.AccessTokenAndRefreshToken ||
233
- requestWithCLP_1.cacheLookupPolicy === CacheLookupPolicy.RefreshToken)
234
- && (requestWithCLP_1.cacheLookupPolicy !== CacheLookupPolicy.Skip)) {
235
- throw refreshTokenError;
236
- }
237
- _this.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.", request.correlationId);
238
- _this.performanceClient.setPreQueueTime(PerformanceEvents.AcquireTokenBySilentIframe, silentRequest_1.correlationId);
239
- return _this.acquireTokenBySilentIframe(silentRequest_1);
240
- });
241
- });
242
- _b.label = 3;
243
- case 3: return [2 /*return*/, result.then(function (response) {
244
- var _a;
245
- _this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, InteractionType.Silent, response);
246
- (_a = _this.astsAsyncMeasurement) === null || _a === void 0 ? void 0 : _a.endMeasurement({
247
- success: true,
248
- fromCache: response.fromCache,
249
- isNativeBroker: response.fromNativeBroker,
250
- requestId: response.requestId
251
- });
252
- return response;
253
- }).catch(function (tokenRenewalError) {
254
- var _a;
255
- _this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Silent, null, tokenRenewalError);
256
- (_a = _this.astsAsyncMeasurement) === null || _a === void 0 ? void 0 : _a.endMeasurement({
257
- errorCode: tokenRenewalError.errorCode,
258
- subErrorCode: tokenRenewalError.subError,
259
- success: false
260
- });
261
- throw tokenRenewalError;
262
- }).finally(function () {
263
- document.removeEventListener("visibilitychange", _this.trackPageVisibility);
264
- })];
265
- }
266
- });
267
- });
268
- };
269
- return PublicClientApplication;
270
- }(ClientApplication));
257
+ ssoSilent(request) {
258
+ return this.controller.ssoSilent(request);
259
+ }
260
+ /**
261
+ * Gets the token cache for the application.
262
+ */
263
+ getTokenCache() {
264
+ return this.controller.getTokenCache();
265
+ }
266
+ /**
267
+ * Returns the logger instance
268
+ */
269
+ getLogger() {
270
+ return this.controller.getLogger();
271
+ }
272
+ /**
273
+ * Replaces the default logger set in configurations with new Logger with new configurations
274
+ * @param logger Logger instance
275
+ */
276
+ setLogger(logger) {
277
+ this.controller.setLogger(logger);
278
+ }
279
+ /**
280
+ * Sets the account to use as the active account. If no account is passed to the acquireToken APIs, then MSAL will use this active account.
281
+ * @param account
282
+ */
283
+ setActiveAccount(account) {
284
+ this.controller.setActiveAccount(account);
285
+ }
286
+ /**
287
+ * Gets the currently active account
288
+ */
289
+ getActiveAccount() {
290
+ return this.controller.getActiveAccount();
291
+ }
292
+ /**
293
+ * Called by wrapper libraries (Angular & React) to set SKU and Version passed down to telemetry, logger, etc.
294
+ * @param sku
295
+ * @param version
296
+ */
297
+ initializeWrapperLibrary(sku, version) {
298
+ return this.controller.initializeWrapperLibrary(sku, version);
299
+ }
300
+ /**
301
+ * Sets navigation client
302
+ * @param navigationClient
303
+ */
304
+ setNavigationClient(navigationClient) {
305
+ this.controller.setNavigationClient(navigationClient);
306
+ }
307
+ /**
308
+ * Returns the configuration object
309
+ */
310
+ getConfiguration() {
311
+ return this.controller.getConfiguration();
312
+ }
313
+ }
271
314
 
272
315
  export { PublicClientApplication };
273
316
  //# sourceMappingURL=PublicClientApplication.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PublicClientApplication.js","sources":["../../src/app/PublicClientApplication.ts"],"sourcesContent":["/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License.\r\n */\r\n\r\nimport { AccountInfo, AuthenticationResult, Constants, RequestThumbprint, AuthError, PerformanceEvents, ServerError, InteractionRequiredAuthError, InProgressPerformanceEvent } from \"@azure/msal-common\";\r\nimport { Configuration } from \"../config/Configuration\";\r\nimport { DEFAULT_REQUEST, InteractionType, ApiId, CacheLookupPolicy, BrowserConstants } from \"../utils/BrowserConstants\";\r\nimport { IPublicClientApplication } from \"./IPublicClientApplication\";\r\nimport { RedirectRequest } from \"../request/RedirectRequest\";\r\nimport { PopupRequest } from \"../request/PopupRequest\";\r\nimport { ClientApplication } from \"./ClientApplication\";\r\nimport { SilentRequest } from \"../request/SilentRequest\";\r\nimport { EventType } from \"../event/EventType\";\r\nimport { BrowserAuthError } from \"../error/BrowserAuthError\";\r\nimport { NativeAuthError } from \"../error/NativeAuthError\";\r\nimport { NativeMessageHandler } from \"../broker/nativeBroker/NativeMessageHandler\";\r\nimport { BrowserUtils } from \"../utils/BrowserUtils\";\r\n\r\n/**\r\n * The PublicClientApplication class is the object exposed by the library to perform authentication and authorization functions in Single Page Applications\r\n * to obtain JWT tokens as described in the OAuth 2.0 Authorization Code Flow with PKCE specification.\r\n */\r\nexport class PublicClientApplication extends ClientApplication implements IPublicClientApplication {\r\n\r\n // Active requests\r\n private activeSilentTokenRequests: Map<string, Promise<AuthenticationResult>>;\r\n private astsAsyncMeasurement?: InProgressPerformanceEvent = undefined;\r\n\r\n /**\r\n * @constructor\r\n * Constructor for the PublicClientApplication used to instantiate the PublicClientApplication object\r\n *\r\n * Important attributes in the Configuration object for auth are:\r\n * - clientID: the application ID of your application. You can obtain one by registering your application with our Application registration portal : https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredAppsPreview\r\n * - authority: the authority URL for your application.\r\n * - redirect_uri: the uri of your application registered in the portal.\r\n *\r\n * In Azure AD, authority is a URL indicating the Azure active directory that MSAL uses to obtain tokens.\r\n * It is of the form https://login.microsoftonline.com/{Enter_the_Tenant_Info_Here}\r\n * If your application supports Accounts in one organizational directory, replace \"Enter_the_Tenant_Info_Here\" value with the Tenant Id or Tenant name (for example, contoso.microsoft.com).\r\n * If your application supports Accounts in any organizational directory, replace \"Enter_the_Tenant_Info_Here\" value with organizations.\r\n * If your application supports Accounts in any organizational directory and personal Microsoft accounts, replace \"Enter_the_Tenant_Info_Here\" value with common.\r\n * To restrict support to Personal Microsoft accounts only, replace \"Enter_the_Tenant_Info_Here\" value with consumers.\r\n *\r\n * In Azure B2C, authority is of the form https://{instance}/tfp/{tenant}/{policyName}/\r\n * Full B2C functionality will be available in this library in future versions.\r\n *\r\n * @param configuration object for the MSAL PublicClientApplication instance\r\n */\r\n constructor(configuration: Configuration) {\r\n super(configuration);\r\n\r\n this.activeSilentTokenRequests = new Map();\r\n // Register listener functions\r\n this.trackPageVisibility = this.trackPageVisibility.bind(this);\r\n }\r\n\r\n /**\r\n * Use when initiating the login process by redirecting the user's browser to the authorization endpoint. This function redirects the page, so\r\n * any code that follows this function will not execute.\r\n *\r\n * IMPORTANT: It is NOT recommended to have code that is dependent on the resolution of the Promise. This function will navigate away from the current\r\n * browser window. It currently returns a Promise in order to reflect the asynchronous nature of the code running in this function.\r\n *\r\n * @param request\r\n */\r\n async loginRedirect(request?: RedirectRequest): Promise<void> {\r\n const correlationId: string = this.getRequestCorrelationId(request);\r\n this.logger.verbose(\"loginRedirect called\", correlationId);\r\n return this.acquireTokenRedirect({\r\n correlationId,\r\n ...(request || DEFAULT_REQUEST)\r\n });\r\n }\r\n\r\n /**\r\n * Use when initiating the login process via opening a popup window in the user's browser\r\n *\r\n * @param request\r\n *\r\n * @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.\r\n */\r\n loginPopup(request?: PopupRequest): Promise<AuthenticationResult> {\r\n const correlationId: string = this.getRequestCorrelationId(request);\r\n this.logger.verbose(\"loginPopup called\", correlationId);\r\n return this.acquireTokenPopup({\r\n correlationId,\r\n ...(request || DEFAULT_REQUEST)\r\n });\r\n }\r\n\r\n /**\r\n * Silently acquire an access token for a given set of scopes. Returns currently processing promise if parallel requests are made.\r\n *\r\n * @param {@link (SilentRequest:type)}\r\n * @returns {Promise.<AuthenticationResult>} - a promise that is fulfilled when this function has completed, or rejected if an error was raised. Returns the {@link AuthResponse} object\r\n */\r\n async acquireTokenSilent(request: SilentRequest): Promise<AuthenticationResult> {\r\n const correlationId = this.getRequestCorrelationId(request);\r\n const atsMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenSilent, correlationId);\r\n atsMeasurement.addStaticFields({\r\n cacheLookupPolicy: request.cacheLookupPolicy\r\n });\r\n\r\n this.preflightBrowserEnvironmentCheck(InteractionType.Silent);\r\n this.logger.verbose(\"acquireTokenSilent called\", correlationId);\r\n\r\n const account = request.account || this.getActiveAccount();\r\n if (!account) {\r\n throw BrowserAuthError.createNoAccountError();\r\n }\r\n\r\n const thumbprint: RequestThumbprint = {\r\n clientId: this.config.auth.clientId,\r\n authority: request.authority || Constants.EMPTY_STRING,\r\n scopes: request.scopes,\r\n homeAccountIdentifier: account.homeAccountId,\r\n claims: request.claims,\r\n authenticationScheme: request.authenticationScheme,\r\n resourceRequestMethod: request.resourceRequestMethod,\r\n resourceRequestUri: request.resourceRequestUri,\r\n shrClaims: request.shrClaims,\r\n sshKid: request.sshKid\r\n };\r\n const silentRequestKey = JSON.stringify(thumbprint);\r\n\r\n const cachedResponse = this.activeSilentTokenRequests.get(silentRequestKey);\r\n if (typeof cachedResponse === \"undefined\") {\r\n this.logger.verbose(\"acquireTokenSilent called for the first time, storing active request\", correlationId);\r\n\r\n this.performanceClient.setPreQueueTime(PerformanceEvents.AcquireTokenSilentAsync, correlationId);\r\n const response = this.acquireTokenSilentAsync({\r\n ...request,\r\n correlationId\r\n }, account)\r\n .then((result) => {\r\n this.activeSilentTokenRequests.delete(silentRequestKey);\r\n atsMeasurement.addStaticFields({\r\n accessTokenSize: result.accessToken.length,\r\n idTokenSize: result.idToken.length\r\n });\r\n atsMeasurement.endMeasurement({\r\n success: true,\r\n fromCache: result.fromCache,\r\n isNativeBroker: result.fromNativeBroker,\r\n cacheLookupPolicy: request.cacheLookupPolicy,\r\n requestId: result.requestId,\r\n });\r\n return result;\r\n })\r\n .catch((error: AuthError) => {\r\n this.activeSilentTokenRequests.delete(silentRequestKey);\r\n atsMeasurement.endMeasurement({\r\n errorCode: error.errorCode,\r\n subErrorCode: error.subError,\r\n success: false\r\n });\r\n throw error;\r\n });\r\n this.activeSilentTokenRequests.set(silentRequestKey, response);\r\n return response;\r\n } else {\r\n this.logger.verbose(\"acquireTokenSilent has been called previously, returning the result from the first call\", correlationId);\r\n // Discard measurements for memoized calls, as they are usually only a couple of ms and will artificially deflate metrics\r\n atsMeasurement.discardMeasurement();\r\n return cachedResponse;\r\n }\r\n }\r\n\r\n private trackPageVisibility():void {\r\n if (!this.astsAsyncMeasurement) {\r\n return;\r\n }\r\n this.logger.info(\"Perf: Visibility change detected\");\r\n this.astsAsyncMeasurement.increment({\r\n visibilityChangeCount: 1,\r\n });\r\n }\r\n\r\n /**\r\n * Silently acquire an access token for a given set of scopes. Will use cached token if available, otherwise will attempt to acquire a new token from the network via refresh token.\r\n * @param {@link (SilentRequest:type)}\r\n * @param {@link (AccountInfo:type)}\r\n * @returns {Promise.<AuthenticationResult>} - a promise that is fulfilled when this function has completed, or rejected if an error was raised. Returns the {@link AuthResponse}\r\n */\r\n protected async acquireTokenSilentAsync(request: SilentRequest, account: AccountInfo): Promise<AuthenticationResult>{\r\n this.performanceClient.addQueueMeasurement(PerformanceEvents.AcquireTokenSilentAsync, request.correlationId);\r\n\r\n this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, InteractionType.Silent, request);\r\n this.astsAsyncMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenSilentAsync, request.correlationId);\r\n this.astsAsyncMeasurement?.increment({\r\n visibilityChangeCount: 0\r\n });\r\n document.addEventListener(\"visibilitychange\",this.trackPageVisibility);\r\n let result: Promise<AuthenticationResult>;\r\n if (NativeMessageHandler.isNativeAvailable(this.config, this.logger, this.nativeExtensionProvider, request.authenticationScheme) && account.nativeAccountId) {\r\n this.logger.verbose(\"acquireTokenSilent - attempting to acquire token from native platform\");\r\n const silentRequest: SilentRequest = {\r\n ...request,\r\n account\r\n };\r\n result = this.acquireTokenNative(silentRequest, ApiId.acquireTokenSilent_silentFlow).catch(async (e: AuthError) => {\r\n // If native token acquisition fails for availability reasons fallback to web flow\r\n if (e instanceof NativeAuthError && e.isFatal()) {\r\n this.logger.verbose(\"acquireTokenSilent - native platform unavailable, falling back to web flow\");\r\n this.nativeExtensionProvider = undefined; // Prevent future requests from continuing to attempt\r\n\r\n // Cache will not contain tokens, given that previous WAM requests succeeded. Skip cache and RT renewal and go straight to iframe renewal\r\n const silentIframeClient = this.createSilentIframeClient(request.correlationId);\r\n return silentIframeClient.acquireToken(request);\r\n }\r\n throw e;\r\n });\r\n } else {\r\n this.logger.verbose(\"acquireTokenSilent - attempting to acquire token from web flow\");\r\n\r\n const silentCacheClient = this.createSilentCacheClient(request.correlationId);\r\n\r\n this.performanceClient.setPreQueueTime(PerformanceEvents.InitializeSilentRequest, request.correlationId);\r\n const silentRequest = await silentCacheClient.initializeSilentRequest(request, account);\r\n\r\n const requestWithCLP = {\r\n ...request,\r\n // set the request's CacheLookupPolicy to Default if it was not optionally passed in\r\n cacheLookupPolicy: request.cacheLookupPolicy || CacheLookupPolicy.Default\r\n };\r\n\r\n this.performanceClient.setPreQueueTime(PerformanceEvents.AcquireTokenFromCache, silentRequest.correlationId);\r\n result = this.acquireTokenFromCache(silentCacheClient, silentRequest, requestWithCLP).catch((cacheError: AuthError) => {\r\n if (requestWithCLP.cacheLookupPolicy === CacheLookupPolicy.AccessToken) {\r\n throw cacheError;\r\n }\r\n\r\n // block the reload if it occurred inside a hidden iframe\r\n BrowserUtils.blockReloadInHiddenIframes();\r\n this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_NETWORK_START, InteractionType.Silent, silentRequest);\r\n\r\n this.performanceClient.setPreQueueTime(PerformanceEvents.AcquireTokenByRefreshToken, silentRequest.correlationId);\r\n return this.acquireTokenByRefreshToken(silentRequest, requestWithCLP).catch((refreshTokenError: AuthError) => {\r\n const isServerError = refreshTokenError instanceof ServerError;\r\n const isInteractionRequiredError = refreshTokenError instanceof InteractionRequiredAuthError;\r\n const isInvalidGrantError = (refreshTokenError.errorCode === BrowserConstants.INVALID_GRANT_ERROR);\r\n\r\n if ((!isServerError ||\r\n !isInvalidGrantError ||\r\n isInteractionRequiredError ||\r\n requestWithCLP.cacheLookupPolicy === CacheLookupPolicy.AccessTokenAndRefreshToken ||\r\n requestWithCLP.cacheLookupPolicy === CacheLookupPolicy.RefreshToken)\r\n && (requestWithCLP.cacheLookupPolicy !== CacheLookupPolicy.Skip)\r\n ) {\r\n throw refreshTokenError;\r\n }\r\n\r\n this.logger.verbose(\"Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.\", request.correlationId);\r\n this.performanceClient.setPreQueueTime(PerformanceEvents.AcquireTokenBySilentIframe, silentRequest.correlationId);\r\n return this.acquireTokenBySilentIframe(silentRequest);\r\n });\r\n });\r\n }\r\n\r\n return result.then((response) => {\r\n this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, InteractionType.Silent, response);\r\n this.astsAsyncMeasurement?.endMeasurement({\r\n success: true,\r\n fromCache: response.fromCache,\r\n isNativeBroker: response.fromNativeBroker,\r\n requestId: response.requestId\r\n });\r\n return response;\r\n }).catch((tokenRenewalError: AuthError) => {\r\n this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Silent, null, tokenRenewalError);\r\n this.astsAsyncMeasurement?.endMeasurement({\r\n errorCode: tokenRenewalError.errorCode,\r\n subErrorCode: tokenRenewalError.subError,\r\n success: false\r\n });\r\n throw tokenRenewalError;\r\n }).finally(() => {\r\n document.removeEventListener(\"visibilitychange\",this.trackPageVisibility);\r\n });\r\n }\r\n}\r\n"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;AAmBA;;;;;IAI6C,2CAAiB;;;;;;;;;;;;;;;;;;;;;;IA2B1D,iCAAY,aAA4B;QAAxC,YACI,kBAAM,aAAa,CAAC,SAKvB;QA7BO,0BAAoB,GAAgC,SAAS,CAAC;QA0BlE,KAAI,CAAC,yBAAyB,GAAG,IAAI,GAAG,EAAE,CAAC;;QAE3C,KAAI,CAAC,mBAAmB,GAAG,KAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,KAAI,CAAC,CAAC;;KAClE;;;;;;;;;;IAWK,+CAAa,GAAnB,UAAoB,OAAyB;;;;gBACnC,aAAa,GAAW,IAAI,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC;gBACpE,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,sBAAsB,EAAE,aAAa,CAAC,CAAC;gBAC3D,sBAAO,IAAI,CAAC,oBAAoB,YAC5B,aAAa,eAAA,KACT,OAAO,IAAI,eAAe,GAChC,EAAC;;;KACN;;;;;;;;IASD,4CAAU,GAAV,UAAW,OAAsB;QAC7B,IAAM,aAAa,GAAW,IAAI,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC;QACpE,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,mBAAmB,EAAE,aAAa,CAAC,CAAC;QACxD,OAAO,IAAI,CAAC,iBAAiB,YAC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,CAAC,OAAO,CAAC,CAAC;KAC7C;AAED;;AAEG;IACH,gBAAgB,GAAA;AACZ,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,gBAAgB,EAAE,CAAC;KAC7C;AAED;;;;AAIG;IACH,wBAAwB,CAAC,GAAe,EAAE,OAAe,EAAA;QACrD,OAAO,IAAI,CAAC,UAAU,CAAC,wBAAwB,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;KACjE;AAED;;;AAGG;AACH,IAAA,mBAAmB,CAAC,gBAAmC,EAAA;AACnD,QAAA,IAAI,CAAC,UAAU,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;KACzD;AAED;;AAEG;IACH,gBAAgB,GAAA;AACZ,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,gBAAgB,EAAE,CAAC;KAC7C;AACJ;;;;"}
@@ -1,12 +1,12 @@
1
- import { Logger, AuthenticationScheme, IPerformanceClient } from "@azure/msal-common";
1
+ import { Logger, AuthenticationScheme, IPerformanceClient, ICrypto } from "@azure/msal-common";
2
2
  import { NativeExtensionRequestBody } from "./NativeRequest";
3
3
  import { BrowserConfiguration } from "../../config/Configuration";
4
4
  export declare class NativeMessageHandler {
5
5
  private extensionId;
6
6
  private extensionVersion;
7
7
  private logger;
8
+ private crypto;
8
9
  private readonly handshakeTimeoutMs;
9
- private responseId;
10
10
  private timeoutId;
11
11
  private resolvers;
12
12
  private handshakeResolvers;
@@ -14,7 +14,7 @@ export declare class NativeMessageHandler {
14
14
  private readonly windowListener;
15
15
  private readonly performanceClient;
16
16
  private readonly handshakeEvent;
17
- constructor(logger: Logger, handshakeTimeoutMs: number, performanceClient: IPerformanceClient, extensionId?: string);
17
+ constructor(logger: Logger, handshakeTimeoutMs: number, performanceClient: IPerformanceClient, crypto: ICrypto, extensionId?: string);
18
18
  /**
19
19
  * Sends a given message to the extension and resolves with the extension response
20
20
  * @param body
@@ -25,8 +25,9 @@ export declare class NativeMessageHandler {
25
25
  * @param {Logger} logger
26
26
  * @param {number} handshakeTimeoutMs
27
27
  * @param {IPerformanceClient} performanceClient
28
+ * @param {ICrypto} crypto
28
29
  */
29
- static createProvider(logger: Logger, handshakeTimeoutMs: number, performanceClient: IPerformanceClient): Promise<NativeMessageHandler>;
30
+ static createProvider(logger: Logger, handshakeTimeoutMs: number, performanceClient: IPerformanceClient, crypto: ICrypto): Promise<NativeMessageHandler>;
30
31
  /**
31
32
  * Send handshake request helper.
32
33
  */
@@ -1 +1 @@
1
- {"version":3,"file":"NativeMessageHandler.d.ts","sourceRoot":"","sources":["../../../src/broker/nativeBroker/NativeMessageHandler.ts"],"names":[],"mappings":"AAMA,OAAO,EACH,MAAM,EAEN,oBAAoB,EAGpB,kBAAkB,EACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAA0B,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAGrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAOlE,qBAAa,oBAAoB;IAC7B,OAAO,CAAC,WAAW,CAAqB;IACxC,OAAO,CAAC,gBAAgB,CAAqB;IAC7C,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAS;IAC5C,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,SAAS,CAAqB;IACtC,OAAO,CAAC,SAAS,CAAyC;IAC1D,OAAO,CAAC,kBAAkB,CAAuC;IACjE,OAAO,CAAC,cAAc,CAAiB;IACvC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAgC;IAC/D,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAqB;IACvD,OAAO,CAAC,QAAQ,CAAC,cAAc,CAA6B;gBAEhD,MAAM,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,WAAW,CAAC,EAAE,MAAM;IAanH;;;OAGG;IACG,WAAW,CAAC,IAAI,EAAE,0BAA0B,GAAG,OAAO,CAAC,MAAM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