@azure/msal-browser 2.36.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 (558) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +213 -213
  3. package/dist/app/IPublicClientApplication.d.ts.map +1 -1
  4. package/dist/app/IPublicClientApplication.js +33 -33
  5. package/dist/app/IPublicClientApplication.js.map +1 -1
  6. package/dist/app/PublicClientApplication.d.ts +198 -24
  7. package/dist/app/PublicClientApplication.d.ts.map +1 -1
  8. package/dist/app/PublicClientApplication.js +263 -220
  9. package/dist/app/PublicClientApplication.js.map +1 -1
  10. package/dist/broker/nativeBroker/NativeMessageHandler.d.ts +5 -4
  11. package/dist/broker/nativeBroker/NativeMessageHandler.d.ts.map +1 -1
  12. package/dist/broker/nativeBroker/NativeMessageHandler.js +118 -124
  13. package/dist/broker/nativeBroker/NativeMessageHandler.js.map +1 -1
  14. package/dist/broker/nativeBroker/NativeRequest.d.ts +4 -4
  15. package/dist/broker/nativeBroker/NativeRequest.d.ts.map +1 -1
  16. package/dist/broker/nativeBroker/NativeResponse.d.ts +4 -4
  17. package/dist/broker/nativeBroker/NativeResponse.d.ts.map +1 -1
  18. package/dist/cache/AsyncMemoryStorage.d.ts.map +1 -1
  19. package/dist/cache/AsyncMemoryStorage.js +83 -152
  20. package/dist/cache/AsyncMemoryStorage.js.map +1 -1
  21. package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
  22. package/dist/cache/BrowserCacheManager.js +420 -412
  23. package/dist/cache/BrowserCacheManager.js.map +1 -1
  24. package/dist/cache/BrowserStorage.d.ts.map +1 -1
  25. package/dist/cache/BrowserStorage.js +19 -19
  26. package/dist/cache/BrowserStorage.js.map +1 -1
  27. package/dist/cache/CryptoKeyStore.d.ts.map +1 -1
  28. package/dist/cache/CryptoKeyStore.js +26 -36
  29. package/dist/cache/CryptoKeyStore.js.map +1 -1
  30. package/dist/cache/DatabaseStorage.d.ts.map +1 -1
  31. package/dist/cache/DatabaseStorage.js +127 -191
  32. package/dist/cache/DatabaseStorage.js.map +1 -1
  33. package/dist/cache/ITokenCache.d.ts.map +1 -1
  34. package/dist/cache/MemoryStorage.d.ts.map +1 -1
  35. package/dist/cache/MemoryStorage.js +18 -19
  36. package/dist/cache/MemoryStorage.js.map +1 -1
  37. package/dist/cache/TokenCache.d.ts +1 -1
  38. package/dist/cache/TokenCache.d.ts.map +1 -1
  39. package/dist/cache/TokenCache.js +55 -49
  40. package/dist/cache/TokenCache.js.map +1 -1
  41. package/dist/config/Configuration.d.ts +8 -8
  42. package/dist/config/Configuration.d.ts.map +1 -1
  43. package/dist/config/Configuration.js +53 -31
  44. package/dist/config/Configuration.js.map +1 -1
  45. package/dist/controllers/ControllerFactory.d.ts +10 -0
  46. package/dist/controllers/ControllerFactory.d.ts.map +1 -0
  47. package/dist/controllers/ControllerFactory.js +47 -0
  48. package/dist/controllers/ControllerFactory.js.map +1 -0
  49. package/dist/controllers/IController.d.ts +67 -0
  50. package/dist/controllers/IController.d.ts.map +1 -0
  51. package/dist/{app/ClientApplication.d.ts → controllers/StandardController.d.ts} +96 -15
  52. package/dist/controllers/StandardController.d.ts.map +1 -0
  53. package/dist/controllers/StandardController.js +1299 -0
  54. package/dist/controllers/StandardController.js.map +1 -0
  55. package/dist/crypto/BrowserCrypto.d.ts.map +1 -1
  56. package/dist/crypto/BrowserCrypto.js +36 -60
  57. package/dist/crypto/BrowserCrypto.js.map +1 -1
  58. package/dist/crypto/CryptoOps.d.ts +1 -1
  59. package/dist/crypto/CryptoOps.d.ts.map +1 -1
  60. package/dist/crypto/CryptoOps.js +93 -151
  61. package/dist/crypto/CryptoOps.js.map +1 -1
  62. package/dist/crypto/GuidGenerator.d.ts.map +1 -1
  63. package/dist/crypto/GuidGenerator.js +36 -25
  64. package/dist/crypto/GuidGenerator.js.map +1 -1
  65. package/dist/crypto/ISubtleCrypto.d.ts.map +1 -1
  66. package/dist/crypto/ModernBrowserCrypto.d.ts.map +1 -1
  67. package/dist/crypto/ModernBrowserCrypto.js +20 -44
  68. package/dist/crypto/ModernBrowserCrypto.js.map +1 -1
  69. package/dist/crypto/MsBrowserCrypto.d.ts.map +1 -1
  70. package/dist/crypto/MsBrowserCrypto.js +65 -89
  71. package/dist/crypto/MsBrowserCrypto.js.map +1 -1
  72. package/dist/crypto/MsrBrowserCrypto.d.ts.map +1 -1
  73. package/dist/crypto/MsrBrowserCrypto.js +23 -47
  74. package/dist/crypto/MsrBrowserCrypto.js.map +1 -1
  75. package/dist/crypto/PkceGenerator.d.ts.map +1 -1
  76. package/dist/crypto/PkceGenerator.js +28 -49
  77. package/dist/crypto/PkceGenerator.js.map +1 -1
  78. package/dist/crypto/SignedHttpRequest.d.ts +1 -1
  79. package/dist/crypto/SignedHttpRequest.d.ts.map +1 -1
  80. package/dist/crypto/SignedHttpRequest.js +15 -37
  81. package/dist/crypto/SignedHttpRequest.js.map +1 -1
  82. package/dist/encode/Base64Decode.d.ts.map +1 -1
  83. package/dist/encode/Base64Decode.js +32 -33
  84. package/dist/encode/Base64Decode.js.map +1 -1
  85. package/dist/encode/Base64Encode.d.ts.map +1 -1
  86. package/dist/encode/Base64Encode.js +34 -35
  87. package/dist/encode/Base64Encode.js.map +1 -1
  88. package/dist/error/BrowserAuthError.d.ts +1 -1
  89. package/dist/error/BrowserAuthError.d.ts.map +1 -1
  90. package/dist/error/BrowserAuthError.js +161 -163
  91. package/dist/error/BrowserAuthError.js.map +1 -1
  92. package/dist/error/BrowserConfigurationAuthError.d.ts.map +1 -1
  93. package/dist/error/BrowserConfigurationAuthError.js +32 -36
  94. package/dist/error/BrowserConfigurationAuthError.js.map +1 -1
  95. package/dist/error/NativeAuthError.d.ts +1 -1
  96. package/dist/error/NativeAuthError.d.ts.map +1 -1
  97. package/dist/error/NativeAuthError.js +26 -27
  98. package/dist/error/NativeAuthError.js.map +1 -1
  99. package/dist/event/EventHandler.d.ts.map +1 -1
  100. package/dist/event/EventHandler.js +33 -33
  101. package/dist/event/EventHandler.js.map +1 -1
  102. package/dist/event/EventMessage.d.ts +5 -5
  103. package/dist/event/EventMessage.d.ts.map +1 -1
  104. package/dist/event/EventMessage.js +18 -14
  105. package/dist/event/EventMessage.js.map +1 -1
  106. package/dist/event/EventType.js +1 -1
  107. package/dist/event/EventType.js.map +1 -1
  108. package/dist/index.d.ts +8 -8
  109. package/dist/index.d.ts.map +1 -1
  110. package/dist/index.js +1 -1
  111. package/dist/interaction_client/BaseInteractionClient.d.ts.map +1 -1
  112. package/dist/interaction_client/BaseInteractionClient.js +92 -123
  113. package/dist/interaction_client/BaseInteractionClient.js.map +1 -1
  114. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -1
  115. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.js +6 -10
  116. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.js.map +1 -1
  117. package/dist/interaction_client/NativeInteractionClient.d.ts.map +1 -1
  118. package/dist/interaction_client/NativeInteractionClient.js +336 -393
  119. package/dist/interaction_client/NativeInteractionClient.js.map +1 -1
  120. package/dist/interaction_client/PopupClient.d.ts +1 -1
  121. package/dist/interaction_client/PopupClient.d.ts.map +1 -1
  122. package/dist/interaction_client/PopupClient.js +224 -246
  123. package/dist/interaction_client/PopupClient.js.map +1 -1
  124. package/dist/interaction_client/RedirectClient.d.ts.map +1 -1
  125. package/dist/interaction_client/RedirectClient.js +244 -292
  126. package/dist/interaction_client/RedirectClient.js.map +1 -1
  127. package/dist/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
  128. package/dist/interaction_client/SilentAuthCodeClient.js +50 -63
  129. package/dist/interaction_client/SilentAuthCodeClient.js.map +1 -1
  130. package/dist/interaction_client/SilentCacheClient.d.ts.map +1 -1
  131. package/dist/interaction_client/SilentCacheClient.js +50 -81
  132. package/dist/interaction_client/SilentCacheClient.js.map +1 -1
  133. package/dist/interaction_client/SilentIframeClient.d.ts.map +1 -1
  134. package/dist/interaction_client/SilentIframeClient.js +107 -125
  135. package/dist/interaction_client/SilentIframeClient.js.map +1 -1
  136. package/dist/interaction_client/SilentRefreshClient.d.ts.map +1 -1
  137. package/dist/interaction_client/SilentRefreshClient.js +44 -72
  138. package/dist/interaction_client/SilentRefreshClient.js.map +1 -1
  139. package/dist/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  140. package/dist/interaction_client/StandardInteractionClient.js +144 -180
  141. package/dist/interaction_client/StandardInteractionClient.js.map +1 -1
  142. package/dist/interaction_handler/InteractionHandler.d.ts +1 -1
  143. package/dist/interaction_handler/InteractionHandler.d.ts.map +1 -1
  144. package/dist/interaction_handler/InteractionHandler.js +84 -110
  145. package/dist/interaction_handler/InteractionHandler.js.map +1 -1
  146. package/dist/interaction_handler/RedirectHandler.d.ts +1 -1
  147. package/dist/interaction_handler/RedirectHandler.d.ts.map +1 -1
  148. package/dist/interaction_handler/RedirectHandler.js +105 -122
  149. package/dist/interaction_handler/RedirectHandler.js.map +1 -1
  150. package/dist/interaction_handler/SilentHandler.d.ts.map +1 -1
  151. package/dist/interaction_handler/SilentHandler.js +76 -65
  152. package/dist/interaction_handler/SilentHandler.js.map +1 -1
  153. package/dist/internals.js +1 -1
  154. package/dist/internals.js.map +1 -1
  155. package/dist/navigation/NavigationClient.d.ts.map +1 -1
  156. package/dist/navigation/NavigationClient.js +11 -14
  157. package/dist/navigation/NavigationClient.js.map +1 -1
  158. package/dist/navigation/NavigationOptions.d.ts +1 -1
  159. package/dist/navigation/NavigationOptions.d.ts.map +1 -1
  160. package/dist/network/FetchClient.d.ts.map +1 -1
  161. package/dist/network/FetchClient.js +66 -96
  162. package/dist/network/FetchClient.js.map +1 -1
  163. package/dist/network/XhrClient.d.ts.map +1 -1
  164. package/dist/network/XhrClient.js +38 -51
  165. package/dist/network/XhrClient.js.map +1 -1
  166. package/dist/operatingcontext/BaseOperatingContext.d.ts +41 -0
  167. package/dist/operatingcontext/BaseOperatingContext.d.ts.map +1 -0
  168. package/dist/operatingcontext/BaseOperatingContext.js +53 -0
  169. package/dist/operatingcontext/BaseOperatingContext.js.map +1 -0
  170. package/dist/operatingcontext/StandardOperatingContext.d.ts +26 -0
  171. package/dist/operatingcontext/StandardOperatingContext.d.ts.map +1 -0
  172. package/dist/operatingcontext/StandardOperatingContext.js +50 -0
  173. package/dist/operatingcontext/StandardOperatingContext.js.map +1 -0
  174. package/dist/operatingcontext/TeamsAppOperatingContext.d.ts +26 -0
  175. package/dist/operatingcontext/TeamsAppOperatingContext.d.ts.map +1 -0
  176. package/dist/operatingcontext/TeamsAppOperatingContext.js +49 -0
  177. package/dist/operatingcontext/TeamsAppOperatingContext.js.map +1 -0
  178. package/dist/packageMetadata.d.ts +1 -1
  179. package/dist/packageMetadata.d.ts.map +1 -1
  180. package/dist/packageMetadata.js +3 -3
  181. package/dist/packageMetadata.js.map +1 -1
  182. package/dist/request/AuthorizationCodeRequest.d.ts +1 -1
  183. package/dist/request/AuthorizationCodeRequest.d.ts.map +1 -1
  184. package/dist/request/AuthorizationUrlRequest.d.ts +1 -1
  185. package/dist/request/AuthorizationUrlRequest.d.ts.map +1 -1
  186. package/dist/request/EndSessionPopupRequest.d.ts +1 -1
  187. package/dist/request/EndSessionPopupRequest.d.ts.map +1 -1
  188. package/dist/request/EndSessionRequest.d.ts +1 -1
  189. package/dist/request/EndSessionRequest.d.ts.map +1 -1
  190. package/dist/request/PopupRequest.d.ts +1 -1
  191. package/dist/request/PopupRequest.d.ts.map +1 -1
  192. package/dist/request/PopupWindowAttributes.d.ts +3 -3
  193. package/dist/request/PopupWindowAttributes.d.ts.map +1 -1
  194. package/dist/request/RedirectRequest.d.ts +1 -1
  195. package/dist/request/RedirectRequest.d.ts.map +1 -1
  196. package/dist/request/SilentRequest.d.ts +1 -1
  197. package/dist/request/SilentRequest.d.ts.map +1 -1
  198. package/dist/request/SsoSilentRequest.d.ts +1 -1
  199. package/dist/request/SsoSilentRequest.d.ts.map +1 -1
  200. package/dist/telemetry/BrowserPerformanceClient.d.ts +1 -1
  201. package/dist/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  202. package/dist/telemetry/BrowserPerformanceClient.js +62 -57
  203. package/dist/telemetry/BrowserPerformanceClient.js.map +1 -1
  204. package/dist/telemetry/BrowserPerformanceMeasurement.d.ts.map +1 -1
  205. package/dist/telemetry/BrowserPerformanceMeasurement.js +30 -31
  206. package/dist/telemetry/BrowserPerformanceMeasurement.js.map +1 -1
  207. package/dist/utils/BrowserConstants.d.ts.map +1 -1
  208. package/dist/utils/BrowserConstants.js +10 -10
  209. package/dist/utils/BrowserConstants.js.map +1 -1
  210. package/dist/utils/BrowserProtocolUtils.d.ts +1 -1
  211. package/dist/utils/BrowserProtocolUtils.d.ts.map +1 -1
  212. package/dist/utils/BrowserProtocolUtils.js +9 -12
  213. package/dist/utils/BrowserProtocolUtils.js.map +1 -1
  214. package/dist/utils/BrowserStringUtils.d.ts.map +1 -1
  215. package/dist/utils/BrowserStringUtils.js +83 -49
  216. package/dist/utils/BrowserStringUtils.js.map +1 -1
  217. package/dist/utils/BrowserUtils.d.ts.map +1 -1
  218. package/dist/utils/BrowserUtils.js +51 -49
  219. package/dist/utils/BrowserUtils.js.map +1 -1
  220. package/dist/utils/MathUtils.d.ts.map +1 -1
  221. package/dist/utils/MathUtils.js +6 -9
  222. package/dist/utils/MathUtils.js.map +1 -1
  223. package/node_modules/@azure/msal-common/LICENSE +21 -0
  224. package/node_modules/@azure/msal-common/README.md +62 -0
  225. package/node_modules/@azure/msal-common/dist/account/AccountInfo.d.ts +32 -0
  226. package/node_modules/@azure/msal-common/dist/account/AccountInfo.d.ts.map +1 -0
  227. package/node_modules/@azure/msal-common/dist/account/AuthToken.d.ts +21 -0
  228. package/node_modules/@azure/msal-common/dist/account/AuthToken.d.ts.map +1 -0
  229. package/node_modules/@azure/msal-common/dist/account/AuthToken.js +56 -0
  230. package/node_modules/@azure/msal-common/dist/account/AuthToken.js.map +1 -0
  231. package/node_modules/@azure/msal-common/dist/account/CcsCredential.d.ts +9 -0
  232. package/node_modules/@azure/msal-common/dist/account/CcsCredential.d.ts.map +1 -0
  233. package/node_modules/@azure/msal-common/dist/account/CcsCredential.js +14 -0
  234. package/node_modules/@azure/msal-common/dist/account/CcsCredential.js.map +1 -0
  235. package/node_modules/@azure/msal-common/dist/account/ClientCredentials.d.ts +15 -0
  236. package/node_modules/@azure/msal-common/dist/account/ClientCredentials.d.ts.map +1 -0
  237. package/node_modules/@azure/msal-common/dist/account/ClientInfo.d.ts +20 -0
  238. package/node_modules/@azure/msal-common/dist/account/ClientInfo.d.ts.map +1 -0
  239. package/node_modules/@azure/msal-common/dist/account/ClientInfo.js +46 -0
  240. package/node_modules/@azure/msal-common/dist/account/ClientInfo.js.map +1 -0
  241. package/node_modules/@azure/msal-common/dist/account/DecodedAuthToken.d.ts +9 -0
  242. package/node_modules/@azure/msal-common/dist/account/DecodedAuthToken.d.ts.map +1 -0
  243. package/node_modules/@azure/msal-common/dist/account/TokenClaims.d.ts +66 -0
  244. package/node_modules/@azure/msal-common/dist/account/TokenClaims.d.ts.map +1 -0
  245. package/node_modules/@azure/msal-common/dist/authority/Authority.d.ts +216 -0
  246. package/node_modules/@azure/msal-common/dist/authority/Authority.d.ts.map +1 -0
  247. package/node_modules/@azure/msal-common/dist/authority/Authority.js +688 -0
  248. package/node_modules/@azure/msal-common/dist/authority/Authority.js.map +1 -0
  249. package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.d.ts +31 -0
  250. package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.d.ts.map +1 -0
  251. package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.js +58 -0
  252. package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.js.map +1 -0
  253. package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.d.ts +623 -0
  254. package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.d.ts.map +1 -0
  255. package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.js +881 -0
  256. package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.js.map +1 -0
  257. package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.d.ts +19 -0
  258. package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.d.ts.map +1 -0
  259. package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.js +24 -0
  260. package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.js.map +1 -0
  261. package/node_modules/@azure/msal-common/dist/authority/AuthorityType.d.ts +10 -0
  262. package/node_modules/@azure/msal-common/dist/authority/AuthorityType.d.ts.map +1 -0
  263. package/node_modules/@azure/msal-common/dist/authority/AuthorityType.js +19 -0
  264. package/node_modules/@azure/msal-common/dist/authority/AuthorityType.js.map +1 -0
  265. package/node_modules/@azure/msal-common/dist/authority/AzureRegion.d.ts +2 -0
  266. package/node_modules/@azure/msal-common/dist/authority/AzureRegion.d.ts.map +1 -0
  267. package/node_modules/@azure/msal-common/dist/authority/AzureRegionConfiguration.d.ts +6 -0
  268. package/node_modules/@azure/msal-common/dist/authority/AzureRegionConfiguration.d.ts.map +1 -0
  269. package/node_modules/@azure/msal-common/dist/authority/CloudDiscoveryMetadata.d.ts +6 -0
  270. package/node_modules/@azure/msal-common/dist/authority/CloudDiscoveryMetadata.d.ts.map +1 -0
  271. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts +14 -0
  272. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts.map +1 -0
  273. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.js +13 -0
  274. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.js.map +1 -0
  275. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.d.ts +10 -0
  276. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.d.ts.map +1 -0
  277. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.js +13 -0
  278. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.js.map +1 -0
  279. package/node_modules/@azure/msal-common/dist/authority/ImdsOptions.d.ts +6 -0
  280. package/node_modules/@azure/msal-common/dist/authority/ImdsOptions.d.ts.map +1 -0
  281. package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.d.ts +12 -0
  282. package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.d.ts.map +1 -0
  283. package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.js +15 -0
  284. package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.js.map +1 -0
  285. package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.d.ts +8 -0
  286. package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.d.ts.map +1 -0
  287. package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.js +17 -0
  288. package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.js.map +1 -0
  289. package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.d.ts +31 -0
  290. package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.d.ts.map +1 -0
  291. package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.js +116 -0
  292. package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.js.map +1 -0
  293. package/node_modules/@azure/msal-common/dist/authority/RegionDiscoveryMetadata.d.ts +7 -0
  294. package/node_modules/@azure/msal-common/dist/authority/RegionDiscoveryMetadata.d.ts.map +1 -0
  295. package/node_modules/@azure/msal-common/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts +16 -0
  296. package/node_modules/@azure/msal-common/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +1 -0
  297. package/node_modules/@azure/msal-common/dist/cache/CacheManager.d.ts +444 -0
  298. package/node_modules/@azure/msal-common/dist/cache/CacheManager.d.ts.map +1 -0
  299. package/node_modules/@azure/msal-common/dist/cache/CacheManager.js +1024 -0
  300. package/node_modules/@azure/msal-common/dist/cache/CacheManager.js.map +1 -0
  301. package/node_modules/@azure/msal-common/dist/cache/entities/AccessTokenEntity.d.ts +57 -0
  302. package/node_modules/@azure/msal-common/dist/cache/entities/AccessTokenEntity.d.ts.map +1 -0
  303. package/node_modules/@azure/msal-common/dist/cache/entities/AccessTokenEntity.js +123 -0
  304. package/node_modules/@azure/msal-common/dist/cache/entities/AccessTokenEntity.js.map +1 -0
  305. package/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.d.ts +100 -0
  306. package/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.d.ts.map +1 -0
  307. package/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.js +259 -0
  308. package/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.js.map +1 -0
  309. package/node_modules/@azure/msal-common/dist/cache/entities/AppMetadataEntity.d.ts +40 -0
  310. package/node_modules/@azure/msal-common/dist/cache/entities/AppMetadataEntity.d.ts.map +1 -0
  311. package/node_modules/@azure/msal-common/dist/cache/entities/AppMetadataEntity.js +73 -0
  312. package/node_modules/@azure/msal-common/dist/cache/entities/AppMetadataEntity.js.map +1 -0
  313. package/node_modules/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.d.ts +48 -0
  314. package/node_modules/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.d.ts.map +1 -0
  315. package/node_modules/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.js +85 -0
  316. package/node_modules/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.js.map +1 -0
  317. package/node_modules/@azure/msal-common/dist/cache/entities/CacheRecord.d.ts +14 -0
  318. package/node_modules/@azure/msal-common/dist/cache/entities/CacheRecord.d.ts.map +1 -0
  319. package/node_modules/@azure/msal-common/dist/cache/entities/CacheRecord.js +18 -0
  320. package/node_modules/@azure/msal-common/dist/cache/entities/CacheRecord.js.map +1 -0
  321. package/node_modules/@azure/msal-common/dist/cache/entities/CredentialEntity.d.ts +89 -0
  322. package/node_modules/@azure/msal-common/dist/cache/entities/CredentialEntity.d.ts.map +1 -0
  323. package/node_modules/@azure/msal-common/dist/cache/entities/CredentialEntity.js +144 -0
  324. package/node_modules/@azure/msal-common/dist/cache/entities/CredentialEntity.js.map +1 -0
  325. package/node_modules/@azure/msal-common/dist/cache/entities/IdTokenEntity.d.ts +35 -0
  326. package/node_modules/@azure/msal-common/dist/cache/entities/IdTokenEntity.d.ts.map +1 -0
  327. package/node_modules/@azure/msal-common/dist/cache/entities/IdTokenEntity.js +64 -0
  328. package/node_modules/@azure/msal-common/dist/cache/entities/IdTokenEntity.js.map +1 -0
  329. package/node_modules/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.d.ts +37 -0
  330. package/node_modules/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.d.ts.map +1 -0
  331. package/node_modules/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.js +67 -0
  332. package/node_modules/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.js.map +1 -0
  333. package/node_modules/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.d.ts +13 -0
  334. package/node_modules/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.d.ts.map +1 -0
  335. package/node_modules/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.js +34 -0
  336. package/node_modules/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.js.map +1 -0
  337. package/node_modules/@azure/msal-common/dist/cache/entities/ThrottlingEntity.d.ts +14 -0
  338. package/node_modules/@azure/msal-common/dist/cache/entities/ThrottlingEntity.d.ts.map +1 -0
  339. package/node_modules/@azure/msal-common/dist/cache/entities/ThrottlingEntity.js +30 -0
  340. package/node_modules/@azure/msal-common/dist/cache/entities/ThrottlingEntity.js.map +1 -0
  341. package/node_modules/@azure/msal-common/dist/cache/interface/ICacheManager.d.ts +166 -0
  342. package/node_modules/@azure/msal-common/dist/cache/interface/ICacheManager.d.ts.map +1 -0
  343. package/node_modules/@azure/msal-common/dist/cache/interface/ICachePlugin.d.ts +6 -0
  344. package/node_modules/@azure/msal-common/dist/cache/interface/ICachePlugin.d.ts.map +1 -0
  345. package/node_modules/@azure/msal-common/dist/cache/interface/ISerializableTokenCache.d.ts +5 -0
  346. package/node_modules/@azure/msal-common/dist/cache/interface/ISerializableTokenCache.d.ts.map +1 -0
  347. package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.d.ts +24 -0
  348. package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.d.ts.map +1 -0
  349. package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.js +30 -0
  350. package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.js.map +1 -0
  351. package/node_modules/@azure/msal-common/dist/cache/utils/CacheTypes.d.ts +63 -0
  352. package/node_modules/@azure/msal-common/dist/cache/utils/CacheTypes.d.ts.map +1 -0
  353. package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.d.ts +72 -0
  354. package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.d.ts.map +1 -0
  355. package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.js +453 -0
  356. package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.js.map +1 -0
  357. package/node_modules/@azure/msal-common/dist/client/BaseClient.d.ts +51 -0
  358. package/node_modules/@azure/msal-common/dist/client/BaseClient.d.ts.map +1 -0
  359. package/node_modules/@azure/msal-common/dist/client/BaseClient.js +107 -0
  360. package/node_modules/@azure/msal-common/dist/client/BaseClient.js.map +1 -0
  361. package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.d.ts +35 -0
  362. package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.d.ts.map +1 -0
  363. package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.js +260 -0
  364. package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.js.map +1 -0
  365. package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.d.ts +25 -0
  366. package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.d.ts.map +1 -0
  367. package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.js +108 -0
  368. package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.js.map +1 -0
  369. package/node_modules/@azure/msal-common/dist/config/AppTokenProvider.d.ts +39 -0
  370. package/node_modules/@azure/msal-common/dist/config/AppTokenProvider.d.ts.map +1 -0
  371. package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.d.ts +134 -0
  372. package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.d.ts.map +1 -0
  373. package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.js +101 -0
  374. package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.js.map +1 -0
  375. package/node_modules/@azure/msal-common/dist/crypto/ICrypto.d.ts +63 -0
  376. package/node_modules/@azure/msal-common/dist/crypto/ICrypto.d.ts.map +1 -0
  377. package/node_modules/@azure/msal-common/dist/crypto/ICrypto.js +49 -0
  378. package/node_modules/@azure/msal-common/dist/crypto/ICrypto.js.map +1 -0
  379. package/node_modules/@azure/msal-common/dist/crypto/IGuidGenerator.d.ts +5 -0
  380. package/node_modules/@azure/msal-common/dist/crypto/IGuidGenerator.d.ts.map +1 -0
  381. package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.d.ts +22 -0
  382. package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.d.ts.map +1 -0
  383. package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.js +44 -0
  384. package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.js.map +1 -0
  385. package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.d.ts +58 -0
  386. package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.d.ts.map +1 -0
  387. package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.js +92 -0
  388. package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.js.map +1 -0
  389. package/node_modules/@azure/msal-common/dist/crypto/SignedHttpRequest.d.ts +12 -0
  390. package/node_modules/@azure/msal-common/dist/crypto/SignedHttpRequest.d.ts.map +1 -0
  391. package/node_modules/@azure/msal-common/dist/error/AuthError.d.ts +48 -0
  392. package/node_modules/@azure/msal-common/dist/error/AuthError.d.ts.map +1 -0
  393. package/node_modules/@azure/msal-common/dist/error/AuthError.js +58 -0
  394. package/node_modules/@azure/msal-common/dist/error/AuthError.js.map +1 -0
  395. package/node_modules/@azure/msal-common/dist/error/ClientAuthError.d.ts +413 -0
  396. package/node_modules/@azure/msal-common/dist/error/ClientAuthError.d.ts.map +1 -0
  397. package/node_modules/@azure/msal-common/dist/error/ClientAuthError.js +526 -0
  398. package/node_modules/@azure/msal-common/dist/error/ClientAuthError.js.map +1 -0
  399. package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.d.ts +199 -0
  400. package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.d.ts.map +1 -0
  401. package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.js +256 -0
  402. package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.js.map +1 -0
  403. package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.d.ts +60 -0
  404. package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.d.ts.map +1 -0
  405. package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.js +86 -0
  406. package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.js.map +1 -0
  407. package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.d.ts +29 -0
  408. package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.d.ts.map +1 -0
  409. package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.js +46 -0
  410. package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.js.map +1 -0
  411. package/node_modules/@azure/msal-common/dist/error/ServerError.d.ts +8 -0
  412. package/node_modules/@azure/msal-common/dist/error/ServerError.d.ts.map +1 -0
  413. package/node_modules/@azure/msal-common/dist/error/ServerError.js +21 -0
  414. package/node_modules/@azure/msal-common/dist/error/ServerError.js.map +1 -0
  415. package/node_modules/@azure/msal-common/dist/index.cjs.js +8975 -0
  416. package/node_modules/@azure/msal-common/dist/index.cjs.js.map +1 -0
  417. package/node_modules/@azure/msal-common/dist/index.d.ts +94 -0
  418. package/node_modules/@azure/msal-common/dist/index.d.ts.map +1 -0
  419. package/node_modules/@azure/msal-common/dist/index.js +54 -0
  420. package/node_modules/@azure/msal-common/dist/index.js.map +1 -0
  421. package/node_modules/@azure/msal-common/dist/logger/Logger.d.ts +96 -0
  422. package/node_modules/@azure/msal-common/dist/logger/Logger.d.ts.map +1 -0
  423. package/node_modules/@azure/msal-common/dist/logger/Logger.js +205 -0
  424. package/node_modules/@azure/msal-common/dist/logger/Logger.js.map +1 -0
  425. package/node_modules/@azure/msal-common/dist/network/INetworkModule.d.ts +30 -0
  426. package/node_modules/@azure/msal-common/dist/network/INetworkModule.d.ts.map +1 -0
  427. package/node_modules/@azure/msal-common/dist/network/INetworkModule.js +21 -0
  428. package/node_modules/@azure/msal-common/dist/network/INetworkModule.js.map +1 -0
  429. package/node_modules/@azure/msal-common/dist/network/NetworkManager.d.ts +33 -0
  430. package/node_modules/@azure/msal-common/dist/network/NetworkManager.d.ts.map +1 -0
  431. package/node_modules/@azure/msal-common/dist/network/NetworkManager.js +42 -0
  432. package/node_modules/@azure/msal-common/dist/network/NetworkManager.js.map +1 -0
  433. package/node_modules/@azure/msal-common/dist/network/RequestThumbprint.d.ts +17 -0
  434. package/node_modules/@azure/msal-common/dist/network/RequestThumbprint.d.ts.map +1 -0
  435. package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.d.ts +42 -0
  436. package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.d.ts.map +1 -0
  437. package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.js +102 -0
  438. package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.js.map +1 -0
  439. package/node_modules/@azure/msal-common/dist/packageMetadata.d.ts +3 -0
  440. package/node_modules/@azure/msal-common/dist/packageMetadata.d.ts.map +1 -0
  441. package/node_modules/@azure/msal-common/dist/packageMetadata.js +8 -0
  442. package/node_modules/@azure/msal-common/dist/packageMetadata.js.map +1 -0
  443. package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.d.ts +20 -0
  444. package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.d.ts.map +1 -0
  445. package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.js +63 -0
  446. package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.js.map +1 -0
  447. package/node_modules/@azure/msal-common/dist/request/BaseAuthRequest.d.ts +38 -0
  448. package/node_modules/@azure/msal-common/dist/request/BaseAuthRequest.d.ts.map +1 -0
  449. package/node_modules/@azure/msal-common/dist/request/CommonAuthorizationCodeRequest.d.ts +28 -0
  450. package/node_modules/@azure/msal-common/dist/request/CommonAuthorizationCodeRequest.d.ts.map +1 -0
  451. package/node_modules/@azure/msal-common/dist/request/CommonAuthorizationUrlRequest.d.ts +51 -0
  452. package/node_modules/@azure/msal-common/dist/request/CommonAuthorizationUrlRequest.d.ts.map +1 -0
  453. package/node_modules/@azure/msal-common/dist/request/CommonClientCredentialRequest.d.ts +18 -0
  454. package/node_modules/@azure/msal-common/dist/request/CommonClientCredentialRequest.d.ts.map +1 -0
  455. package/node_modules/@azure/msal-common/dist/request/CommonDeviceCodeRequest.d.ts +22 -0
  456. package/node_modules/@azure/msal-common/dist/request/CommonDeviceCodeRequest.d.ts.map +1 -0
  457. package/node_modules/@azure/msal-common/dist/request/CommonEndSessionRequest.d.ts +22 -0
  458. package/node_modules/@azure/msal-common/dist/request/CommonEndSessionRequest.d.ts.map +1 -0
  459. package/node_modules/@azure/msal-common/dist/request/CommonOnBehalfOfRequest.d.ts +14 -0
  460. package/node_modules/@azure/msal-common/dist/request/CommonOnBehalfOfRequest.d.ts.map +1 -0
  461. package/node_modules/@azure/msal-common/dist/request/CommonRefreshTokenRequest.d.ts +20 -0
  462. package/node_modules/@azure/msal-common/dist/request/CommonRefreshTokenRequest.d.ts.map +1 -0
  463. package/node_modules/@azure/msal-common/dist/request/CommonSilentFlowRequest.d.ts +19 -0
  464. package/node_modules/@azure/msal-common/dist/request/CommonSilentFlowRequest.d.ts.map +1 -0
  465. package/node_modules/@azure/msal-common/dist/request/CommonUsernamePasswordRequest.d.ts +18 -0
  466. package/node_modules/@azure/msal-common/dist/request/CommonUsernamePasswordRequest.d.ts.map +1 -0
  467. package/node_modules/@azure/msal-common/dist/request/NativeRequest.d.ts +20 -0
  468. package/node_modules/@azure/msal-common/dist/request/NativeRequest.d.ts.map +1 -0
  469. package/node_modules/@azure/msal-common/dist/request/NativeSignOutRequest.d.ts +6 -0
  470. package/node_modules/@azure/msal-common/dist/request/NativeSignOutRequest.d.ts.map +1 -0
  471. package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.d.ts +217 -0
  472. package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.d.ts.map +1 -0
  473. package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.js +385 -0
  474. package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.js.map +1 -0
  475. package/node_modules/@azure/msal-common/dist/request/RequestValidator.d.ts +34 -0
  476. package/node_modules/@azure/msal-common/dist/request/RequestValidator.d.ts.map +1 -0
  477. package/node_modules/@azure/msal-common/dist/request/RequestValidator.js +92 -0
  478. package/node_modules/@azure/msal-common/dist/request/RequestValidator.js.map +1 -0
  479. package/node_modules/@azure/msal-common/dist/request/ScopeSet.d.ts +89 -0
  480. package/node_modules/@azure/msal-common/dist/request/ScopeSet.d.ts.map +1 -0
  481. package/node_modules/@azure/msal-common/dist/request/ScopeSet.js +207 -0
  482. package/node_modules/@azure/msal-common/dist/request/ScopeSet.js.map +1 -0
  483. package/node_modules/@azure/msal-common/dist/response/AuthenticationResult.d.ts +40 -0
  484. package/node_modules/@azure/msal-common/dist/response/AuthenticationResult.d.ts.map +1 -0
  485. package/node_modules/@azure/msal-common/dist/response/AuthorizationCodePayload.d.ts +14 -0
  486. package/node_modules/@azure/msal-common/dist/response/AuthorizationCodePayload.d.ts.map +1 -0
  487. package/node_modules/@azure/msal-common/dist/response/DeviceCodeResponse.d.ts +26 -0
  488. package/node_modules/@azure/msal-common/dist/response/DeviceCodeResponse.d.ts.map +1 -0
  489. package/node_modules/@azure/msal-common/dist/response/ExternalTokenResponse.d.ts +16 -0
  490. package/node_modules/@azure/msal-common/dist/response/ExternalTokenResponse.d.ts.map +1 -0
  491. package/node_modules/@azure/msal-common/dist/response/IMDSBadResponse.d.ts +5 -0
  492. package/node_modules/@azure/msal-common/dist/response/IMDSBadResponse.d.ts.map +1 -0
  493. package/node_modules/@azure/msal-common/dist/response/ResponseHandler.d.ts +73 -0
  494. package/node_modules/@azure/msal-common/dist/response/ResponseHandler.d.ts.map +1 -0
  495. package/node_modules/@azure/msal-common/dist/response/ResponseHandler.js +325 -0
  496. package/node_modules/@azure/msal-common/dist/response/ResponseHandler.js.map +1 -0
  497. package/node_modules/@azure/msal-common/dist/response/ServerAuthorizationCodeResponse.d.ts +26 -0
  498. package/node_modules/@azure/msal-common/dist/response/ServerAuthorizationCodeResponse.d.ts.map +1 -0
  499. package/node_modules/@azure/msal-common/dist/response/ServerAuthorizationTokenResponse.d.ts +45 -0
  500. package/node_modules/@azure/msal-common/dist/response/ServerAuthorizationTokenResponse.d.ts.map +1 -0
  501. package/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceClient.d.ts +43 -0
  502. package/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceClient.d.ts.map +1 -0
  503. package/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceMeasurement.d.ts +6 -0
  504. package/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceMeasurement.d.ts.map +1 -0
  505. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.d.ts +190 -0
  506. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.d.ts.map +1 -0
  507. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.js +413 -0
  508. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.js.map +1 -0
  509. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.d.ts +440 -0
  510. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.d.ts.map +1 -0
  511. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.js +232 -0
  512. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.js.map +1 -0
  513. package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.d.ts +20 -0
  514. package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.d.ts.map +1 -0
  515. package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.js +43 -0
  516. package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.js.map +1 -0
  517. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.d.ts +66 -0
  518. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.d.ts.map +1 -0
  519. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.js +206 -0
  520. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.js.map +1 -0
  521. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryRequest.d.ts +9 -0
  522. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryRequest.d.ts.map +1 -0
  523. package/node_modules/@azure/msal-common/dist/url/IUri.d.ts +13 -0
  524. package/node_modules/@azure/msal-common/dist/url/IUri.d.ts.map +1 -0
  525. package/node_modules/@azure/msal-common/dist/url/UrlString.d.ts +71 -0
  526. package/node_modules/@azure/msal-common/dist/url/UrlString.d.ts.map +1 -0
  527. package/node_modules/@azure/msal-common/dist/url/UrlString.js +252 -0
  528. package/node_modules/@azure/msal-common/dist/url/UrlString.js.map +1 -0
  529. package/node_modules/@azure/msal-common/dist/utils/Constants.d.ts +332 -0
  530. package/node_modules/@azure/msal-common/dist/utils/Constants.d.ts.map +1 -0
  531. package/node_modules/@azure/msal-common/dist/utils/Constants.js +378 -0
  532. package/node_modules/@azure/msal-common/dist/utils/Constants.js.map +1 -0
  533. package/node_modules/@azure/msal-common/dist/utils/MsalTypes.d.ts +7 -0
  534. package/node_modules/@azure/msal-common/dist/utils/MsalTypes.d.ts.map +1 -0
  535. package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.d.ts +43 -0
  536. package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.d.ts.map +1 -0
  537. package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.js +80 -0
  538. package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.js.map +1 -0
  539. package/node_modules/@azure/msal-common/dist/utils/StringUtils.d.ts +54 -0
  540. package/node_modules/@azure/msal-common/dist/utils/StringUtils.d.ts.map +1 -0
  541. package/node_modules/@azure/msal-common/dist/utils/StringUtils.js +131 -0
  542. package/node_modules/@azure/msal-common/dist/utils/StringUtils.js.map +1 -0
  543. package/node_modules/@azure/msal-common/dist/utils/TimeUtils.d.ts +28 -0
  544. package/node_modules/@azure/msal-common/dist/utils/TimeUtils.d.ts.map +1 -0
  545. package/node_modules/@azure/msal-common/dist/utils/TimeUtils.js +50 -0
  546. package/node_modules/@azure/msal-common/dist/utils/TimeUtils.js.map +1 -0
  547. package/node_modules/@azure/msal-common/package.json +79 -0
  548. package/package.json +99 -95
  549. package/dist/_virtual/_tslib.js +0 -117
  550. package/dist/_virtual/_tslib.js.map +0 -1
  551. package/dist/app/ClientApplication.d.ts.map +0 -1
  552. package/dist/app/ClientApplication.js +0 -1053
  553. package/dist/app/ClientApplication.js.map +0 -1
  554. package/dist/index.cjs.js +0 -18045
  555. package/dist/index.cjs.js.map +0 -1
  556. package/lib/msal-browser.js +0 -18051
  557. package/lib/msal-browser.js.map +0 -1
  558. package/lib/msal-browser.min.js +0 -70
