@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 +1 @@
1
- {"version":3,"file":"RedirectClient.js","sources":["../../src/interaction_client/RedirectClient.ts"],"sourcesContent":["/*\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { AuthenticationResult, CommonAuthorizationCodeRequest, AuthorizationCodeClient, UrlString, AuthError, ServerTelemetryManager, Constants, ProtocolUtils, ServerAuthorizationCodeResponse, ThrottlingUtils, ICrypto, Logger, IPerformanceClient, PerformanceEvents } from \"@azure/msal-common\";\nimport { StandardInteractionClient } from \"./StandardInteractionClient\";\nimport { ApiId, InteractionType, TemporaryCacheKeys } from \"../utils/BrowserConstants\";\nimport { RedirectHandler } from \"../interaction_handler/RedirectHandler\";\nimport { BrowserUtils } from \"../utils/BrowserUtils\";\nimport { EndSessionRequest } from \"../request/EndSessionRequest\";\nimport { EventType } from \"../event/EventType\";\nimport { NavigationOptions } from \"../navigation/NavigationOptions\";\nimport { BrowserAuthError } from \"../error/BrowserAuthError\";\nimport { RedirectRequest } from \"../request/RedirectRequest\";\nimport { NativeInteractionClient } from \"./NativeInteractionClient\";\nimport { NativeMessageHandler } from \"../broker/nativeBroker/NativeMessageHandler\";\nimport { BrowserConfiguration } from \"../config/Configuration\";\nimport { BrowserCacheManager } from \"../cache/BrowserCacheManager\";\nimport { EventHandler } from \"../event/EventHandler\";\nimport { INavigationClient } from \"../navigation/INavigationClient\";\n\nexport class RedirectClient extends StandardInteractionClient {\n protected nativeStorage: BrowserCacheManager;\n\n constructor(config: BrowserConfiguration, storageImpl: BrowserCacheManager, browserCrypto: ICrypto, logger: Logger, eventHandler: EventHandler, navigationClient: INavigationClient, performanceClient: IPerformanceClient, nativeStorageImpl: BrowserCacheManager, nativeMessageHandler?: NativeMessageHandler, correlationId?: string) {\n super(config, storageImpl, browserCrypto, logger, eventHandler, navigationClient, performanceClient, nativeMessageHandler, correlationId);\n this.nativeStorage = nativeStorageImpl;\n }\n\n /**\n * Redirects the page to the /authorize endpoint of the IDP\n * @param request\n */\n async acquireToken(request: RedirectRequest): Promise<void> {\n this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientInitializeAuthorizationRequest, request.correlationId);\n const validRequest = await this.initializeAuthorizationRequest(request, InteractionType.Redirect);\n this.browserStorage.updateCacheEntries(validRequest.state, validRequest.nonce, validRequest.authority, validRequest.loginHint || Constants.EMPTY_STRING, validRequest.account || null);\n const serverTelemetryManager = this.initializeServerTelemetryManager(ApiId.acquireTokenRedirect);\n\n const handleBackButton = (event: PageTransitionEvent) => {\n // Clear temporary cache if the back button is clicked during the redirect flow.\n if (event.persisted) {\n this.logger.verbose(\"Page was restored from back/forward cache. Clearing temporary cache.\");\n this.browserStorage.cleanRequestByState(validRequest.state);\n }\n };\n\n try {\n // Create auth code request and generate PKCE params\n this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientInitializeAuthorizationCodeRequest, request.correlationId);\n const authCodeRequest: CommonAuthorizationCodeRequest = await this.initializeAuthorizationCodeRequest(validRequest);\n\n // Initialize the client\n this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientCreateAuthCodeClient, request.correlationId);\n const authClient: AuthorizationCodeClient = await this.createAuthCodeClient(serverTelemetryManager, validRequest.authority, validRequest.azureCloudOptions);\n this.logger.verbose(\"Auth code client created\");\n\n // Create redirect interaction handler.\n const interactionHandler = new RedirectHandler(authClient, this.browserStorage, authCodeRequest, this.logger, this.browserCrypto, this.performanceClient);\n\n // Create acquire token url.\n const navigateUrl = await authClient.getAuthCodeUrl({\n ...validRequest,\n nativeBroker: NativeMessageHandler.isNativeAvailable(this.config, this.logger, this.nativeMessageHandler, request.authenticationScheme)\n });\n\n const redirectStartPage = this.getRedirectStartPage(request.redirectStartPage);\n this.logger.verbosePii(`Redirect start page: ${redirectStartPage}`);\n\n // Clear temporary cache if the back button is clicked during the redirect flow.\n window.addEventListener(\"pageshow\", handleBackButton);\n\n // Show the UI once the url has been created. Response will come back in the hash, which will be handled in the handleRedirectCallback function.\n return await interactionHandler.initiateAuthRequest(navigateUrl, {\n navigationClient: this.navigationClient,\n redirectTimeout: this.config.system.redirectNavigationTimeout,\n redirectStartPage: redirectStartPage,\n onRedirectNavigate: request.onRedirectNavigate\n });\n } catch (e) {\n if (e instanceof AuthError) {\n e.setCorrelationId(this.correlationId);\n }\n window.removeEventListener(\"pageshow\", handleBackButton);\n serverTelemetryManager.cacheFailedRequest(e);\n this.browserStorage.cleanRequestByState(validRequest.state);\n throw e;\n }\n }\n\n /**\n * Checks if navigateToLoginRequestUrl is set, and:\n * - if true, performs logic to cache and navigate\n * - if false, handles hash string and parses response\n * @param hash\n */\n async handleRedirectPromise(hash?: string): Promise<AuthenticationResult | null> {\n const serverTelemetryManager = this.initializeServerTelemetryManager(ApiId.handleRedirectPromise);\n try {\n if (!this.browserStorage.isInteractionInProgress(true)) {\n this.logger.info(\"handleRedirectPromise called but there is no interaction in progress, returning null.\");\n return null;\n }\n\n const responseHash = this.getRedirectResponseHash(hash || window.location.hash);\n if (!responseHash) {\n // Not a recognized server response hash or hash not associated with a redirect request\n this.logger.info(\"handleRedirectPromise did not detect a response hash as a result of a redirect. Cleaning temporary cache.\");\n this.browserStorage.cleanRequestByInteractionType(InteractionType.Redirect);\n return null;\n }\n\n let state: string;\n try {\n // Deserialize hash fragment response parameters.\n const serverParams: ServerAuthorizationCodeResponse = UrlString.getDeserializedHash(responseHash);\n state = this.validateAndExtractStateFromHash(serverParams, InteractionType.Redirect);\n this.logger.verbose(\"State extracted from hash\");\n } catch (e) {\n this.logger.info(`handleRedirectPromise was unable to extract state due to: ${e}`);\n this.browserStorage.cleanRequestByInteractionType(InteractionType.Redirect);\n return null;\n }\n\n // If navigateToLoginRequestUrl is true, get the url where the redirect request was initiated\n const loginRequestUrl = this.browserStorage.getTemporaryCache(TemporaryCacheKeys.ORIGIN_URI, true) || Constants.EMPTY_STRING;\n const loginRequestUrlNormalized = UrlString.removeHashFromUrl(loginRequestUrl);\n const currentUrlNormalized = UrlString.removeHashFromUrl(window.location.href);\n\n if (loginRequestUrlNormalized === currentUrlNormalized && this.config.auth.navigateToLoginRequestUrl) {\n // We are on the page we need to navigate to - handle hash\n this.logger.verbose(\"Current page is loginRequestUrl, handling hash\");\n const handleHashResult = await this.handleHash(responseHash, state, serverTelemetryManager);\n\n if (loginRequestUrl.indexOf(\"#\") > -1) {\n // Replace current hash with non-msal hash, if present\n BrowserUtils.replaceHash(loginRequestUrl);\n }\n\n return handleHashResult;\n } else if (!this.config.auth.navigateToLoginRequestUrl) {\n this.logger.verbose(\"NavigateToLoginRequestUrl set to false, handling hash\");\n return this.handleHash(responseHash, state, serverTelemetryManager);\n } else if (!BrowserUtils.isInIframe() || this.config.system.allowRedirectInIframe) {\n /*\n * Returned from authority using redirect - need to perform navigation before processing response\n * Cache the hash to be retrieved after the next redirect\n */\n this.browserStorage.setTemporaryCache(TemporaryCacheKeys.URL_HASH, responseHash, true);\n const navigationOptions: NavigationOptions = {\n apiId: ApiId.handleRedirectPromise,\n timeout: this.config.system.redirectNavigationTimeout,\n noHistory: true\n };\n\n /**\n * Default behavior is to redirect to the start page and not process the hash now.\n * The start page is expected to also call handleRedirectPromise which will process the hash in one of the checks above.\n */\n let processHashOnRedirect: boolean = true;\n if (!loginRequestUrl || loginRequestUrl === \"null\") {\n // Redirect to home page if login request url is null (real null or the string null)\n const homepage = BrowserUtils.getHomepage();\n // Cache the homepage under ORIGIN_URI to ensure cached hash is processed on homepage\n this.browserStorage.setTemporaryCache(TemporaryCacheKeys.ORIGIN_URI, homepage, true);\n this.logger.warning(\"Unable to get valid login request url from cache, redirecting to home page\");\n processHashOnRedirect = await this.navigationClient.navigateInternal(homepage, navigationOptions);\n } else {\n // Navigate to page that initiated the redirect request\n this.logger.verbose(`Navigating to loginRequestUrl: ${loginRequestUrl}`);\n processHashOnRedirect = await this.navigationClient.navigateInternal(loginRequestUrl, navigationOptions);\n }\n\n // If navigateInternal implementation returns false, handle the hash now\n if (!processHashOnRedirect) {\n return this.handleHash(responseHash, state, serverTelemetryManager);\n }\n }\n\n return null;\n } catch (e) {\n if (e instanceof AuthError) {\n (e as AuthError).setCorrelationId(this.correlationId);\n }\n serverTelemetryManager.cacheFailedRequest(e);\n this.browserStorage.cleanRequestByInteractionType(InteractionType.Redirect);\n throw e;\n }\n }\n\n /**\n * Gets the response hash for a redirect request\n * Returns null if interactionType in the state value is not \"redirect\" or the hash does not contain known properties\n * @param hash\n */\n protected getRedirectResponseHash(hash: string): string | null {\n this.logger.verbose(\"getRedirectResponseHash called\");\n // Get current location hash from window or cache.\n const isResponseHash: boolean = UrlString.hashContainsKnownProperties(hash);\n\n if (isResponseHash) {\n BrowserUtils.clearHash(window);\n this.logger.verbose(\"Hash contains known properties, returning response hash\");\n return hash;\n }\n\n const cachedHash = this.browserStorage.getTemporaryCache(TemporaryCacheKeys.URL_HASH, true);\n this.browserStorage.removeItem(this.browserStorage.generateCacheKey(TemporaryCacheKeys.URL_HASH));\n\n this.logger.verbose(\"Hash does not contain known properties, returning cached hash\");\n return cachedHash;\n }\n\n /**\n * Checks if hash exists and handles in window.\n * @param hash\n * @param state\n */\n protected async handleHash(hash: string, state: string, serverTelemetryManager: ServerTelemetryManager): Promise<AuthenticationResult> {\n const cachedRequest = this.browserStorage.getCachedRequest(state, this.browserCrypto);\n this.logger.verbose(\"handleHash called, retrieved cached request\");\n\n const serverParams: ServerAuthorizationCodeResponse = UrlString.getDeserializedHash(hash);\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, ApiId.acquireTokenPopup, this.performanceClient, this.nativeMessageHandler, serverParams.accountId, this.browserStorage, cachedRequest.correlationId);\n const { userRequestState } = ProtocolUtils.parseRequestState(this.browserCrypto, state);\n return nativeInteractionClient.acquireToken({\n ...cachedRequest,\n state: userRequestState,\n prompt: undefined // Server should handle the prompt, ideally native broker can do this part silently\n }).finally(() => {\n this.browserStorage.cleanRequestByState(state);\n });\n }\n\n // Hash contains known properties - handle and return in callback\n const currentAuthority = this.browserStorage.getCachedAuthority(state);\n if (!currentAuthority) {\n throw BrowserAuthError.createNoCachedAuthorityError();\n }\n this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientCreateAuthCodeClient, cachedRequest.correlationId);\n const authClient = await this.createAuthCodeClient(serverTelemetryManager, currentAuthority);\n this.logger.verbose(\"Auth code client created\");\n ThrottlingUtils.removeThrottle(this.browserStorage, this.config.auth.clientId, cachedRequest);\n const interactionHandler = new RedirectHandler(authClient, this.browserStorage, cachedRequest, this.logger, this.browserCrypto, this.performanceClient);\n return await interactionHandler.handleCodeResponseFromHash(hash, state, authClient.authority, this.networkClient);\n }\n\n /**\n * Use to log out the current user, and redirect the user to the postLogoutRedirectUri.\n * Default behaviour is to redirect the user to `window.location.href`.\n * @param logoutRequest\n */\n async logout(logoutRequest?: EndSessionRequest): Promise<void> {\n this.logger.verbose(\"logoutRedirect called\");\n const validLogoutRequest = this.initializeLogoutRequest(logoutRequest);\n const serverTelemetryManager = this.initializeServerTelemetryManager(ApiId.logout);\n\n try {\n this.eventHandler.emitEvent(EventType.LOGOUT_START, InteractionType.Redirect, logoutRequest);\n\n // Clear cache on logout\n await this.clearCacheOnLogout(validLogoutRequest.account);\n\n const navigationOptions: NavigationOptions = {\n apiId: ApiId.logout,\n timeout: this.config.system.redirectNavigationTimeout,\n noHistory: false\n };\n this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientCreateAuthCodeClient, validLogoutRequest.correlationId);\n const authClient = await this.createAuthCodeClient(serverTelemetryManager, logoutRequest && logoutRequest.authority);\n this.logger.verbose(\"Auth code client created\");\n\n // Create logout string and navigate user window to logout.\n const logoutUri: string = authClient.getLogoutUri(validLogoutRequest);\n\n this.eventHandler.emitEvent(EventType.LOGOUT_SUCCESS, InteractionType.Redirect, validLogoutRequest);\n // Check if onRedirectNavigate is implemented, and invoke it if so\n if (logoutRequest && typeof logoutRequest.onRedirectNavigate === \"function\") {\n const navigate = logoutRequest.onRedirectNavigate(logoutUri);\n\n if (navigate !== false) {\n this.logger.verbose(\"Logout onRedirectNavigate did not return false, navigating\");\n // Ensure interaction is in progress\n if (!this.browserStorage.getInteractionInProgress()) {\n this.browserStorage.setInteractionInProgress(true);\n }\n await this.navigationClient.navigateExternal(logoutUri, navigationOptions);\n return;\n } else {\n // Ensure interaction is not in progress\n this.browserStorage.setInteractionInProgress(false);\n this.logger.verbose(\"Logout onRedirectNavigate returned false, stopping navigation\");\n }\n } else {\n // Ensure interaction is in progress\n if (!this.browserStorage.getInteractionInProgress()) {\n this.browserStorage.setInteractionInProgress(true);\n }\n await this.navigationClient.navigateExternal(logoutUri, navigationOptions);\n return;\n }\n } catch(e) {\n if (e instanceof AuthError) {\n (e as AuthError).setCorrelationId(this.correlationId);\n }\n serverTelemetryManager.cacheFailedRequest(e);\n this.eventHandler.emitEvent(EventType.LOGOUT_FAILURE, InteractionType.Redirect, null, e);\n this.eventHandler.emitEvent(EventType.LOGOUT_END, InteractionType.Redirect);\n throw e;\n }\n\n this.eventHandler.emitEvent(EventType.LOGOUT_END, InteractionType.Redirect);\n }\n\n /**\n * Use to get the redirectStartPage either from request or use current window\n * @param requestStartPage\n */\n protected getRedirectStartPage(requestStartPage?: string): string {\n const redirectStartPage = requestStartPage || window.location.href;\n return UrlString.getAbsoluteUrl(redirectStartPage, BrowserUtils.getCurrentUri());\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;IAsBoC,kCAAyB;IAGzD,wBAAY,MAA4B,EAAE,WAAgC,EAAE,aAAsB,EAAE,MAAc,EAAE,YAA0B,EAAE,gBAAmC,EAAE,iBAAqC,EAAE,iBAAsC,EAAE,oBAA2C,EAAE,aAAsB;QAAvU,YACI,kBAAM,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,EAAE,YAAY,EAAE,gB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version":3,"file":"SilentAuthCodeClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/SilentAuthCodeClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,EAAwD,kBAAkB,EAAqB,MAAM,oBAAoB,CAAC;AACxK,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEpE,OAAO,EAAmB,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAEnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAE/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAEnF,qBAAa,oBAAqB,SAAQ,yBAAyB;IAC/D,OAAO,CAAC,KAAK,CAAQ;gBAET,MAAM,EAAE,oBAAoB,EAAE,WAAW,EAAE,mBAAmB,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,KAAK,EAAE,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,EAAE,aAAa,CAAC,EAAE,MAAM;IAK7S;;;OAGG;IACG,YAAY,CAAC,OAAO,EAAE,wBAAwB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAwDpF;;OAEG;IACH,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;CAI1B"}
1
+ {"version":3,"file":"SilentAuthCodeClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/SilentAuthCodeClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,oBAAoB,EACpB,OAAO,EACP,MAAM,EAIN,kBAAkB,EAErB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEpE,OAAO,EAAmB,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAEnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAE/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAEnF,qBAAa,oBAAqB,SAAQ,yBAAyB;IAC/D,OAAO,CAAC,KAAK,CAAQ;gBAGjB,MAAM,EAAE,oBAAoB,EAC5B,WAAW,EAAE,mBAAmB,EAChC,aAAa,EAAE,OAAO,EACtB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,iBAAiB,EACnC,KAAK,EAAE,KAAK,EACZ,iBAAiB,EAAE,kBAAkB,EACrC,oBAAoB,CAAC,EAAE,oBAAoB,EAC3C,aAAa,CAAC,EAAE,MAAM;IAgB1B;;;OAGG;IACG,YAAY,CACd,OAAO,EAAE,wBAAwB,GAClC,OAAO,CAAC,oBAAoB,CAAC;IAmFhC;;OAEG;IACH,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;CAM1B"}
@@ -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 } from '@azure/msal-common';
3
+ import { PerformanceEvents, Constants, AuthError } 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';
@@ -12,76 +11,64 @@ import { HybridSpaAuthorizationCodeClient } from './HybridSpaAuthorizationCodeCl
12
11
  * Copyright (c) Microsoft Corporation. All rights reserved.
13
12
  * Licensed under the MIT License.
14
13
  */
15
- var SilentAuthCodeClient = /** @class */ (function (_super) {
16
- __extends(SilentAuthCodeClient, _super);
17
- function SilentAuthCodeClient(config, storageImpl, browserCrypto, logger, eventHandler, navigationClient, apiId, performanceClient, nativeMessageHandler, correlationId) {
18
- var _this = _super.call(this, config, storageImpl, browserCrypto, logger, eventHandler, navigationClient, performanceClient, nativeMessageHandler, correlationId) || this;
19
- _this.apiId = apiId;
20
- return _this;
14
+ class SilentAuthCodeClient extends StandardInteractionClient {
15
+ constructor(config, storageImpl, browserCrypto, logger, eventHandler, navigationClient, apiId, performanceClient, nativeMessageHandler, correlationId) {
16
+ super(config, storageImpl, browserCrypto, logger, eventHandler, navigationClient, performanceClient, nativeMessageHandler, correlationId);
17
+ this.apiId = apiId;
21
18
  }
22
19
  /**
23
20
  * Acquires a token silently by redeeming an authorization code against the /token endpoint
24
21
  * @param request
25
22
  */
26
- SilentAuthCodeClient.prototype.acquireToken = function (request) {
27
- return __awaiter(this, void 0, void 0, function () {
28
- var silentRequest, serverTelemetryManager, authCodeRequest, clientConfig, authClient, silentHandler, e_1;
29
- return __generator(this, function (_a) {
30
- switch (_a.label) {
31
- case 0:
32
- this.logger.trace("SilentAuthCodeClient.acquireToken called");
33
- // Auth code payload is required
34
- if (!request.code) {
35
- throw BrowserAuthError.createAuthCodeRequiredError();
36
- }
37
- // Create silent request
38
- this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientInitializeAuthorizationRequest, request.correlationId);
39
- return [4 /*yield*/, this.initializeAuthorizationRequest(request, InteractionType.Silent)];
40
- case 1:
41
- silentRequest = _a.sent();
42
- this.browserStorage.updateCacheEntries(silentRequest.state, silentRequest.nonce, silentRequest.authority, silentRequest.loginHint || Constants.EMPTY_STRING, silentRequest.account || null);
43
- serverTelemetryManager = this.initializeServerTelemetryManager(this.apiId);
44
- _a.label = 2;
45
- case 2:
46
- _a.trys.push([2, 4, , 5]);
47
- authCodeRequest = __assign(__assign({}, silentRequest), { code: request.code });
48
- // Initialize the client
49
- this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientGetClientConfiguration, request.correlationId);
50
- return [4 /*yield*/, this.getClientConfiguration(serverTelemetryManager, silentRequest.authority)];
51
- case 3:
52
- clientConfig = _a.sent();
53
- authClient = new HybridSpaAuthorizationCodeClient(clientConfig);
54
- this.logger.verbose("Auth code client created");
55
- silentHandler = new SilentHandler(authClient, this.browserStorage, authCodeRequest, this.logger, this.config.system, this.performanceClient);
56
- // Handle auth code parameters from request
57
- return [2 /*return*/, silentHandler.handleCodeResponseFromServer({
58
- code: request.code,
59
- msgraph_host: request.msGraphHost,
60
- cloud_graph_host_name: request.cloudGraphHostName,
61
- cloud_instance_host_name: request.cloudInstanceHostName
62
- }, silentRequest.state, authClient.authority, this.networkClient, false)];
63
- case 4:
64
- e_1 = _a.sent();
65
- if (e_1 instanceof AuthError) {
66
- e_1.setCorrelationId(this.correlationId);
67
- }
68
- serverTelemetryManager.cacheFailedRequest(e_1);
69
- this.browserStorage.cleanRequestByState(silentRequest.state);
70
- throw e_1;
71
- case 5: return [2 /*return*/];
72
- }
73
- });
74
- });
75
- };
23
+ async acquireToken(request) {
24
+ this.logger.trace("SilentAuthCodeClient.acquireToken called");
25
+ // Auth code payload is required
26
+ if (!request.code) {
27
+ throw BrowserAuthError.createAuthCodeRequiredError();
28
+ }
29
+ // Create silent request
30
+ this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientInitializeAuthorizationRequest, request.correlationId);
31
+ const silentRequest = await this.initializeAuthorizationRequest(request, InteractionType.Silent);
32
+ this.browserStorage.updateCacheEntries(silentRequest.state, silentRequest.nonce, silentRequest.authority, silentRequest.loginHint || Constants.EMPTY_STRING, silentRequest.account || null);
33
+ const serverTelemetryManager = this.initializeServerTelemetryManager(this.apiId);
34
+ try {
35
+ // Create auth code request (PKCE not needed)
36
+ const authCodeRequest = {
37
+ ...silentRequest,
38
+ code: request.code,
39
+ };
40
+ // Initialize the client
41
+ this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientGetClientConfiguration, request.correlationId);
42
+ const clientConfig = await this.getClientConfiguration(serverTelemetryManager, silentRequest.authority);
43
+ const authClient = new HybridSpaAuthorizationCodeClient(clientConfig);
44
+ this.logger.verbose("Auth code client created");
45
+ // Create silent handler
46
+ const silentHandler = new SilentHandler(authClient, this.browserStorage, authCodeRequest, this.logger, this.config.system, this.performanceClient);
47
+ // Handle auth code parameters from request
48
+ return silentHandler.handleCodeResponseFromServer({
49
+ code: request.code,
50
+ msgraph_host: request.msGraphHost,
51
+ cloud_graph_host_name: request.cloudGraphHostName,
52
+ cloud_instance_host_name: request.cloudInstanceHostName,
53
+ }, silentRequest.state, authClient.authority, this.networkClient, false);
54
+ }
55
+ catch (e) {
56
+ if (e instanceof AuthError) {
57
+ e.setCorrelationId(this.correlationId);
58
+ serverTelemetryManager.cacheFailedRequest(e);
59
+ }
60
+ this.browserStorage.cleanRequestByState(silentRequest.state);
61
+ throw e;
62
+ }
63
+ }
76
64
  /**
77
65
  * Currently Unsupported
78
66
  */