@@ -1,7 +1,6 @@
1
- /*! @azure/msal-browser v2.36.0 2023-04-18 */
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 { AuthError, PerformanceEvents, Constants, StringUtils, PromptValue, UrlString, ProtocolUtils } from '@azure/msal-common';
3
+ import { PerformanceEvents, StringUtils, PromptValue, Constants, AuthError, UrlString, ProtocolUtils } from '@azure/msal-common';
5
4
  import { StandardInteractionClient } from './StandardInteractionClient.js';
6
5
  import { BrowserAuthError } from '../error/BrowserAuthError.js';
7
6
  import { InteractionType } from '../utils/BrowserConstants.js';
@@ -13,146 +12,129 @@ import { NativeInteractionClient } from './NativeInteractionClient.js';
13
12
  * Copyright (c) Microsoft Corporation. All rights reserved.
14
13
  * Licensed under the MIT License.
15
14
  */
16
- var SilentIframeClient = /** @class */ (function (_super) {
17
- __extends(SilentIframeClient, _super);
18
- function SilentIframeClient(config, storageImpl, browserCrypto, logger, eventHandler, navigationClient, apiId, performanceClient, nativeStorageImpl, nativeMessageHandler, correlationId) {
19
- var _this = _super.call(this, config, storageImpl, browserCrypto, logger, eventHandler, navigationClient, performanceClient, nativeMessageHandler, correlationId) || this;
20
- _this.apiId = apiId;
21
- _this.nativeStorage = nativeStorageImpl;
22
- return _this;
15
+ class SilentIframeClient extends StandardInteractionClient {
16
+ constructor(config, storageImpl, browserCrypto, logger, eventHandler, navigationClient, apiId, performanceClient, nativeStorageImpl, nativeMessageHandler, correlationId) {
17
+ super(config, storageImpl, browserCrypto, logger, eventHandler, navigationClient, performanceClient, nativeMessageHandler, correlationId);
18
+ this.apiId = apiId;
19
+ this.nativeStorage = nativeStorageImpl;
23
20
  }
24
21
  /**
25
22
  * Acquires a token silently by opening a hidden iframe to the /authorize endpoint with prompt=none or prompt=no_session
26
23
  * @param request
27
24
  */
28
- SilentIframeClient.prototype.acquireToken = function (request) {
29
- return __awaiter(this, void 0, void 0, function () {
30
- var acquireTokenMeasurement, silentRequest, serverTelemetryManager, authClient, e_1;
31
- return __generator(this, function (_a) {
32
- switch (_a.label) {
33
- case 0:
34
- this.performanceClient.addQueueMeasurement(PerformanceEvents.SilentIframeClientAcquireToken, request.correlationId);
35
- this.logger.verbose("acquireTokenByIframe called");
36
- acquireTokenMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.SilentIframeClientAcquireToken, request.correlationId);
37
- // Check that we have some SSO data
38
- if (StringUtils.isEmpty(request.loginHint) && StringUtils.isEmpty(request.sid) && (!request.account || StringUtils.isEmpty(request.account.username))) {
39
- this.logger.warning("No user hint provided. The authorization server may need more information to complete this request.");
40
- }
41
- // Check that prompt is set to none or no_session, throw error if it is set to anything else.
42
- if (request.prompt && (request.prompt !== PromptValue.NONE) && (request.prompt !== PromptValue.NO_SESSION)) {
43
- acquireTokenMeasurement.endMeasurement({
44
- success: false
45
- });
46
- throw BrowserAuthError.createSilentPromptValueError(request.prompt);
47
- }
48
- // Create silent request
49
- this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientInitializeAuthorizationRequest, request.correlationId);
50
- return [4 /*yield*/, this.initializeAuthorizationRequest(__assign(__assign({}, request), { prompt: request.prompt || PromptValue.NONE }), InteractionType.Silent)];
51
- case 1:
52
- silentRequest = _a.sent();
53
- this.browserStorage.updateCacheEntries(silentRequest.state, silentRequest.nonce, silentRequest.authority, silentRequest.loginHint || Constants.EMPTY_STRING, silentRequest.account || null);
54
- serverTelemetryManager = this.initializeServerTelemetryManager(this.apiId);
55
- _a.label = 2;
56
- case 2:
57
- _a.trys.push([2, 5, , 6]);
58
- // Initialize the client
59
- this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientCreateAuthCodeClient, request.correlationId);
60
- return [4 /*yield*/, this.createAuthCodeClient(serverTelemetryManager, silentRequest.authority, silentRequest.azureCloudOptions)];
61
- case 3:
62
- authClient = _a.sent();
63
- this.logger.verbose("Auth code client created");
64
- this.performanceClient.setPreQueueTime(PerformanceEvents.SilentIframeClientTokenHelper, request.correlationId);
65
- return [4 /*yield*/, this.silentTokenHelper(authClient, silentRequest).then(function (result) {
66
- acquireTokenMeasurement.endMeasurement({
67
- success: true,
68
- fromCache: false,
69
- requestId: result.requestId
70
- });
71
- return result;
72
- })];
73
- case 4: return [2 /*return*/, _a.sent()];
74
- case 5:
75
- e_1 = _a.sent();
76
- if (e_1 instanceof AuthError) {
77
- e_1.setCorrelationId(this.correlationId);
78
- }
79
- serverTelemetryManager.cacheFailedRequest(e_1);
80
- this.browserStorage.cleanRequestByState(silentRequest.state);
81
- acquireTokenMeasurement.endMeasurement({
82
- errorCode: e_1 instanceof AuthError && e_1.errorCode || undefined,
83
- subErrorCode: e_1 instanceof AuthError && e_1.subError || undefined,
84
- success: false
85
- });
86
- throw e_1;
87
- case 6: return [2 /*return*/];
88
- }
25
+ async acquireToken(request) {
26
+ this.performanceClient.addQueueMeasurement(PerformanceEvents.SilentIframeClientAcquireToken, request.correlationId);
27
+ this.logger.verbose("acquireTokenByIframe called");
28
+ const acquireTokenMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.SilentIframeClientAcquireToken, request.correlationId);
29
+ // Check that we have some SSO data
30
+ if (StringUtils.isEmpty(request.loginHint) &&
31
+ StringUtils.isEmpty(request.sid) &&
32
+ (!request.account || StringUtils.isEmpty(request.account.username))) {
33
+ this.logger.warning("No user hint provided. The authorization server may need more information to complete this request.");
34
+ }
35
+ // Check that prompt is set to none or no_session, throw error if it is set to anything else.
36
+ if (request.prompt &&
37
+ request.prompt !== PromptValue.NONE &&
38
+ request.prompt !== PromptValue.NO_SESSION) {
39
+ acquireTokenMeasurement.endMeasurement({
40
+ success: false,
89
41
  });
90
- });
91
- };
42
+ throw BrowserAuthError.createSilentPromptValueError(request.prompt);
43
+ }
44
+ // Create silent request
45
+ this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientInitializeAuthorizationRequest, request.correlationId);
46
+ const silentRequest = await this.initializeAuthorizationRequest({
47
+ ...request,
48
+ prompt: request.prompt || PromptValue.NONE,
49
+ }, InteractionType.Silent);
50
+ this.browserStorage.updateCacheEntries(silentRequest.state, silentRequest.nonce, silentRequest.authority, silentRequest.loginHint || Constants.EMPTY_STRING, silentRequest.account || null);
51
+ const serverTelemetryManager = this.initializeServerTelemetryManager(this.apiId);
52
+ try {
53
+ // Initialize the client
54
+ this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientCreateAuthCodeClient, request.correlationId);
55
+ const authClient = await this.createAuthCodeClient(serverTelemetryManager, silentRequest.authority, silentRequest.azureCloudOptions);
56
+ this.logger.verbose("Auth code client created");
57
+ this.performanceClient.setPreQueueTime(PerformanceEvents.SilentIframeClientTokenHelper, request.correlationId);
58
+ return await this.silentTokenHelper(authClient, silentRequest).then((result) => {
59
+ acquireTokenMeasurement.endMeasurement({
60
+ success: true,
61
+ fromCache: false,
62
+ requestId: result.requestId,
63
+ });
64
+ return result;
65
+ });
66
+ }
67
+ catch (e) {
68
+ if (e instanceof AuthError) {
69
+ e.setCorrelationId(this.correlationId);
70
+ serverTelemetryManager.cacheFailedRequest(e);
71
+ }
72
+ this.browserStorage.cleanRequestByState(silentRequest.state);
73
+ acquireTokenMeasurement.endMeasurement({
74
+ errorCode: (e instanceof AuthError && e.errorCode) || undefined,
75
+ subErrorCode: (e instanceof AuthError && e.subError) || undefined,
76
+ success: false,
77
+ });
78
+ throw e;
79
+ }
80
+ }
92
81
  /**
93
82
  * Currently Unsupported
94
83
  */