79
- SilentAuthCodeClient.prototype.logout = function () {
67
+ logout() {
80
68
  // Synchronous so we must reject
81
69
  return Promise.reject(BrowserAuthError.createSilentLogoutUnsupportedError());
82
- };
83
- return SilentAuthCodeClient;
84
- }(StandardInteractionClient));
70
+ }
71
+ }
85
72
 
86
73
  export { SilentAuthCodeClient };
87
74
  //# sourceMappingURL=SilentAuthCodeClient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SilentAuthCodeClient.js","sources":["../../src/interaction_client/SilentAuthCodeClient.ts"],"sourcesContent":["/*\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { AuthenticationResult, ICrypto, Logger, CommonAuthorizationCodeRequest, AuthError, Constants, 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 { AuthorizationCodeRequest } from \"../request/AuthorizationCodeRequest\";\nimport { HybridSpaAuthorizationCodeClient } from \"./HybridSpaAuthorizationCodeClient\";\nimport { NativeMessageHandler } from \"../broker/nativeBroker/NativeMessageHandler\";\n\nexport class SilentAuthCodeClient extends StandardInteractionClient {\n private apiId: ApiId;\n\n constructor(config: BrowserConfiguration, storageImpl: BrowserCacheManager, browserCrypto: ICrypto, logger: Logger, eventHandler: EventHandler, navigationClient: INavigationClient, apiId: ApiId, performanceClient: IPerformanceClient, nativeMessageHandler?: NativeMessageHandler, correlationId?: string) {\n super(config, storageImpl, browserCrypto, logger, eventHandler, navigationClient, performanceClient, nativeMessageHandler, correlationId);\n this.apiId = apiId;\n }\n\n /**\n * Acquires a token silently by redeeming an authorization code against the /token endpoint\n * @param request\n */\n async acquireToken(request: AuthorizationCodeRequest): Promise<AuthenticationResult> {\n this.logger.trace(\"SilentAuthCodeClient.acquireToken called\");\n\n // Auth code payload is required\n if (!request.code) {\n throw BrowserAuthError.createAuthCodeRequiredError();\n\n }\n\n // Create silent request\n this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientInitializeAuthorizationRequest, request.correlationId);\n const silentRequest: AuthorizationUrlRequest = await this.initializeAuthorizationRequest(request, 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\n // Create auth code request (PKCE not needed)\n const authCodeRequest: CommonAuthorizationCodeRequest = {\n ...silentRequest,\n code: request.code\n };\n\n // Initialize the client\n this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientGetClientConfiguration, request.correlationId);\n const clientConfig = await this.getClientConfiguration(serverTelemetryManager, silentRequest.authority);\n const authClient: HybridSpaAuthorizationCodeClient = new HybridSpaAuthorizationCodeClient(clientConfig);\n this.logger.verbose(\"Auth code client created\");\n\n // Create silent handler\n const silentHandler = new SilentHandler(authClient, this.browserStorage, authCodeRequest, this.logger, this.config.system, this.performanceClient);\n\n // Handle auth code parameters from request\n return silentHandler.handleCodeResponseFromServer(\n {\n code: request.code,\n msgraph_host: request.msGraphHost,\n cloud_graph_host_name: request.cloudGraphHostName,\n cloud_instance_host_name: request.cloudInstanceHostName\n },\n silentRequest.state,\n authClient.authority,\n this.networkClient,\n false\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 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"],"names":[],"mappings":";;;;;;;;;;AAAA;;;;;IAmB0C,wCAAyB;IAG/D,8BAAY,MAA4B,EAAE,WAAgC,EAAE,aAAsB,EAAE,MAAc,EAAE,YAA0B,EAAE,gBAAmC,EAAE,KAAY,EAAE,iBAAqC,EAAE,oBAA2C,EAAE,aAAsB;QAA7S,YACI,kBAAM,MAAM,EAAE,WAAW,EAAE,a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","sourceRoot":"","sources":["../../src/interaction_client/SilentCacheClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,WAAW,EAAE,iBAAiB,EAAgC,MAAM,oBAAoB,CAAC;AAC3L,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAIzD,qBAAa,iBAAkB,SAAQ,yBAAyB;IAC5D;;;OAGG;IACG,YAAY,CAAC,aAAa,EAAE,uBAAuB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IA6BzF;;OAEG;IACH,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAKvB;;;;OAIG;cACa,sBAAsB,CAAC,sBAAsB,EAAE,sBAAsB,EAAE,YAAY,CAAC,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAOzK,uBAAuB,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,uBAAuB,CAAC;CAWhH"}
1
+ {"version":3,"file":"SilentCacheClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/SilentCacheClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EACH,uBAAuB,EACvB,oBAAoB,EACpB,gBAAgB,EAChB,sBAAsB,EACtB,WAAW,EACX,iBAAiB,EAGpB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAOzD,qBAAa,iBAAkB,SAAQ,yBAAyB;IAC5D;;;OAGG;IACG,YAAY,CACd,aAAa,EAAE,uBAAuB,GACvC,OAAO,CAAC,oBAAoB,CAAC;IAiDhC;;OAEG;IACH,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAOvB;;;;OAIG;cACa,sBAAsB,CAClC,sBAAsB,EAAE,sBAAsB,EAC9C,YAAY,CAAC,EAAE,MAAM,EACrB,iBAAiB,CAAC,EAAE,iBAAiB,GACtC,OAAO,CAAC,gBAAgB,CAAC;IActB,uBAAuB,CACzB,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,WAAW,GACrB,OAAO,CAAC,uBAAuB,CAAC;CAiBtC"}
@@ -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 { AuthError, PerformanceEvents, SilentFlowClient } from '@azure/msal-common';
4
+ import { PerformanceEvents, AuthError, SilentFlowClient } from '@azure/msal-common';
6
5
  import { ApiId } from '../utils/BrowserConstants.js';