95
- SilentIframeClient.prototype.logout = function () {
84
+ logout() {
96
85
  // Synchronous so we must reject
97
86
  return Promise.reject(BrowserAuthError.createSilentLogoutUnsupportedError());
98
- };
87
+ }
99
88
  /**
100
89
  * Helper which acquires an authorization code silently using a hidden iframe from given url
101
90
  * using the scopes requested as part of the id, and exchanges the code for a set of OAuth tokens.
102
91
  * @param navigateUrl
103
92
  * @param userRequestScopes
104
93
  */
105
- SilentIframeClient.prototype.silentTokenHelper = function (authClient, silentRequest) {
106
- return __awaiter(this, void 0, void 0, function () {
107
- var authCodeRequest, navigateUrl, silentHandler, msalFrame, hash, serverParams, state, nativeInteractionClient, userRequestState;
108
- var _this = this;
109
- return __generator(this, function (_a) {
110
- switch (_a.label) {
111
- case 0:
112
- this.performanceClient.addQueueMeasurement(PerformanceEvents.SilentIframeClientTokenHelper, silentRequest.correlationId);
113
- // Create auth code request and generate PKCE params
114
- this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientInitializeAuthorizationCodeRequest, silentRequest.correlationId);
115
- return [4 /*yield*/, this.initializeAuthorizationCodeRequest(silentRequest)];
116
- case 1:
117
- authCodeRequest = _a.sent();
118
- // Create authorize request url
119
- this.performanceClient.setPreQueueTime(PerformanceEvents.GetAuthCodeUrl, silentRequest.correlationId);
120
- return [4 /*yield*/, authClient.getAuthCodeUrl(__assign(__assign({}, silentRequest), { nativeBroker: NativeMessageHandler.isNativeAvailable(this.config, this.logger, this.nativeMessageHandler, silentRequest.authenticationScheme) }))];
121
- case 2:
122
- navigateUrl = _a.sent();
123
- silentHandler = new SilentHandler(authClient, this.browserStorage, authCodeRequest, this.logger, this.config.system, this.performanceClient);
124
- // Get the frame handle for the silent request
125
- this.performanceClient.setPreQueueTime(PerformanceEvents.SilentHandlerInitiateAuthRequest, silentRequest.correlationId);
126
- return [4 /*yield*/, silentHandler.initiateAuthRequest(navigateUrl)];
127
- case 3:
128
- msalFrame = _a.sent();
129
- // Monitor the window for the hash. Return the string value and close the popup when the hash is received. Default timeout is 60 seconds.
130
- this.performanceClient.setPreQueueTime(PerformanceEvents.SilentHandlerMonitorIframeForHash, silentRequest.correlationId);
131
- return [4 /*yield*/, silentHandler.monitorIframeForHash(msalFrame, this.config.system.iframeHashTimeout)];
132
- case 4:
133
- hash = _a.sent();
134
- serverParams = UrlString.getDeserializedHash(hash);
135
- state = this.validateAndExtractStateFromHash(serverParams, InteractionType.Silent, authCodeRequest.correlationId);
136
- if (serverParams.accountId) {
137
- this.logger.verbose("Account id found in hash, calling WAM for token");
138
- if (!this.nativeMessageHandler) {
139
- throw BrowserAuthError.createNativeConnectionNotEstablishedError();
140
- }
141
- nativeInteractionClient = new NativeInteractionClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.apiId, this.performanceClient, this.nativeMessageHandler, serverParams.accountId, this.browserStorage, this.correlationId);
142
- userRequestState = ProtocolUtils.parseRequestState(this.browserCrypto, state).userRequestState;
143
- return [2 /*return*/, nativeInteractionClient.acquireToken(__assign(__assign({}, silentRequest), { state: userRequestState, prompt: silentRequest.prompt || PromptValue.NONE })).finally(function () {
144
- _this.browserStorage.cleanRequestByState(state);
145
- })];
146
- }
147
- // Handle response from hash string
148
- this.performanceClient.setPreQueueTime(PerformanceEvents.HandleCodeResponseFromHash, silentRequest.correlationId);
149
- return [2 /*return*/, silentHandler.handleCodeResponseFromHash(hash, state, authClient.authority, this.networkClient)];
150
- }
151
- });
94
+ async silentTokenHelper(authClient, silentRequest) {
95
+ this.performanceClient.addQueueMeasurement(PerformanceEvents.SilentIframeClientTokenHelper, silentRequest.correlationId);
96
+ // Create auth code request and generate PKCE params
97
+ this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientInitializeAuthorizationCodeRequest, silentRequest.correlationId);
98
+ const authCodeRequest = await this.initializeAuthorizationCodeRequest(silentRequest);
99
+ // Create authorize request url
100
+ this.performanceClient.setPreQueueTime(PerformanceEvents.GetAuthCodeUrl, silentRequest.correlationId);
101
+ const navigateUrl = await authClient.getAuthCodeUrl({
102
+ ...silentRequest,
103
+ nativeBroker: NativeMessageHandler.isNativeAvailable(this.config, this.logger, this.nativeMessageHandler, silentRequest.authenticationScheme),
152
104
  });
153
- };
154
- return SilentIframeClient;
155
- }(StandardInteractionClient));
105
+ // Create silent handler
106
+ const silentHandler = new SilentHandler(authClient, this.browserStorage, authCodeRequest, this.logger, this.config.system, this.performanceClient);
107
+ // Get the frame handle for the silent request
108
+ this.performanceClient.setPreQueueTime(PerformanceEvents.SilentHandlerInitiateAuthRequest, silentRequest.correlationId);
109
+ const msalFrame = await silentHandler.initiateAuthRequest(navigateUrl);
110
+ // Monitor the window for the hash. Return the string value and close the popup when the hash is received. Default timeout is 60 seconds.
111
+ this.performanceClient.setPreQueueTime(PerformanceEvents.SilentHandlerMonitorIframeForHash, silentRequest.correlationId);
112
+ const hash = await silentHandler.monitorIframeForHash(msalFrame, this.config.system.iframeHashTimeout);
113
+ // Deserialize hash fragment response parameters.
114
+ const serverParams = UrlString.getDeserializedHash(hash);
115
+ const state = this.validateAndExtractStateFromHash(serverParams, InteractionType.Silent, authCodeRequest.correlationId);
116
+ if (serverParams.accountId) {
117
+ this.logger.verbose("Account id found in hash, calling WAM for token");
118
+ if (!this.nativeMessageHandler) {
119
+ throw BrowserAuthError.createNativeConnectionNotEstablishedError();
120
+ }
121
+ const nativeInteractionClient = new NativeInteractionClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.apiId, this.performanceClient, this.nativeMessageHandler, serverParams.accountId, this.browserStorage, this.correlationId);
122
+ const { userRequestState } = ProtocolUtils.parseRequestState(this.browserCrypto, state);
123
+ return nativeInteractionClient
124
+ .acquireToken({
125
+ ...silentRequest,
126
+ state: userRequestState,
127
+ prompt: silentRequest.prompt || PromptValue.NONE,
128
+ })
129
+ .finally(() => {
130
+ this.browserStorage.cleanRequestByState(state);
131
+ });
132
+ }
133
+ // Handle response from hash string
134
+ this.performanceClient.setPreQueueTime(PerformanceEvents.HandleCodeResponseFromHash, silentRequest.correlationId);
135
+ return silentHandler.handleCodeResponseFromHash(hash, state, authClient.authority, this.networkClient);
136
+ }
137
+ }
156
138
 