7
6
  import { BrowserAuthError, BrowserAuthErrorMessage } from '../error/BrowserAuthError.js';
8
7
 
@@ -10,99 +9,69 @@ import { BrowserAuthError, BrowserAuthErrorMessage } from '../error/BrowserAuthE
10
9
  * Copyright (c) Microsoft Corporation. All rights reserved.
11
10
  * Licensed under the MIT License.
12
11
  */
13
- var SilentCacheClient = /** @class */ (function (_super) {
14
- __extends(SilentCacheClient, _super);
15
- function SilentCacheClient() {
16
- return _super !== null && _super.apply(this, arguments) || this;
17
- }
12
+ class SilentCacheClient extends StandardInteractionClient {
18
13
  /**
19
14
  * Returns unexpired tokens from the cache, if available
20
15
  * @param silentRequest
21
16
  */
22
- SilentCacheClient.prototype.acquireToken = function (silentRequest) {
23
- return __awaiter(this, void 0, void 0, function () {
24
- var acquireTokenMeasurement, serverTelemetryManager, silentAuthClient, cachedToken, error_1;
25
- return __generator(this, function (_a) {
26
- switch (_a.label) {
27
- case 0:
28
- acquireTokenMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.SilentCacheClientAcquireToken, silentRequest.correlationId);
29
- serverTelemetryManager = this.initializeServerTelemetryManager(ApiId.acquireTokenSilent_silentFlow);
30
- return [4 /*yield*/, this.createSilentFlowClient(serverTelemetryManager, silentRequest.authority, silentRequest.azureCloudOptions)];
31
- case 1:
32
- silentAuthClient = _a.sent();
33
- this.logger.verbose("Silent auth client created");
34
- _a.label = 2;
35
- case 2:
36
- _a.trys.push([2, 4, , 5]);
37
- return [4 /*yield*/, silentAuthClient.acquireCachedToken(silentRequest)];
38
- case 3:
39
- cachedToken = _a.sent();
40
- acquireTokenMeasurement.endMeasurement({
41
- success: true,
42
- fromCache: true
43
- });
44
- return [2 /*return*/, cachedToken];
45
- case 4:
46
- error_1 = _a.sent();
47
- if (error_1 instanceof BrowserAuthError && error_1.errorCode === BrowserAuthErrorMessage.signingKeyNotFoundInStorage.code) {
48
- this.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair.");
49
- }
50
- acquireTokenMeasurement.endMeasurement({
51
- errorCode: error_1 instanceof AuthError && error_1.errorCode || undefined,
52
- subErrorCode: error_1 instanceof AuthError && error_1.subError || undefined,
53
- success: false
54
- });
55
- throw error_1;
56
- case 5: return [2 /*return*/];
57
- }
17
+ async acquireToken(silentRequest) {
18
+ const acquireTokenMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.SilentCacheClientAcquireToken, silentRequest.correlationId);
19
+ // Telemetry manager only used to increment cacheHits here
20
+ const serverTelemetryManager = this.initializeServerTelemetryManager(ApiId.acquireTokenSilent_silentFlow);
21
+ const silentAuthClient = await this.createSilentFlowClient(serverTelemetryManager, silentRequest.authority, silentRequest.azureCloudOptions);
22
+ this.logger.verbose("Silent auth client created");
23
+ try {
24
+ const cachedToken = await silentAuthClient.acquireCachedToken(silentRequest);
25
+ acquireTokenMeasurement.endMeasurement({
26
+ success: true,
27
+ fromCache: true,
28
+ });
29
+ return cachedToken;
30
+ }
31
+ catch (error) {
32
+ if (error instanceof BrowserAuthError &&
33
+ error.errorCode ===
34
+ BrowserAuthErrorMessage.signingKeyNotFoundInStorage.code) {
35
+ this.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair.");
36
+ }
37
+ acquireTokenMeasurement.endMeasurement({
38
+ errorCode: (error instanceof AuthError && error.errorCode) ||
39
+ undefined,
40
+ subErrorCode: (error instanceof AuthError && error.subError) || undefined,
41
+ success: false,
58
42
  });
59
- });
60
- };
43
+ throw error;
44
+ }
45
+ }
61
46
  /**
62
47
  * Currently Unsupported
63
48
  */
64
- SilentCacheClient.prototype.logout = function () {
49
+ logout() {
65
50
  // Synchronous so we must reject
66
51
  return Promise.reject(BrowserAuthError.createSilentLogoutUnsupportedError());
67
- };
52
+ }
68
53
  /**
69
54
  * Creates an Silent Flow Client with the given authority, or the default authority.
70
55
  * @param serverTelemetryManager
71
56
  * @param authorityUrl
72
57
  */
73
- SilentCacheClient.prototype.createSilentFlowClient = function (serverTelemetryManager, authorityUrl, azureCloudOptions) {
74
- return __awaiter(this, void 0, void 0, function () {
75
- var clientConfig;
76
- return __generator(this, function (_a) {
77
- switch (_a.label) {
78
- case 0:
79
- // Create auth module.
80
- this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientGetClientConfiguration, this.correlationId);
81
- return [4 /*yield*/, this.getClientConfiguration(serverTelemetryManager, authorityUrl, azureCloudOptions)];
82
- case 1:
83
- clientConfig = _a.sent();
84
- return [2 /*return*/, new SilentFlowClient(clientConfig, this.performanceClient)];
85
- }
86
- });
87
- });
88
- };
89
- SilentCacheClient.prototype.initializeSilentRequest = function (request, account) {
90
- return __awaiter(this, void 0, void 0, function () {
91
- var _a;
92
- return __generator(this, function (_b) {
93
- switch (_b.label) {
94
- case 0:
95
- this.performanceClient.addQueueMeasurement(PerformanceEvents.InitializeSilentRequest, this.correlationId);
96
- this.performanceClient.setPreQueueTime(PerformanceEvents.InitializeBaseRequest, this.correlationId);
97
- _a = [__assign({}, request)];
98
- return [4 /*yield*/, this.initializeBaseRequest(request)];
99
- case 1: return [2 /*return*/, __assign.apply(void 0, [__assign.apply(void 0, _a.concat([_b.sent()])), { account: account, forceRefresh: request.forceRefresh || false }])];
100
- }
101
- });
102
- });
103
- };
104
- return SilentCacheClient;
105
- }(StandardInteractionClient));
58
+ async createSilentFlowClient(serverTelemetryManager, authorityUrl, azureCloudOptions) {
59
+ // Create auth module.
60
+ this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientGetClientConfiguration, this.correlationId);
61
+ const clientConfig = await this.getClientConfiguration(serverTelemetryManager, authorityUrl, azureCloudOptions);
62
+ return new SilentFlowClient(clientConfig, this.performanceClient);
63
+ }
64
+ async initializeSilentRequest(request, account) {
65
+ this.performanceClient.addQueueMeasurement(PerformanceEvents.InitializeSilentRequest, this.correlationId);
66
+ this.performanceClient.setPreQueueTime(PerformanceEvents.InitializeBaseRequest, this.correlationId);
67
+ return {
68
+ ...request,
69
+ ...(await this.initializeBaseRequest(request)),
70
+ account: account,
71
+ forceRefresh: request.forceRefresh || false,
72
+ };
73
+ }
74
+ }
106
75
 