157
139
  export { SilentIframeClient };
158
140
  //# sourceMappingURL=SilentIframeClient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SilentIframeClient.js","sources":["../../src/interaction_client/SilentIframeClient.ts"],"sourcesContent":["/*\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { AuthenticationResult, ICrypto, Logger, StringUtils, PromptValue, CommonAuthorizationCodeRequest, AuthorizationCodeClient, AuthError, Constants, UrlString, ServerAuthorizationCodeResponse, ProtocolUtils, IPerformanceClient, PerformanceEvents } from \"@azure/msal-common\";\nimport { StandardInteractionClient } from \"./StandardInteractionClient\";\nimport { AuthorizationUrlRequest } from \"../request/AuthorizationUrlRequest\";\nimport { BrowserConfiguration } from \"../config/Configuration\";\nimport { BrowserCacheManager } from \"../cache/BrowserCacheManager\";\nimport { EventHandler } from \"../event/EventHandler\";\nimport { INavigationClient } from \"../navigation/INavigationClient\";\nimport { BrowserAuthError } from \"../error/BrowserAuthError\";\nimport { InteractionType, ApiId } from \"../utils/BrowserConstants\";\nimport { SilentHandler } from \"../interaction_handler/SilentHandler\";\nimport { SsoSilentRequest } from \"../request/SsoSilentRequest\";\nimport { NativeMessageHandler } from \"../broker/nativeBroker/NativeMessageHandler\";\nimport { NativeInteractionClient } from \"./NativeInteractionClient\";\n\nexport class SilentIframeClient extends StandardInteractionClient {\n protected apiId: ApiId;\n protected nativeStorage: BrowserCacheManager;\n\n constructor(config: BrowserConfiguration, storageImpl: BrowserCacheManager, browserCrypto: ICrypto, logger: Logger, eventHandler: EventHandler, navigationClient: INavigationClient, apiId: ApiId, performanceClient: IPerformanceClient, nativeStorageImpl: BrowserCacheManager, nativeMessageHandler?: NativeMessageHandler, correlationId?: string) {\n super(config, storageImpl, browserCrypto, logger, eventHandler, navigationClient, performanceClient, nativeMessageHandler, correlationId);\n this.apiId = apiId;\n this.nativeStorage = nativeStorageImpl;\n }\n\n /**\n * Acquires a token silently by opening a hidden iframe to the /authorize endpoint with prompt=none or prompt=no_session\n * @param request\n */\n async acquireToken(request: SsoSilentRequest): Promise<AuthenticationResult> {\n this.performanceClient.addQueueMeasurement(PerformanceEvents.SilentIframeClientAcquireToken, request.correlationId);\n this.logger.verbose(\"acquireTokenByIframe called\");\n const acquireTokenMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.SilentIframeClientAcquireToken, request.correlationId);\n // Check that we have some SSO data\n if (StringUtils.isEmpty(request.loginHint) && StringUtils.isEmpty(request.sid) && (!request.account || StringUtils.isEmpty(request.account.username))) {\n this.logger.warning(\"No user hint provided. The authorization server may need more information to complete this request.\");\n }\n\n // Check that prompt is set to none or no_session, throw error if it is set to anything else.\n if (request.prompt && (request.prompt !== PromptValue.NONE) && (request.prompt !== PromptValue.NO_SESSION)) {\n acquireTokenMeasurement.endMeasurement({\n success: false\n });\n throw BrowserAuthError.createSilentPromptValueError(request.prompt);\n }\n\n // Create silent request\n this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientInitializeAuthorizationRequest, request.correlationId);\n const silentRequest: AuthorizationUrlRequest = await this.initializeAuthorizationRequest({\n ...request,\n prompt: request.prompt || PromptValue.NONE\n }, InteractionType.Silent);\n this.browserStorage.updateCacheEntries(silentRequest.state, silentRequest.nonce, silentRequest.authority, silentRequest.loginHint || Constants.EMPTY_STRING, silentRequest.account || null);\n\n const serverTelemetryManager = this.initializeServerTelemetryManager(this.apiId);\n\n try {\n // Initialize the client\n this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientCreateAuthCodeClient, request.correlationId);\n const authClient: AuthorizationCodeClient = await this.createAuthCodeClient(serverTelemetryManager, silentRequest.authority, silentRequest.azureCloudOptions);\n this.logger.verbose(\"Auth code client created\");\n\n this.performanceClient.setPreQueueTime(PerformanceEvents.SilentIframeClientTokenHelper, request.correlationId);\n return await this.silentTokenHelper(authClient, silentRequest).then((result: AuthenticationResult) => {\n acquireTokenMeasurement.endMeasurement({\n success: true,\n fromCache: false,\n requestId: result.requestId\n });\n return result;\n });\n } catch (e) {\n if (e instanceof AuthError) {\n (e as AuthError).setCorrelationId(this.correlationId);\n }\n serverTelemetryManager.cacheFailedRequest(e);\n this.browserStorage.cleanRequestByState(silentRequest.state);\n acquireTokenMeasurement.endMeasurement({\n errorCode: e instanceof AuthError && e.errorCode || undefined,\n subErrorCode: e instanceof AuthError && e.subError || undefined,\n success: false\n });\n throw e;\n }\n }\n\n /**\n * Currently Unsupported\n */\n logout(): Promise<void> {\n // Synchronous so we must reject\n return Promise.reject(BrowserAuthError.createSilentLogoutUnsupportedError());\n }\n\n /**\n * Helper which acquires an authorization code silently using a hidden iframe from given url\n * using the scopes requested as part of the id, and exchanges the code for a set of OAuth tokens.\n * @param navigateUrl\n * @param userRequestScopes\n */\n protected async silentTokenHelper(authClient: AuthorizationCodeClient, silentRequest: AuthorizationUrlRequest): Promise<AuthenticationResult> {\n this.performanceClient.addQueueMeasurement(PerformanceEvents.SilentIframeClientTokenHelper, silentRequest.correlationId);\n\n // Create auth code request and generate PKCE params\n this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientInitializeAuthorizationCodeRequest, silentRequest.correlationId);\n const authCodeRequest: CommonAuthorizationCodeRequest = await this.initializeAuthorizationCodeRequest(silentRequest);\n // Create authorize request url\n this.performanceClient.setPreQueueTime(PerformanceEvents.GetAuthCodeUrl, silentRequest.correlationId);\n const navigateUrl = await authClient.getAuthCodeUrl({\n ...silentRequest,\n nativeBroker: NativeMessageHandler.isNativeAvailable(this.config, this.logger, this.nativeMessageHandler, silentRequest.authenticationScheme)\n });\n\n // Create silent handler\n const silentHandler = new SilentHandler(authClient, this.browserStorage, authCodeRequest, this.logger, this.config.system, this.performanceClient);\n // Get the frame handle for the silent request\n this.performanceClient.setPreQueueTime(PerformanceEvents.SilentHandlerInitiateAuthRequest, silentRequest.correlationId);\n const msalFrame = await silentHandler.initiateAuthRequest(navigateUrl);\n // Monitor the window for the hash. Return the string value and close the popup when the hash is received. Default timeout is 60 seconds.\n this.performanceClient.setPreQueueTime(PerformanceEvents.SilentHandlerMonitorIframeForHash, silentRequest.correlationId);\n const hash = await silentHandler.monitorIframeForHash(msalFrame, this.config.system.iframeHashTimeout);\n // Deserialize hash fragment response parameters.\n const serverParams: ServerAuthorizationCodeResponse = UrlString.getDeserializedHash(hash);\n const state = this.validateAndExtractStateFromHash(serverParams, InteractionType.Silent, authCodeRequest.correlationId);\n\n if (serverParams.accountId) {\n this.logger.verbose(\"Account id found in hash, calling WAM for token\");\n if (!this.nativeMessageHandler) {\n throw BrowserAuthError.createNativeConnectionNotEstablishedError();\n }\n const nativeInteractionClient = new NativeInteractionClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.apiId, this.performanceClient, this.nativeMessageHandler, serverParams.accountId, this.browserStorage, this.correlationId);\n const { userRequestState } = ProtocolUtils.parseRequestState(this.browserCrypto, state);\n return nativeInteractionClient.acquireToken({\n ...silentRequest,\n state: userRequestState,\n prompt: silentRequest.prompt || PromptValue.NONE\n }).finally(() => {\n this.browserStorage.cleanRequestByState(state);\n });\n }\n\n // Handle response from hash string\n this.performanceClient.setPreQueueTime(PerformanceEvents.HandleCodeResponseFromHash, silentRequest.correlationId);\n return silentHandler.handleCodeResponseFromHash(hash, state, authClient.authority, this.networkClient);\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;AAAA;;;;;IAmBwC,sCAAyB;IAI7D,4BAAY,MAA4B,EAAE,WAAgC,EAAE,aAAsB,EAAE,MAAc,EAAE,YAA0B,EAAE,gBAAmC,EAAE,KAAY,EAAE,iBAAqC,EAAE,iBAAsC,EAAE,oBAA2C,EAAE,aAAsB;QAArV,YACI,kBAAM,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,EAAE,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,aAAa,CAAC,SAG5I;QAFG,KAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,KAAI,CAAC,aAAa,GAAG,iBAAiB,CAAC;;KAC1C;;;;;IAMK,yCAAY,GAAlB,UAAmB,OAAyB;;;;;;wBACxC,IAAI,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,8BAA8B,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;wBACpH,IAAI,CAAC,MAAM,CAAC,OAAO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,MAAM,IAAI,WAAW,CAAC,IAAI,IAClD,CAAC,OAAO,CAAC;oCACP,KAAI,CAAC,cAAc,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC;iCAClD,CAAC,EAAC;yBACN;;wBAGD,IAAI,CAAC,iBAAiB,CAAC,eAAe,CAAC,iBAAiB,CAAC,0BAA0B,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;wBAClH,sBAAO,aAAa,CAAC,0BAA0B,CAAC,IAAI,EAAE,KAAK,EAAE,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC,aAAa,CAAC,EAAC;;;;KAC1G;IACL,yBAAC;AAAD,CAlIA,CAAwC,yBAAyB;;;;"}
1
+ {"version":3,"file":"SilentIframeClient.js","sources":["../../src/interaction_client/SilentIframeClient.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;AAAA;;;AAGG;AA+BG,MAAO,kBAAmB,SAAQ,yBAAyB,CAAA;IAI7D,WACI,CAAA,MAA4B,EAC5B,WAAgC,EAChC,aAAsB,EACtB,MAAc,EACd,YAA0B,EAC1B,gBAAmC,EACnC,KAAY,EACZ,iBAAqC,EACrC,iBAAsC,EACtC,oBAA2C,EAC3C,aAAsB,EAAA;AAEtB,QAAA,KAAK,CACD,MAAM,EACN,WAAW,EACX,aAAa,EACb,MAAM,EACN,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,CAChB,CAAC;AACF,QAAA,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;AACnB,QAAA,IAAI,CAAC,aAAa,GAAG,iBAAiB,CAAC;KAC1C;AAED;;;AAGG;IACH,MAAM,YAAY,CACd,OAAyB,EAAA;AAEzB,QAAA,IAAI,CAAC,iBAAiB,CAAC,mBAAmB,CACtC,iBAAiB,CAAC,8BAA8B,EAChD,OAAO,CAAC,aAAa,CACxB,CAAC;AACF,QAAA,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,6BAA6B,CAAC,CAAC;AACnD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AC,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAMtL"}
1
+ {"version":3,"file":"SilentRefreshClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/SilentRefreshClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EACH,uBAAuB,EACvB,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EAElB,iBAAiB,EAEpB,MAAM,oBAAoB,CAAC;AAI5B,qBAAa,mBAAoB,SAAQ,yBAAyB;IAC9D;;;OAGG;IACG,YAAY,CACd,OAAO,EAAE,uBAAuB,GACjC,OAAO,CAAC,oBAAoB,CAAC;IAwDhC;;OAEG;IACH,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAOvB;;;;OAIG;cACa,wBAAwB,CACpC,sBAAsB,EAAE,sBAAsB,EAC9C,YAAY,CAAC,EAAE,MAAM,EACrB,iBAAiB,CAAC,EAAE,iBAAiB,GACtC,OAAO,CAAC,kBAAkB,CAAC;CAajC"}
@@ -1,8 +1,7 @@
1
- /*! @azure/msal-browser v2.36.0 2023-04-18 */
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
3
  import { StandardInteractionClient } from './StandardInteractionClient.js';
5
- import { PerformanceEvents, AuthError, RefreshTokenClient } from '@azure/msal-common';
4
+ import { PerformanceEvents, RefreshTokenClient } from '@azure/msal-common';
6
5
  import { ApiId } from '../utils/BrowserConstants.js';
7
6
  import { BrowserAuthError } from '../error/BrowserAuthError.js';
8
7
 
@@ -10,91 +9,64 @@ import { BrowserAuthError } from '../error/BrowserAuthError.js';
10
9
  * Copyright (c) Microsoft Corporation. All rights reserved.
11
10
  * Licensed under the MIT License.
12
11
  */
13
- var SilentRefreshClient = /** @class */ (function (_super) {
14
- __extends(SilentRefreshClient, _super);
15
- function SilentRefreshClient() {
16
- return _super !== null && _super.apply(this, arguments) || this;
17
- }
12
+ class SilentRefreshClient extends StandardInteractionClient {
18
13
  /**
19
14
  * Exchanges the refresh token for new tokens
20
15
  * @param request
21
16
  */
22
- SilentRefreshClient.prototype.acquireToken = function (request) {
23
- return __awaiter(this, void 0, void 0, function () {
24
- var silentRequest, _a, acquireTokenMeasurement, serverTelemetryManager, refreshTokenClient;
25
- var _this = this;
26
- return __generator(this, function (_b) {
27
- switch (_b.label) {
28
- case 0:
29
- this.performanceClient.addQueueMeasurement(PerformanceEvents.SilentRefreshClientAcquireToken, request.correlationId);
30
- this.performanceClient.setPreQueueTime(PerformanceEvents.InitializeBaseRequest, request.correlationId);
31
- _a = [__assign({}, request)];
32
- return [4 /*yield*/, this.initializeBaseRequest(request)];
33
- case 1:
34
- silentRequest = __assign.apply(void 0, _a.concat([_b.sent()]));
35
- acquireTokenMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.SilentRefreshClientAcquireToken, silentRequest.correlationId);
36
- serverTelemetryManager = this.initializeServerTelemetryManager(ApiId.acquireTokenSilent_silentFlow);
37
- return [4 /*yield*/, this.createRefreshTokenClient(serverTelemetryManager, silentRequest.authority, silentRequest.azureCloudOptions)];
38
- case 2:
39
- refreshTokenClient = _b.sent();
40
- this.logger.verbose("Refresh token client created");
41
- // Send request to renew token. Auth module will throw errors if token cannot be renewed.
42
- this.performanceClient.setPreQueueTime(PerformanceEvents.RefreshTokenClientAcquireTokenByRefreshToken, request.correlationId);
43
- return [2 /*return*/, refreshTokenClient.acquireTokenByRefreshToken(silentRequest)
44
- .then(function (result) {
45
- acquireTokenMeasurement.endMeasurement({
46
- success: true,
47
- fromCache: result.fromCache,
48
- requestId: result.requestId
49
- });
50
- return result;
51
- })
52
- .catch(function (e) {
53
- if (e instanceof AuthError) {
54
- e.setCorrelationId(_this.correlationId);
55
- }
56
- serverTelemetryManager.cacheFailedRequest(e);
57
- acquireTokenMeasurement.endMeasurement({
58
- errorCode: e.errorCode,
59
- subErrorCode: e.subError,
60
- success: false
61
- });
62
- throw e;
63
- })];
64
- }
17
+ async acquireToken(request) {
18
+ this.performanceClient.addQueueMeasurement(PerformanceEvents.SilentRefreshClientAcquireToken, request.correlationId);
19
+ this.performanceClient.setPreQueueTime(PerformanceEvents.InitializeBaseRequest, request.correlationId);
20
+ const silentRequest = {
21
+ ...request,
22
+ ...(await this.initializeBaseRequest(request)),
23
+ };
24
+ const acquireTokenMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.SilentRefreshClientAcquireToken, silentRequest.correlationId);
25
+ const serverTelemetryManager = this.initializeServerTelemetryManager(ApiId.acquireTokenSilent_silentFlow);
26
+ const refreshTokenClient = await this.createRefreshTokenClient(serverTelemetryManager, silentRequest.authority, silentRequest.azureCloudOptions);
27
+ this.logger.verbose("Refresh token client created");
28
+ // Send request to renew token. Auth module will throw errors if token cannot be renewed.
29
+ this.performanceClient.setPreQueueTime(PerformanceEvents.RefreshTokenClientAcquireTokenByRefreshToken, request.correlationId);
30
+ return refreshTokenClient
31
+ .acquireTokenByRefreshToken(silentRequest)
32
+ .then((result) => {
33
+ acquireTokenMeasurement.endMeasurement({
34
+ success: true,
35
+ fromCache: result.fromCache,
36
+ requestId: result.requestId,
37
+ });
38
+ return result;
39
+ })
40
+ .catch((e) => {
41
+ e.setCorrelationId(this.correlationId);
42
+ serverTelemetryManager.cacheFailedRequest(e);
43
+ acquireTokenMeasurement.endMeasurement({
44
+ errorCode: e.errorCode,
45
+ subErrorCode: e.subError,
46
+ success: false,
65
47
  });
48
+ throw e;
66
49
  });
67
- };
50
+ }
68
51
  /**
69
52
  * Currently Unsupported
70
53
  */
71
- SilentRefreshClient.prototype.logout = function () {
54
+ logout() {
72
55
  // Synchronous so we must reject
73
56
  return Promise.reject(BrowserAuthError.createSilentLogoutUnsupportedError());
74
- };
57
+ }
75
58
  /**
76
59
  * Creates a Refresh Client with the given authority, or the default authority.
77
60
  * @param serverTelemetryManager
78
61
  * @param authorityUrl
79
62
  */
80
- SilentRefreshClient.prototype.createRefreshTokenClient = function (serverTelemetryManager, authorityUrl, azureCloudOptions) {
81
- return __awaiter(this, void 0, void 0, function () {
82
- var clientConfig;
83
- return __generator(this, function (_a) {
84
- switch (_a.label) {
85
- case 0:
86
- // Create auth module.
87
- this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientGetClientConfiguration, this.correlationId);
88
- return [4 /*yield*/, this.getClientConfiguration(serverTelemetryManager, authorityUrl, azureCloudOptions)];
89
- case 1:
90
- clientConfig = _a.sent();
91
- return [2 /*return*/, new RefreshTokenClient(clientConfig, this.performanceClient)];
92
- }
93
- });
94
- });
95
- };
96
- return SilentRefreshClient;
97
- }(StandardInteractionClient));
63
+ async createRefreshTokenClient(serverTelemetryManager, authorityUrl, azureCloudOptions) {
64
+ // Create auth module.
65
+ this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientGetClientConfiguration, this.correlationId);
66
+ const clientConfig = await this.getClientConfiguration(serverTelemetryManager, authorityUrl, azureCloudOptions);
67
+ return new RefreshTokenClient(clientConfig, this.performanceClient);
68
+ }
69
+ }
98
70
 
99
71
  export { SilentRefreshClient };
100
72
  //# sourceMappingURL=SilentRefreshClient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SilentRefreshClient.js","sources":["../../src/interaction_client/SilentRefreshClient.ts"],"sourcesContent":["/*\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { StandardInteractionClient } from \"./StandardInteractionClient\";\nimport { CommonSilentFlowRequest, AuthenticationResult, ServerTelemetryManager, RefreshTokenClient, AuthError, AzureCloudOptions, PerformanceEvents } from \"@azure/msal-common\";\nimport { ApiId } from \"../utils/BrowserConstants\";\nimport { BrowserAuthError } from \"../error/BrowserAuthError\";\n\nexport class SilentRefreshClient extends StandardInteractionClient {\n /**\n * Exchanges the refresh token for new tokens\n * @param request\n */\n async acquireToken(request: CommonSilentFlowRequest): Promise<AuthenticationResult> {\n this.performanceClient.addQueueMeasurement(PerformanceEvents.SilentRefreshClientAcquireToken, request.correlationId);\n\n this.performanceClient.setPreQueueTime(PerformanceEvents.InitializeBaseRequest, request.correlationId);\n const silentRequest: CommonSilentFlowRequest = {\n ...request,\n ...await this.initializeBaseRequest(request)\n };\n const acquireTokenMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.SilentRefreshClientAcquireToken, silentRequest.correlationId);\n const serverTelemetryManager = this.initializeServerTelemetryManager(ApiId.acquireTokenSilent_silentFlow);\n\n const refreshTokenClient = await this.createRefreshTokenClient(serverTelemetryManager, silentRequest.authority, silentRequest.azureCloudOptions);\n this.logger.verbose(\"Refresh token client created\");\n // Send request to renew token. Auth module will throw errors if token cannot be renewed.\n this.performanceClient.setPreQueueTime(PerformanceEvents.RefreshTokenClientAcquireTokenByRefreshToken, request.correlationId);\n return refreshTokenClient.acquireTokenByRefreshToken(silentRequest)\n .then((result: AuthenticationResult) => {\n acquireTokenMeasurement.endMeasurement({\n success: true,\n fromCache: result.fromCache,\n requestId: result.requestId\n });\n\n return result;\n })\n .catch((e: AuthError) => {\n if (e instanceof AuthError) {\n (e as AuthError).setCorrelationId(this.correlationId);\n }\n serverTelemetryManager.cacheFailedRequest(e);\n acquireTokenMeasurement.endMeasurement({\n errorCode: e.errorCode,\n subErrorCode: e.subError,\n success: false\n });\n throw e;\n });\n }\n\n /**\n * Currently Unsupported\n */\n logout(): Promise<void> {\n // Synchronous so we must reject\n return Promise.reject(BrowserAuthError.createSilentLogoutUnsupportedError());\n }\n\n /**\n * Creates a Refresh Client with the given authority, or the default authority.\n * @param serverTelemetryManager\n * @param authorityUrl\n */\n protected async createRefreshTokenClient(serverTelemetryManager: ServerTelemetryManager, authorityUrl?: string, azureCloudOptions?: AzureCloudOptions): Promise<RefreshTokenClient> {\n // Create auth module.\n this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientGetClientConfiguration, this.correlationId);\n const clientConfig = await this.getClientConfiguration(serverTelemetryManager, authorityUrl, az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S;iCAC9B,CAAC,CAAC;gCAEH,OAAO,MAAM,CAAC;6BACjB,CAAC;iCACD,KAAK,CAAC,UAAC,CAAY;gCAChB,IAAI,CAAC,YAAY,SAAS,EAAE;oCACvB,CAAe,CAAC,gBAAgB,CAAC,KAAI,CAAC,aAAa,CAAC,CAAC;iCACzD;gCACD,sBAAsB,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC;gCAC7C,uBAAuB,CAAC,cAAc,CAAC;oCACnC,SAAS,EAAE,CAAC,CAAC,SAAS;oCACtB,YAAY,EAAE,CAAC,CAAC,QAAQ;oCACxB,OAAO,EAAE,KAAK;iCACjB,CAAC,CAAC;gCACH,MAAM,CAAC,CAAC;6BACX,CAAC,EAAC;;;;KACV;;;;IAKD,oCAAM,GAAN;;QAEI,OAAO,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAAC,kCAAkC,EAAE,CAAC,CAAC;KAChF;;;;;;IAOe,sDAAwB,GAAxC,UAAyC,sBAA8C,EAAE,YAAqB,EAAE,iBAAqC;;;;;;;wBAEjJ,IAAI,CAAC,iBAAiB,CAAC,eAAe,CAAC,iBAAiB,CAAC,+CAA+C,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;wBACzG,qBAAM,IAAI,CAAC,sBAAsB,CAAC,sBAAsB,EAAE,YAAY,EAAE,iBAAiB,CAAC,EAAA;;wBAAzG,YAAY,GAAG,SAA0F;wBAC/G,sBAAO,IAAI,kBAAkB,CAAC,YAAY,EAAE,IAAI,CAAC,iBAAiB,CAAC,EAAC;;;;KACvE;IACL,0BAAC;AAAD,CA/DA,CAAyC,yBAAyB;;;;"}
1
+ {"version":3,"file":"SilentRefreshClient.js","sources":["../../src/interaction_client/SilentRefreshClient.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;;;AAGG;AAeG,MAAO,mBAAoB,SAAQ,yBAAyB,CAAA;AAC9D;;;AAGG;IACH,MAAM,YAAY,CACd,OAAgC,EAAA;AAEhC,QAAA,IAAI,C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AAe,CAAC,gBAAgB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;AACtD,YAAA,sBAAsB,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC;YAC7C,uBAAuB,CAAC,cAAc,CAAC;gBACnC,SAAS,EAAE,CAAC,CAAC,SAAS;gBACtB,YAAY,EAAE,CAAC,CAAC,QAAQ;AACxB,gBAAA,OAAO,EAAE,KAAK;AACjB,aAAA,CAAC,CAAC;AACH,YAAA,MAAM,CAAC,CAAC;AACZ,SAAC,CAAC,CAAC;KACV;AAED;;AAEG;IACH,MAAM,GAAA;;QAEF,OAAO,OAAO,CAAC,MAAM,CACjB,gBAAgB,CAAC,kCAAkC,EAAE,CACxD,CAAC;KACL;AAED;;;;AAIG;AACO,IAAA,MAAM,wBAAwB,CACpC,sBAA8C,EAC9C,YAAqB,EACrB,iBAAqC,EAAA;;AAGrC,QAAA,IAAI,CAAC,iBAAiB,CAAC,eAAe,CAClC,iBAAiB,CAAC,+CAA+C,EACjE,IAAI,CAAC,aAAa,CACrB,CAAC;AACF,QAAA,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,sBAAsB,CAClD,sBAAsB,EACtB,YAAY,EACZ,iBAAiB,CACpB,CAAC;QACF,OAAO,IAAI,kBAAkB,CAAC,YAAY,EAAE,IAAI,CAAC,iBAAiB,CAAC,CAAC;KACvE;AACJ;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"StandardInteractionClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/StandardInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,sBAAsB,EAAE,8BAA8B,EAAa,uBAAuB,EAAE,mBAAmB,EAAoB,SAAS,EAAoB,+BAA+B,EAAa,uBAAuB,EAA2D,WAAW,EAAE,iBAAiB,EAA+B,MAAM,oBAAoB,CAAC;AAC/X,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAA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AY,GAAC,gBAAgB,EAAE,eAAe,EAAE,eAAe,GAAG,OAAO,CAAC,uBAAuB,CAAC;CAuC7K"}
1
+ {"version":3,"file":"StandardInteractionClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/StandardInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,sBAAsB,EACtB,8BAA8B,EAE9B,uBAAuB,EACvB,mBAAmB,EAEnB,SAAS,EAET,+BAA+B,EAE/B,uBAAuB,EAKvB,WAAW,EACX,iBAAiB,EAGpB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAoB,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAO9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D;;GAEG;AACH,8BAAsB,yBAA0B,SAAQ,qBAAqB;IACzE;;;OAGG;cACa,kCAAkC,CAC9C,OAAO,EAAE,uBAAuB,GACjC,OAAO,CAAC,8BAA8B,CAAC;IAyB1C;;;OAGG;IACH,SAAS,CAAC,uBAAuB,CAC7B,aAAa,CAAC,EAAE,iBAAiB,GAClC,uBAAuB;IAgG1B;;;;OAIG;IACH,SAAS,CAAC,8BAA8B,CACpC,OAAO,EAAE,WAAW,GACrB,MAAM,GAAG,IAAI;IAmBhB;;;;OAIG;cACa,oBAAoB,CAChC,sBAAsB,EAAE,sBAAsB,EAC9C,YAAY,CAAC,EAAE,MAAM,EACrB,wBAAwB,CAAC,EAAE,iBAAiB,GAC7C,OAAO,CAAC,uBAAuB,CAAC;IAqBnC;;;;;OAKG;cACa,sBAAsB,CACl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