107
76
  export { SilentCacheClient };
108
77
  //# sourceMappingURL=SilentCacheClient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SilentCacheClient.js","sources":["../../src/interaction_client/SilentCacheClient.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, SilentFlowClient, ServerTelemetryManager, AccountInfo, AzureCloudOptions, PerformanceEvents, AuthError } from \"@azure/msal-common\";\nimport { SilentRequest } from \"../request/SilentRequest\";\nimport { ApiId } from \"../utils/BrowserConstants\";\nimport { BrowserAuthError, BrowserAuthErrorMessage } from \"../error/BrowserAuthError\";\n\nexport class SilentCacheClient extends StandardInteractionClient {\n /**\n * Returns unexpired tokens from the cache, if available\n * @param silentRequest\n */\n async acquireToken(silentRequest: CommonSilentFlowRequest): Promise<AuthenticationResult> {\n const acquireTokenMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.SilentCacheClientAcquireToken, silentRequest.correlationId);\n // Telemetry manager only used to increment cacheHits here\n const serverTelemetryManager = this.initializeServerTelemetryManager(ApiId.acquireTokenSilent_silentFlow);\n\n const silentAuthClient = await this.createSilentFlowClient(serverTelemetryManager, silentRequest.authority, silentRequest.azureCloudOptions);\n this.logger.verbose(\"Silent auth client created\");\n\n try {\n const cachedToken = await silentAuthClient.acquireCachedToken(silentRequest);\n\n acquireTokenMeasurement.endMeasurement({\n success: true,\n fromCache: true\n });\n return cachedToken;\n } catch (error) {\n if (error instanceof BrowserAuthError && error.errorCode === BrowserAuthErrorMessage.signingKeyNotFoundInStorage.code) {\n this.logger.verbose(\"Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair.\");\n }\n acquireTokenMeasurement.endMeasurement({\n errorCode: error instanceof AuthError && error.errorCode || undefined,\n subErrorCode: error instanceof AuthError && error.subError || undefined,\n success: false\n });\n throw error;\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 an Silent Flow Client with the given authority, or the default authority.\n * @param serverTelemetryManager\n * @param authorityUrl\n */\n protected async createSilentFlowClient(serverTelemetryManager: ServerTelemetryManager, authorityUrl?: string, azureCloudOptions?: AzureCloudOptions): Promise<SilentFlowClient> {\n // Create auth module.\n this.performanceClient.setPreQueueTime(PerformanceEvents.StandardInteractionClientGetClientConfiguration, this.correlationId);\n const clientConfig = await this.getClientConfiguration(serverTelemetryManager, authorityUrl, azureCloudOptions);\n return new SilentFlowClient(clientConfig, this.performanceClient);\n }\n\n async initializeSilentRequest(request: SilentRequest, account: AccountInfo): Promise<CommonSilentFlowRequest> {\n this.performanceClient.addQueueMeasurement(PerformanceEvents.InitializeSilentRequest, this.correlationId);\n\n this.performanceClient.setPreQueueTime(PerformanceEvents.InitializeBaseRequest, this.correlationId);\n return {\n ...request,\n ...await this.initializeBaseRequest(request),\n account: account,\n forceRefresh: request.forceRefresh || false\n };\n }\n}\n"],"names":[],"mappings":";;;;;;;;AAAA;;;;;IAWuC,qCAAyB;IAAhE;;KAiEC;;;;;IA5DS,wCAAY,GAAlB,UAAmB,aAAsC;;;;;;wBAC/C,uBAAuB,GAAG,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,6BAA6B,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;wBAEhJ,sBAAsB,GAAG,IAAI,CAAC,gCAAgC,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC;wBAEjF,qBAAM,IAAI,CAAC,sBAAsB,CAAC,sBAAsB,EAAE,aAAa,CAAC,SAAS,EAAE,aAAa,CAAC,iBAAiB,CAAC,EAAA;;wBAAtI,gBAAgB,GAAG,SAAmH;wBAC5I,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,4BAA4B,CAAC,CAAC;;;;wBAG1B,qBAAM,gBAAgB,CAAC,kBAAkB,CAAC,aAAa,CAAC,EAAA;;wBAAtE,WAAW,GAAG,SAAwD;wBAE5E,uBAAuB,CAAC,cAAc,CAAC;4BACnC,OAAO,EAAE,IAAI;4BACb,SAAS,EAAE,IAAI;yBAClB,CAAC,CAAC;wBACH,sBAAO,WAAW,EAAC;;;wBAEnB,IAAI,OAAK,YAAY,gBAAgB,IAAI,OAAK,CAAC,SAAS,KAAK,uBAAuB,CAAC,2BAA2B,CAAC,IAAI,EAAE;4BACnH,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,sHAAsH,CAAC,CAAC;yBAC/I;wBACD,uBAAuB,CAAC,cAAc,CAAC;4BACnC,SAAS,EAAE,OAAK,YAAY,SAAS,IAAI,OAAK,CAAC,SAAS,IAAI,SAAS;4BACrE,YAAY,EAAE,OAAK,YAAY,SAAS,IAAI,OAAK,CAAC,QAAQ,IAAI,SAAS;4BACvE,OAAO,EAAE,KAAK;y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MAAM,GAAA;;QAEF,OAAO,OAAO,CAAC,MAAM,CACjB,gBAAgB,CAAC,kCAAkC,EAAE,CACxD,CAAC;KACL;AAED;;;;AAIG;AACO,IAAA,MAAM,sBAAsB,CAClC,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,gBAAgB,CAAC,YAAY,EAAE,IAAI,CAAC,iBAAiB,CAAC,CAAC;KACrE;AAED,IAAA,MAAM,uBAAuB,CACzB,OAAsB,EACtB,OAAoB,EAAA;AAEpB,QAAA,IAAI,CAAC,iBAAiB,CAAC,mBAAmB,CACtC,iBAAiB,CAAC,uBAAuB,EACzC,IAAI,CAAC,aAAa,CACrB,CAAC;AAEF,QAAA,IAAI,CAAC,iBAAiB,CAAC,eAAe,CAClC,iBAAiB,CAAC,qBAAqB,EACvC,IAAI,CAAC,aAAa,CACrB,CAAC;QACF,OAAO;AACH,YAAA,GAAG,OAAO;YACV,IAAI,MAAM,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC;AAC9C,YAAA,OAAO,EAAE,OAAO;AAChB,YAAA,YAAY,EAAE,OAAO,CAAC,YAAY,IAAI,KAAK;SAC9C,CAAC;KACL;AACJ;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"SilentIframeClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/SilentIframeClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,EAA4D,uBAAuB,EAAmF,kBAAkB,EAAqB,MAAM,oBAAoB,CAAC;AACtR,OAAO,EAAE,yBAAyB,EAAE,MAAM,6B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