@azure/msal-browser 2.37.0 → 3.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (556) hide show
  1. package/dist/app/IPublicClientApplication.d.ts.map +1 -1
  2. package/dist/app/IPublicClientApplication.js +33 -33
  3. package/dist/app/IPublicClientApplication.js.map +1 -1
  4. package/dist/app/PublicClientApplication.d.ts +198 -24
  5. package/dist/app/PublicClientApplication.d.ts.map +1 -1
  6. package/dist/app/PublicClientApplication.js +263 -220
  7. package/dist/app/PublicClientApplication.js.map +1 -1
  8. package/dist/broker/nativeBroker/NativeMessageHandler.d.ts +5 -4
  9. package/dist/broker/nativeBroker/NativeMessageHandler.d.ts.map +1 -1
  10. package/dist/broker/nativeBroker/NativeMessageHandler.js +118 -124
  11. package/dist/broker/nativeBroker/NativeMessageHandler.js.map +1 -1
  12. package/dist/broker/nativeBroker/NativeRequest.d.ts +4 -4
  13. package/dist/broker/nativeBroker/NativeRequest.d.ts.map +1 -1
  14. package/dist/broker/nativeBroker/NativeResponse.d.ts +4 -4
  15. package/dist/broker/nativeBroker/NativeResponse.d.ts.map +1 -1
  16. package/dist/cache/AsyncMemoryStorage.d.ts.map +1 -1
  17. package/dist/cache/AsyncMemoryStorage.js +83 -152
  18. package/dist/cache/AsyncMemoryStorage.js.map +1 -1
  19. package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
  20. package/dist/cache/BrowserCacheManager.js +420 -412
  21. package/dist/cache/BrowserCacheManager.js.map +1 -1
  22. package/dist/cache/BrowserStorage.d.ts.map +1 -1
  23. package/dist/cache/BrowserStorage.js +19 -19
  24. package/dist/cache/BrowserStorage.js.map +1 -1
  25. package/dist/cache/CryptoKeyStore.d.ts.map +1 -1
  26. package/dist/cache/CryptoKeyStore.js +26 -36
  27. package/dist/cache/CryptoKeyStore.js.map +1 -1
  28. package/dist/cache/DatabaseStorage.d.ts.map +1 -1
  29. package/dist/cache/DatabaseStorage.js +127 -191
  30. package/dist/cache/DatabaseStorage.js.map +1 -1
  31. package/dist/cache/ITokenCache.d.ts.map +1 -1
  32. package/dist/cache/MemoryStorage.d.ts.map +1 -1
  33. package/dist/cache/MemoryStorage.js +18 -19
  34. package/dist/cache/MemoryStorage.js.map +1 -1
  35. package/dist/cache/TokenCache.d.ts +1 -1
  36. package/dist/cache/TokenCache.d.ts.map +1 -1
  37. package/dist/cache/TokenCache.js +55 -49
  38. package/dist/cache/TokenCache.js.map +1 -1
  39. package/dist/config/Configuration.d.ts +8 -8
  40. package/dist/config/Configuration.d.ts.map +1 -1
  41. package/dist/config/Configuration.js +53 -31
  42. package/dist/config/Configuration.js.map +1 -1
  43. package/dist/controllers/ControllerFactory.d.ts +10 -0
  44. package/dist/controllers/ControllerFactory.d.ts.map +1 -0
  45. package/dist/controllers/ControllerFactory.js +47 -0
  46. package/dist/controllers/ControllerFactory.js.map +1 -0
  47. package/dist/controllers/IController.d.ts +67 -0
  48. package/dist/controllers/IController.d.ts.map +1 -0
  49. package/dist/{app/ClientApplication.d.ts → controllers/StandardController.d.ts} +96 -15
  50. package/dist/controllers/StandardController.d.ts.map +1 -0
  51. package/dist/controllers/StandardController.js +1299 -0
  52. package/dist/controllers/StandardController.js.map +1 -0
  53. package/dist/crypto/BrowserCrypto.d.ts.map +1 -1
  54. package/dist/crypto/BrowserCrypto.js +36 -60
  55. package/dist/crypto/BrowserCrypto.js.map +1 -1
  56. package/dist/crypto/CryptoOps.d.ts +1 -1
  57. package/dist/crypto/CryptoOps.d.ts.map +1 -1
  58. package/dist/crypto/CryptoOps.js +93 -151
  59. package/dist/crypto/CryptoOps.js.map +1 -1
  60. package/dist/crypto/GuidGenerator.d.ts.map +1 -1
  61. package/dist/crypto/GuidGenerator.js +36 -25
  62. package/dist/crypto/GuidGenerator.js.map +1 -1
  63. package/dist/crypto/ISubtleCrypto.d.ts.map +1 -1
  64. package/dist/crypto/ModernBrowserCrypto.d.ts.map +1 -1
  65. package/dist/crypto/ModernBrowserCrypto.js +20 -44
  66. package/dist/crypto/ModernBrowserCrypto.js.map +1 -1
  67. package/dist/crypto/MsBrowserCrypto.d.ts.map +1 -1
  68. package/dist/crypto/MsBrowserCrypto.js +65 -89
  69. package/dist/crypto/MsBrowserCrypto.js.map +1 -1
  70. package/dist/crypto/MsrBrowserCrypto.d.ts.map +1 -1
  71. package/dist/crypto/MsrBrowserCrypto.js +23 -47
  72. package/dist/crypto/MsrBrowserCrypto.js.map +1 -1
  73. package/dist/crypto/PkceGenerator.d.ts.map +1 -1
  74. package/dist/crypto/PkceGenerator.js +28 -49
  75. package/dist/crypto/PkceGenerator.js.map +1 -1
  76. package/dist/crypto/SignedHttpRequest.d.ts +1 -1
  77. package/dist/crypto/SignedHttpRequest.d.ts.map +1 -1
  78. package/dist/crypto/SignedHttpRequest.js +15 -37
  79. package/dist/crypto/SignedHttpRequest.js.map +1 -1
  80. package/dist/encode/Base64Decode.d.ts.map +1 -1
  81. package/dist/encode/Base64Decode.js +32 -33
  82. package/dist/encode/Base64Decode.js.map +1 -1
  83. package/dist/encode/Base64Encode.d.ts.map +1 -1
  84. package/dist/encode/Base64Encode.js +34 -35
  85. package/dist/encode/Base64Encode.js.map +1 -1
  86. package/dist/error/BrowserAuthError.d.ts +1 -1
  87. package/dist/error/BrowserAuthError.d.ts.map +1 -1
  88. package/dist/error/BrowserAuthError.js +161 -163
  89. package/dist/error/BrowserAuthError.js.map +1 -1
  90. package/dist/error/BrowserConfigurationAuthError.d.ts.map +1 -1
  91. package/dist/error/BrowserConfigurationAuthError.js +32 -36
  92. package/dist/error/BrowserConfigurationAuthError.js.map +1 -1
  93. package/dist/error/NativeAuthError.d.ts +1 -1
  94. package/dist/error/NativeAuthError.d.ts.map +1 -1
  95. package/dist/error/NativeAuthError.js +26 -27
  96. package/dist/error/NativeAuthError.js.map +1 -1
  97. package/dist/event/EventHandler.d.ts.map +1 -1
  98. package/dist/event/EventHandler.js +33 -33
  99. package/dist/event/EventHandler.js.map +1 -1
  100. package/dist/event/EventMessage.d.ts +5 -5
  101. package/dist/event/EventMessage.d.ts.map +1 -1
  102. package/dist/event/EventMessage.js +18 -14
  103. package/dist/event/EventMessage.js.map +1 -1
  104. package/dist/event/EventType.js +1 -1
  105. package/dist/event/EventType.js.map +1 -1
  106. package/dist/index.d.ts +8 -8
  107. package/dist/index.d.ts.map +1 -1
  108. package/dist/index.js +1 -1
  109. package/dist/interaction_client/BaseInteractionClient.d.ts.map +1 -1
  110. package/dist/interaction_client/BaseInteractionClient.js +92 -123
  111. package/dist/interaction_client/BaseInteractionClient.js.map +1 -1
  112. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -1
  113. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.js +6 -10
  114. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.js.map +1 -1
  115. package/dist/interaction_client/NativeInteractionClient.d.ts.map +1 -1
  116. package/dist/interaction_client/NativeInteractionClient.js +336 -393
  117. package/dist/interaction_client/NativeInteractionClient.js.map +1 -1
  118. package/dist/interaction_client/PopupClient.d.ts +1 -1
  119. package/dist/interaction_client/PopupClient.d.ts.map +1 -1
  120. package/dist/interaction_client/PopupClient.js +224 -246
  121. package/dist/interaction_client/PopupClient.js.map +1 -1
  122. package/dist/interaction_client/RedirectClient.d.ts.map +1 -1
  123. package/dist/interaction_client/RedirectClient.js +244 -292
  124. package/dist/interaction_client/RedirectClient.js.map +1 -1
  125. package/dist/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
  126. package/dist/interaction_client/SilentAuthCodeClient.js +50 -63
  127. package/dist/interaction_client/SilentAuthCodeClient.js.map +1 -1
  128. package/dist/interaction_client/SilentCacheClient.d.ts.map +1 -1
  129. package/dist/interaction_client/SilentCacheClient.js +50 -81
  130. package/dist/interaction_client/SilentCacheClient.js.map +1 -1
  131. package/dist/interaction_client/SilentIframeClient.d.ts.map +1 -1
  132. package/dist/interaction_client/SilentIframeClient.js +107 -125
  133. package/dist/interaction_client/SilentIframeClient.js.map +1 -1
  134. package/dist/interaction_client/SilentRefreshClient.d.ts.map +1 -1
  135. package/dist/interaction_client/SilentRefreshClient.js +44 -72
  136. package/dist/interaction_client/SilentRefreshClient.js.map +1 -1
  137. package/dist/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  138. package/dist/interaction_client/StandardInteractionClient.js +144 -180
  139. package/dist/interaction_client/StandardInteractionClient.js.map +1 -1
  140. package/dist/interaction_handler/InteractionHandler.d.ts +1 -1
  141. package/dist/interaction_handler/InteractionHandler.d.ts.map +1 -1
  142. package/dist/interaction_handler/InteractionHandler.js +84 -110
  143. package/dist/interaction_handler/InteractionHandler.js.map +1 -1
  144. package/dist/interaction_handler/RedirectHandler.d.ts +1 -1
  145. package/dist/interaction_handler/RedirectHandler.d.ts.map +1 -1
  146. package/dist/interaction_handler/RedirectHandler.js +105 -122
  147. package/dist/interaction_handler/RedirectHandler.js.map +1 -1
  148. package/dist/interaction_handler/SilentHandler.d.ts.map +1 -1
  149. package/dist/interaction_handler/SilentHandler.js +76 -65
  150. package/dist/interaction_handler/SilentHandler.js.map +1 -1
  151. package/dist/internals.js +1 -1
  152. package/dist/internals.js.map +1 -1
  153. package/dist/navigation/NavigationClient.d.ts.map +1 -1
  154. package/dist/navigation/NavigationClient.js +11 -14
  155. package/dist/navigation/NavigationClient.js.map +1 -1
  156. package/dist/navigation/NavigationOptions.d.ts +1 -1
  157. package/dist/navigation/NavigationOptions.d.ts.map +1 -1
  158. package/dist/network/FetchClient.d.ts.map +1 -1
  159. package/dist/network/FetchClient.js +66 -96
  160. package/dist/network/FetchClient.js.map +1 -1
  161. package/dist/network/XhrClient.d.ts.map +1 -1
  162. package/dist/network/XhrClient.js +38 -51
  163. package/dist/network/XhrClient.js.map +1 -1
  164. package/dist/operatingcontext/BaseOperatingContext.d.ts +41 -0
  165. package/dist/operatingcontext/BaseOperatingContext.d.ts.map +1 -0
  166. package/dist/operatingcontext/BaseOperatingContext.js +53 -0
  167. package/dist/operatingcontext/BaseOperatingContext.js.map +1 -0
  168. package/dist/operatingcontext/StandardOperatingContext.d.ts +26 -0
  169. package/dist/operatingcontext/StandardOperatingContext.d.ts.map +1 -0
  170. package/dist/operatingcontext/StandardOperatingContext.js +50 -0
  171. package/dist/operatingcontext/StandardOperatingContext.js.map +1 -0
  172. package/dist/operatingcontext/TeamsAppOperatingContext.d.ts +26 -0
  173. package/dist/operatingcontext/TeamsAppOperatingContext.d.ts.map +1 -0
  174. package/dist/operatingcontext/TeamsAppOperatingContext.js +49 -0
  175. package/dist/operatingcontext/TeamsAppOperatingContext.js.map +1 -0
  176. package/dist/packageMetadata.d.ts +1 -1
  177. package/dist/packageMetadata.d.ts.map +1 -1
  178. package/dist/packageMetadata.js +3 -3
  179. package/dist/packageMetadata.js.map +1 -1
  180. package/dist/request/AuthorizationCodeRequest.d.ts +1 -1
  181. package/dist/request/AuthorizationCodeRequest.d.ts.map +1 -1
  182. package/dist/request/AuthorizationUrlRequest.d.ts +1 -1
  183. package/dist/request/AuthorizationUrlRequest.d.ts.map +1 -1
  184. package/dist/request/EndSessionPopupRequest.d.ts +1 -1
  185. package/dist/request/EndSessionPopupRequest.d.ts.map +1 -1
  186. package/dist/request/EndSessionRequest.d.ts +1 -1
  187. package/dist/request/EndSessionRequest.d.ts.map +1 -1
  188. package/dist/request/PopupRequest.d.ts +1 -1
  189. package/dist/request/PopupRequest.d.ts.map +1 -1
  190. package/dist/request/PopupWindowAttributes.d.ts +3 -3
  191. package/dist/request/PopupWindowAttributes.d.ts.map +1 -1
  192. package/dist/request/RedirectRequest.d.ts +1 -1
  193. package/dist/request/RedirectRequest.d.ts.map +1 -1
  194. package/dist/request/SilentRequest.d.ts +1 -1
  195. package/dist/request/SilentRequest.d.ts.map +1 -1
  196. package/dist/request/SsoSilentRequest.d.ts +1 -1
  197. package/dist/request/SsoSilentRequest.d.ts.map +1 -1
  198. package/dist/telemetry/BrowserPerformanceClient.d.ts +1 -1
  199. package/dist/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  200. package/dist/telemetry/BrowserPerformanceClient.js +62 -57
  201. package/dist/telemetry/BrowserPerformanceClient.js.map +1 -1
  202. package/dist/telemetry/BrowserPerformanceMeasurement.d.ts.map +1 -1
  203. package/dist/telemetry/BrowserPerformanceMeasurement.js +30 -31
  204. package/dist/telemetry/BrowserPerformanceMeasurement.js.map +1 -1
  205. package/dist/utils/BrowserConstants.d.ts.map +1 -1
  206. package/dist/utils/BrowserConstants.js +10 -10
  207. package/dist/utils/BrowserConstants.js.map +1 -1
  208. package/dist/utils/BrowserProtocolUtils.d.ts +1 -1
  209. package/dist/utils/BrowserProtocolUtils.d.ts.map +1 -1
  210. package/dist/utils/BrowserProtocolUtils.js +9 -12
  211. package/dist/utils/BrowserProtocolUtils.js.map +1 -1
  212. package/dist/utils/BrowserStringUtils.d.ts.map +1 -1
  213. package/dist/utils/BrowserStringUtils.js +83 -49
  214. package/dist/utils/BrowserStringUtils.js.map +1 -1
  215. package/dist/utils/BrowserUtils.d.ts.map +1 -1
  216. package/dist/utils/BrowserUtils.js +51 -49
  217. package/dist/utils/BrowserUtils.js.map +1 -1
  218. package/dist/utils/MathUtils.d.ts.map +1 -1
  219. package/dist/utils/MathUtils.js +6 -9
  220. package/dist/utils/MathUtils.js.map +1 -1
  221. package/node_modules/@azure/msal-common/LICENSE +21 -0
  222. package/node_modules/@azure/msal-common/README.md +62 -0
  223. package/node_modules/@azure/msal-common/dist/account/AccountInfo.d.ts +32 -0
  224. package/node_modules/@azure/msal-common/dist/account/AccountInfo.d.ts.map +1 -0
  225. package/node_modules/@azure/msal-common/dist/account/AuthToken.d.ts +21 -0
  226. package/node_modules/@azure/msal-common/dist/account/AuthToken.d.ts.map +1 -0
  227. package/node_modules/@azure/msal-common/dist/account/AuthToken.js +56 -0
  228. package/node_modules/@azure/msal-common/dist/account/AuthToken.js.map +1 -0
  229. package/node_modules/@azure/msal-common/dist/account/CcsCredential.d.ts +9 -0
  230. package/node_modules/@azure/msal-common/dist/account/CcsCredential.d.ts.map +1 -0
  231. package/node_modules/@azure/msal-common/dist/account/CcsCredential.js +14 -0
  232. package/node_modules/@azure/msal-common/dist/account/CcsCredential.js.map +1 -0
  233. package/node_modules/@azure/msal-common/dist/account/ClientCredentials.d.ts +15 -0
  234. package/node_modules/@azure/msal-common/dist/account/ClientCredentials.d.ts.map +1 -0
  235. package/node_modules/@azure/msal-common/dist/account/ClientInfo.d.ts +20 -0
  236. package/node_modules/@azure/msal-common/dist/account/ClientInfo.d.ts.map +1 -0
  237. package/node_modules/@azure/msal-common/dist/account/ClientInfo.js +46 -0
  238. package/node_modules/@azure/msal-common/dist/account/ClientInfo.js.map +1 -0
  239. package/node_modules/@azure/msal-common/dist/account/DecodedAuthToken.d.ts +9 -0
  240. package/node_modules/@azure/msal-common/dist/account/DecodedAuthToken.d.ts.map +1 -0
  241. package/node_modules/@azure/msal-common/dist/account/TokenClaims.d.ts +66 -0
  242. package/node_modules/@azure/msal-common/dist/account/TokenClaims.d.ts.map +1 -0
  243. package/node_modules/@azure/msal-common/dist/authority/Authority.d.ts +216 -0
  244. package/node_modules/@azure/msal-common/dist/authority/Authority.d.ts.map +1 -0
  245. package/node_modules/@azure/msal-common/dist/authority/Authority.js +688 -0
  246. package/node_modules/@azure/msal-common/dist/authority/Authority.js.map +1 -0
  247. package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.d.ts +31 -0
  248. package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.d.ts.map +1 -0
  249. package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.js +58 -0
  250. package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.js.map +1 -0
  251. package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.d.ts +623 -0
  252. package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.d.ts.map +1 -0
  253. package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.js +881 -0
  254. package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.js.map +1 -0
  255. package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.d.ts +19 -0
  256. package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.d.ts.map +1 -0
  257. package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.js +24 -0
  258. package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.js.map +1 -0
  259. package/node_modules/@azure/msal-common/dist/authority/AuthorityType.d.ts +10 -0
  260. package/node_modules/@azure/msal-common/dist/authority/AuthorityType.d.ts.map +1 -0
  261. package/node_modules/@azure/msal-common/dist/authority/AuthorityType.js +19 -0
  262. package/node_modules/@azure/msal-common/dist/authority/AuthorityType.js.map +1 -0
  263. package/node_modules/@azure/msal-common/dist/authority/AzureRegion.d.ts +2 -0
  264. package/node_modules/@azure/msal-common/dist/authority/AzureRegion.d.ts.map +1 -0
  265. package/node_modules/@azure/msal-common/dist/authority/AzureRegionConfiguration.d.ts +6 -0
  266. package/node_modules/@azure/msal-common/dist/authority/AzureRegionConfiguration.d.ts.map +1 -0
  267. package/node_modules/@azure/msal-common/dist/authority/CloudDiscoveryMetadata.d.ts +6 -0
  268. package/node_modules/@azure/msal-common/dist/authority/CloudDiscoveryMetadata.d.ts.map +1 -0
  269. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts +14 -0
  270. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts.map +1 -0
  271. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.js +13 -0
  272. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.js.map +1 -0
  273. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.d.ts +10 -0
  274. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.d.ts.map +1 -0
  275. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.js +13 -0
  276. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.js.map +1 -0
  277. package/node_modules/@azure/msal-common/dist/authority/ImdsOptions.d.ts +6 -0
  278. package/node_modules/@azure/msal-common/dist/authority/ImdsOptions.d.ts.map +1 -0
  279. package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.d.ts +12 -0
  280. package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.d.ts.map +1 -0
  281. package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.js +15 -0
  282. package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.js.map +1 -0
  283. package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.d.ts +8 -0
  284. package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.d.ts.map +1 -0
  285. package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.js +17 -0
  286. package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.js.map +1 -0
  287. package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.d.ts +31 -0
  288. package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.d.ts.map +1 -0
  289. package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.js +116 -0
  290. package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.js.map +1 -0
  291. package/node_modules/@azure/msal-common/dist/authority/RegionDiscoveryMetadata.d.ts +7 -0
  292. package/node_modules/@azure/msal-common/dist/authority/RegionDiscoveryMetadata.d.ts.map +1 -0
  293. package/node_modules/@azure/msal-common/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts +16 -0
  294. package/node_modules/@azure/msal-common/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +1 -0
  295. package/node_modules/@azure/msal-common/dist/cache/CacheManager.d.ts +444 -0
  296. package/node_modules/@azure/msal-common/dist/cache/CacheManager.d.ts.map +1 -0
  297. package/node_modules/@azure/msal-common/dist/cache/CacheManager.js +1024 -0
  298. package/node_modules/@azure/msal-common/dist/cache/CacheManager.js.map +1 -0
  299. package/node_modules/@azure/msal-common/dist/cache/entities/AccessTokenEntity.d.ts +57 -0
  300. package/node_modules/@azure/msal-common/dist/cache/entities/AccessTokenEntity.d.ts.map +1 -0
  301. package/node_modules/@azure/msal-common/dist/cache/entities/AccessTokenEntity.js +123 -0
  302. package/node_modules/@azure/msal-common/dist/cache/entities/AccessTokenEntity.js.map +1 -0
  303. package/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.d.ts +100 -0
  304. package/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.d.ts.map +1 -0
  305. package/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.js +259 -0
  306. package/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.js.map +1 -0
  307. package/node_modules/@azure/msal-common/dist/cache/entities/AppMetadataEntity.d.ts +40 -0
  308. package/node_modules/@azure/msal-common/dist/cache/entities/AppMetadataEntity.d.ts.map +1 -0
  309. package/node_modules/@azure/msal-common/dist/cache/entities/AppMetadataEntity.js +73 -0
  310. package/node_modules/@azure/msal-common/dist/cache/entities/AppMetadataEntity.js.map +1 -0
  311. package/node_modules/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.d.ts +48 -0
  312. package/node_modules/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.d.ts.map +1 -0
  313. package/node_modules/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.js +85 -0
  314. package/node_modules/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.js.map +1 -0
  315. package/node_modules/@azure/msal-common/dist/cache/entities/CacheRecord.d.ts +14 -0
  316. package/node_modules/@azure/msal-common/dist/cache/entities/CacheRecord.d.ts.map +1 -0
  317. package/node_modules/@azure/msal-common/dist/cache/entities/CacheRecord.js +18 -0
  318. package/node_modules/@azure/msal-common/dist/cache/entities/CacheRecord.js.map +1 -0
  319. package/node_modules/@azure/msal-common/dist/cache/entities/CredentialEntity.d.ts +89 -0
  320. package/node_modules/@azure/msal-common/dist/cache/entities/CredentialEntity.d.ts.map +1 -0
  321. package/node_modules/@azure/msal-common/dist/cache/entities/CredentialEntity.js +144 -0
  322. package/node_modules/@azure/msal-common/dist/cache/entities/CredentialEntity.js.map +1 -0
  323. package/node_modules/@azure/msal-common/dist/cache/entities/IdTokenEntity.d.ts +35 -0
  324. package/node_modules/@azure/msal-common/dist/cache/entities/IdTokenEntity.d.ts.map +1 -0
  325. package/node_modules/@azure/msal-common/dist/cache/entities/IdTokenEntity.js +64 -0
  326. package/node_modules/@azure/msal-common/dist/cache/entities/IdTokenEntity.js.map +1 -0
  327. package/node_modules/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.d.ts +37 -0
  328. package/node_modules/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.d.ts.map +1 -0
  329. package/node_modules/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.js +67 -0
  330. package/node_modules/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.js.map +1 -0
  331. package/node_modules/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.d.ts +13 -0
  332. package/node_modules/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.d.ts.map +1 -0
  333. package/node_modules/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.js +34 -0
  334. package/node_modules/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.js.map +1 -0
  335. package/node_modules/@azure/msal-common/dist/cache/entities/ThrottlingEntity.d.ts +14 -0
  336. package/node_modules/@azure/msal-common/dist/cache/entities/ThrottlingEntity.d.ts.map +1 -0
  337. package/node_modules/@azure/msal-common/dist/cache/entities/ThrottlingEntity.js +30 -0
  338. package/node_modules/@azure/msal-common/dist/cache/entities/ThrottlingEntity.js.map +1 -0
  339. package/node_modules/@azure/msal-common/dist/cache/interface/ICacheManager.d.ts +166 -0
  340. package/node_modules/@azure/msal-common/dist/cache/interface/ICacheManager.d.ts.map +1 -0
  341. package/node_modules/@azure/msal-common/dist/cache/interface/ICachePlugin.d.ts +6 -0
  342. package/node_modules/@azure/msal-common/dist/cache/interface/ICachePlugin.d.ts.map +1 -0
  343. package/node_modules/@azure/msal-common/dist/cache/interface/ISerializableTokenCache.d.ts +5 -0
  344. package/node_modules/@azure/msal-common/dist/cache/interface/ISerializableTokenCache.d.ts.map +1 -0
  345. package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.d.ts +24 -0
  346. package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.d.ts.map +1 -0
  347. package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.js +30 -0
  348. package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.js.map +1 -0
  349. package/node_modules/@azure/msal-common/dist/cache/utils/CacheTypes.d.ts +63 -0
  350. package/node_modules/@azure/msal-common/dist/cache/utils/CacheTypes.d.ts.map +1 -0
  351. package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.d.ts +72 -0
  352. package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.d.ts.map +1 -0
  353. package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.js +453 -0
  354. package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.js.map +1 -0
  355. package/node_modules/@azure/msal-common/dist/client/BaseClient.d.ts +51 -0
  356. package/node_modules/@azure/msal-common/dist/client/BaseClient.d.ts.map +1 -0
  357. package/node_modules/@azure/msal-common/dist/client/BaseClient.js +107 -0
  358. package/node_modules/@azure/msal-common/dist/client/BaseClient.js.map +1 -0
  359. package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.d.ts +35 -0
  360. package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.d.ts.map +1 -0
  361. package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.js +260 -0
  362. package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.js.map +1 -0
  363. package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.d.ts +25 -0
  364. package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.d.ts.map +1 -0
  365. package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.js +108 -0
  366. package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.js.map +1 -0
  367. package/node_modules/@azure/msal-common/dist/config/AppTokenProvider.d.ts +39 -0
  368. package/node_modules/@azure/msal-common/dist/config/AppTokenProvider.d.ts.map +1 -0
  369. package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.d.ts +134 -0
  370. package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.d.ts.map +1 -0
  371. package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.js +101 -0
  372. package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.js.map +1 -0
  373. package/node_modules/@azure/msal-common/dist/crypto/ICrypto.d.ts +63 -0
  374. package/node_modules/@azure/msal-common/dist/crypto/ICrypto.d.ts.map +1 -0
  375. package/node_modules/@azure/msal-common/dist/crypto/ICrypto.js +49 -0
  376. package/node_modules/@azure/msal-common/dist/crypto/ICrypto.js.map +1 -0
  377. package/node_modules/@azure/msal-common/dist/crypto/IGuidGenerator.d.ts +5 -0
  378. package/node_modules/@azure/msal-common/dist/crypto/IGuidGenerator.d.ts.map +1 -0
  379. package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.d.ts +22 -0
  380. package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.d.ts.map +1 -0
  381. package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.js +44 -0
  382. package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.js.map +1 -0
  383. package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.d.ts +58 -0
  384. package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.d.ts.map +1 -0
  385. package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.js +92 -0
  386. package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.js.map +1 -0
  387. package/node_modules/@azure/msal-common/dist/crypto/SignedHttpRequest.d.ts +12 -0
  388. package/node_modules/@azure/msal-common/dist/crypto/SignedHttpRequest.d.ts.map +1 -0
  389. package/node_modules/@azure/msal-common/dist/error/AuthError.d.ts +48 -0
  390. package/node_modules/@azure/msal-common/dist/error/AuthError.d.ts.map +1 -0
  391. package/node_modules/@azure/msal-common/dist/error/AuthError.js +58 -0
  392. package/node_modules/@azure/msal-common/dist/error/AuthError.js.map +1 -0
  393. package/node_modules/@azure/msal-common/dist/error/ClientAuthError.d.ts +413 -0
  394. package/node_modules/@azure/msal-common/dist/error/ClientAuthError.d.ts.map +1 -0
  395. package/node_modules/@azure/msal-common/dist/error/ClientAuthError.js +526 -0
  396. package/node_modules/@azure/msal-common/dist/error/ClientAuthError.js.map +1 -0
  397. package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.d.ts +199 -0
  398. package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.d.ts.map +1 -0
  399. package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.js +256 -0
  400. package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.js.map +1 -0
  401. package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.d.ts +60 -0
  402. package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.d.ts.map +1 -0
  403. package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.js +86 -0
  404. package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.js.map +1 -0
  405. package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.d.ts +29 -0
  406. package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.d.ts.map +1 -0
  407. package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.js +46 -0
  408. package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.js.map +1 -0
  409. package/node_modules/@azure/msal-common/dist/error/ServerError.d.ts +8 -0
  410. package/node_modules/@azure/msal-common/dist/error/ServerError.d.ts.map +1 -0
  411. package/node_modules/@azure/msal-common/dist/error/ServerError.js +21 -0
  412. package/node_modules/@azure/msal-common/dist/error/ServerError.js.map +1 -0
  413. package/node_modules/@azure/msal-common/dist/index.cjs.js +8975 -0
  414. package/node_modules/@azure/msal-common/dist/index.cjs.js.map +1 -0
  415. package/node_modules/@azure/msal-common/dist/index.d.ts +94 -0
  416. package/node_modules/@azure/msal-common/dist/index.d.ts.map +1 -0
  417. package/node_modules/@azure/msal-common/dist/index.js +54 -0
  418. package/node_modules/@azure/msal-common/dist/index.js.map +1 -0
  419. package/node_modules/@azure/msal-common/dist/logger/Logger.d.ts +96 -0
  420. package/node_modules/@azure/msal-common/dist/logger/Logger.d.ts.map +1 -0
  421. package/node_modules/@azure/msal-common/dist/logger/Logger.js +205 -0
  422. package/node_modules/@azure/msal-common/dist/logger/Logger.js.map +1 -0
  423. package/node_modules/@azure/msal-common/dist/network/INetworkModule.d.ts +30 -0
  424. package/node_modules/@azure/msal-common/dist/network/INetworkModule.d.ts.map +1 -0
  425. package/node_modules/@azure/msal-common/dist/network/INetworkModule.js +21 -0
  426. package/node_modules/@azure/msal-common/dist/network/INetworkModule.js.map +1 -0
  427. package/node_modules/@azure/msal-common/dist/network/NetworkManager.d.ts +33 -0
  428. package/node_modules/@azure/msal-common/dist/network/NetworkManager.d.ts.map +1 -0
  429. package/node_modules/@azure/msal-common/dist/network/NetworkManager.js +42 -0
  430. package/node_modules/@azure/msal-common/dist/network/NetworkManager.js.map +1 -0
  431. package/node_modules/@azure/msal-common/dist/network/RequestThumbprint.d.ts +17 -0
  432. package/node_modules/@azure/msal-common/dist/network/RequestThumbprint.d.ts.map +1 -0
  433. package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.d.ts +42 -0
  434. package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.d.ts.map +1 -0
  435. package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.js +102 -0
  436. package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.js.map +1 -0
  437. package/node_modules/@azure/msal-common/dist/packageMetadata.d.ts +3 -0
  438. package/node_modules/@azure/msal-common/dist/packageMetadata.d.ts.map +1 -0
  439. package/node_modules/@azure/msal-common/dist/packageMetadata.js +8 -0
  440. package/node_modules/@azure/msal-common/dist/packageMetadata.js.map +1 -0
  441. package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.d.ts +20 -0
  442. package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.d.ts.map +1 -0
  443. package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.js +63 -0
  444. package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.js.map +1 -0
  445. package/node_modules/@azure/msal-common/dist/request/BaseAuthRequest.d.ts +38 -0
  446. package/node_modules/@azure/msal-common/dist/request/BaseAuthRequest.d.ts.map +1 -0
  447. package/node_modules/@azure/msal-common/dist/request/CommonAuthorizationCodeRequest.d.ts +28 -0
  448. package/node_modules/@azure/msal-common/dist/request/CommonAuthorizationCodeRequest.d.ts.map +1 -0
  449. package/node_modules/@azure/msal-common/dist/request/CommonAuthorizationUrlRequest.d.ts +51 -0
  450. package/node_modules/@azure/msal-common/dist/request/CommonAuthorizationUrlRequest.d.ts.map +1 -0
  451. package/node_modules/@azure/msal-common/dist/request/CommonClientCredentialRequest.d.ts +18 -0
  452. package/node_modules/@azure/msal-common/dist/request/CommonClientCredentialRequest.d.ts.map +1 -0
  453. package/node_modules/@azure/msal-common/dist/request/CommonDeviceCodeRequest.d.ts +22 -0
  454. package/node_modules/@azure/msal-common/dist/request/CommonDeviceCodeRequest.d.ts.map +1 -0
  455. package/node_modules/@azure/msal-common/dist/request/CommonEndSessionRequest.d.ts +22 -0
  456. package/node_modules/@azure/msal-common/dist/request/CommonEndSessionRequest.d.ts.map +1 -0
  457. package/node_modules/@azure/msal-common/dist/request/CommonOnBehalfOfRequest.d.ts +14 -0
  458. package/node_modules/@azure/msal-common/dist/request/CommonOnBehalfOfRequest.d.ts.map +1 -0
  459. package/node_modules/@azure/msal-common/dist/request/CommonRefreshTokenRequest.d.ts +20 -0
  460. package/node_modules/@azure/msal-common/dist/request/CommonRefreshTokenRequest.d.ts.map +1 -0
  461. package/node_modules/@azure/msal-common/dist/request/CommonSilentFlowRequest.d.ts +19 -0
  462. package/node_modules/@azure/msal-common/dist/request/CommonSilentFlowRequest.d.ts.map +1 -0
  463. package/node_modules/@azure/msal-common/dist/request/CommonUsernamePasswordRequest.d.ts +18 -0
  464. package/node_modules/@azure/msal-common/dist/request/CommonUsernamePasswordRequest.d.ts.map +1 -0
  465. package/node_modules/@azure/msal-common/dist/request/NativeRequest.d.ts +20 -0
  466. package/node_modules/@azure/msal-common/dist/request/NativeRequest.d.ts.map +1 -0
  467. package/node_modules/@azure/msal-common/dist/request/NativeSignOutRequest.d.ts +6 -0
  468. package/node_modules/@azure/msal-common/dist/request/NativeSignOutRequest.d.ts.map +1 -0
  469. package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.d.ts +217 -0
  470. package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.d.ts.map +1 -0
  471. package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.js +385 -0
  472. package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.js.map +1 -0
  473. package/node_modules/@azure/msal-common/dist/request/RequestValidator.d.ts +34 -0
  474. package/node_modules/@azure/msal-common/dist/request/RequestValidator.d.ts.map +1 -0
  475. package/node_modules/@azure/msal-common/dist/request/RequestValidator.js +92 -0
  476. package/node_modules/@azure/msal-common/dist/request/RequestValidator.js.map +1 -0
  477. package/node_modules/@azure/msal-common/dist/request/ScopeSet.d.ts +89 -0
  478. package/node_modules/@azure/msal-common/dist/request/ScopeSet.d.ts.map +1 -0
  479. package/node_modules/@azure/msal-common/dist/request/ScopeSet.js +207 -0
  480. package/node_modules/@azure/msal-common/dist/request/ScopeSet.js.map +1 -0
  481. package/node_modules/@azure/msal-common/dist/response/AuthenticationResult.d.ts +40 -0
  482. package/node_modules/@azure/msal-common/dist/response/AuthenticationResult.d.ts.map +1 -0
  483. package/node_modules/@azure/msal-common/dist/response/AuthorizationCodePayload.d.ts +14 -0
  484. package/node_modules/@azure/msal-common/dist/response/AuthorizationCodePayload.d.ts.map +1 -0
  485. package/node_modules/@azure/msal-common/dist/response/DeviceCodeResponse.d.ts +26 -0
  486. package/node_modules/@azure/msal-common/dist/response/DeviceCodeResponse.d.ts.map +1 -0
  487. package/node_modules/@azure/msal-common/dist/response/ExternalTokenResponse.d.ts +16 -0
  488. package/node_modules/@azure/msal-common/dist/response/ExternalTokenResponse.d.ts.map +1 -0
  489. package/node_modules/@azure/msal-common/dist/response/IMDSBadResponse.d.ts +5 -0
  490. package/node_modules/@azure/msal-common/dist/response/IMDSBadResponse.d.ts.map +1 -0
  491. package/node_modules/@azure/msal-common/dist/response/ResponseHandler.d.ts +73 -0
  492. package/node_modules/@azure/msal-common/dist/response/ResponseHandler.d.ts.map +1 -0
  493. package/node_modules/@azure/msal-common/dist/response/ResponseHandler.js +325 -0
  494. package/node_modules/@azure/msal-common/dist/response/ResponseHandler.js.map +1 -0
  495. package/node_modules/@azure/msal-common/dist/response/ServerAuthorizationCodeResponse.d.ts +26 -0
  496. package/node_modules/@azure/msal-common/dist/response/ServerAuthorizationCodeResponse.d.ts.map +1 -0
  497. package/node_modules/@azure/msal-common/dist/response/ServerAuthorizationTokenResponse.d.ts +45 -0
  498. package/node_modules/@azure/msal-common/dist/response/ServerAuthorizationTokenResponse.d.ts.map +1 -0
  499. package/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceClient.d.ts +43 -0
  500. package/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceClient.d.ts.map +1 -0
  501. package/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceMeasurement.d.ts +6 -0
  502. package/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceMeasurement.d.ts.map +1 -0
  503. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.d.ts +190 -0
  504. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.d.ts.map +1 -0
  505. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.js +413 -0
  506. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.js.map +1 -0
  507. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.d.ts +440 -0
  508. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.d.ts.map +1 -0
  509. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.js +232 -0
  510. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.js.map +1 -0
  511. package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.d.ts +20 -0
  512. package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.d.ts.map +1 -0
  513. package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.js +43 -0
  514. package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.js.map +1 -0
  515. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.d.ts +66 -0
  516. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.d.ts.map +1 -0
  517. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.js +206 -0
  518. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.js.map +1 -0
  519. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryRequest.d.ts +9 -0
  520. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryRequest.d.ts.map +1 -0
  521. package/node_modules/@azure/msal-common/dist/url/IUri.d.ts +13 -0
  522. package/node_modules/@azure/msal-common/dist/url/IUri.d.ts.map +1 -0
  523. package/node_modules/@azure/msal-common/dist/url/UrlString.d.ts +71 -0
  524. package/node_modules/@azure/msal-common/dist/url/UrlString.d.ts.map +1 -0
  525. package/node_modules/@azure/msal-common/dist/url/UrlString.js +252 -0
  526. package/node_modules/@azure/msal-common/dist/url/UrlString.js.map +1 -0
  527. package/node_modules/@azure/msal-common/dist/utils/Constants.d.ts +332 -0
  528. package/node_modules/@azure/msal-common/dist/utils/Constants.d.ts.map +1 -0
  529. package/node_modules/@azure/msal-common/dist/utils/Constants.js +378 -0
  530. package/node_modules/@azure/msal-common/dist/utils/Constants.js.map +1 -0
  531. package/node_modules/@azure/msal-common/dist/utils/MsalTypes.d.ts +7 -0
  532. package/node_modules/@azure/msal-common/dist/utils/MsalTypes.d.ts.map +1 -0
  533. package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.d.ts +43 -0
  534. package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.d.ts.map +1 -0
  535. package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.js +80 -0
  536. package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.js.map +1 -0
  537. package/node_modules/@azure/msal-common/dist/utils/StringUtils.d.ts +54 -0
  538. package/node_modules/@azure/msal-common/dist/utils/StringUtils.d.ts.map +1 -0
  539. package/node_modules/@azure/msal-common/dist/utils/StringUtils.js +131 -0
  540. package/node_modules/@azure/msal-common/dist/utils/StringUtils.js.map +1 -0
  541. package/node_modules/@azure/msal-common/dist/utils/TimeUtils.d.ts +28 -0
  542. package/node_modules/@azure/msal-common/dist/utils/TimeUtils.d.ts.map +1 -0
  543. package/node_modules/@azure/msal-common/dist/utils/TimeUtils.js +50 -0
  544. package/node_modules/@azure/msal-common/dist/utils/TimeUtils.js.map +1 -0
  545. package/node_modules/@azure/msal-common/package.json +79 -0
  546. package/package.json +22 -18
  547. package/dist/_virtual/_tslib.js +0 -117
  548. package/dist/_virtual/_tslib.js.map +0 -1
  549. package/dist/app/ClientApplication.d.ts.map +0 -1
  550. package/dist/app/ClientApplication.js +0 -1053
  551. package/dist/app/ClientApplication.js.map +0 -1
  552. package/dist/index.cjs.js +0 -18080
  553. package/dist/index.cjs.js.map +0 -1
  554. package/lib/msal-browser.js +0 -18086
  555. package/lib/msal-browser.js.map +0 -1
  556. package/lib/msal-browser.min.js +0 -70
@@ -1 +1 @@
1
- {"version":3,"file":"RedirectRequest.d.ts","sourceRoot":"","sources":["../../src/request/RedirectRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,oBAAY,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,cAAc,GAAC,QAAQ,GAAC,eAAe,GAAC,qBAAqB,GAAC,qBAAqB,GAAC,cAAc,CAAC,CAAC,GAAG;IAC7K,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,kBAAkB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,GAAG,IAAI,CAAC;CACxD,CAAC"}
1
+ {"version":3,"file":"RedirectRequest.d.ts","sourceRoot":"","sources":["../../src/request/RedirectRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,CACjC,IAAI,CACA,6BAA6B,EAC3B,cAAc,GACd,QAAQ,GACR,eAAe,GACf,qBAAqB,GACrB,qBAAqB,GACrB,cAAc,CACnB,CACJ,GAAG;IACA,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,kBAAkB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,GAAG,IAAI,CAAC;CACxD,CAAC"}
@@ -18,7 +18,7 @@ import { CacheLookupPolicy } from "../utils/BrowserConstants";
18
18
  * none: will ensure that the user isn't presented with any interactive prompt. if request can't be completed via single-sign on, the endpoint will return an interaction_required error
19
19
  * no_session: will not read existing session token when authenticating the user. Upon user being successfully authenticated, EVO won’t create a new session for the user. FOR INTERNAL USE ONLY.
20
20
  */
21
- export declare type SilentRequest = Omit<CommonSilentFlowRequest, "authority" | "correlationId" | "forceRefresh" | "account" | "requestedClaimsHash"> & {
21
+ export type SilentRequest = Omit<CommonSilentFlowRequest, "authority" | "correlationId" | "forceRefresh" | "account" | "requestedClaimsHash"> & {
22
22
  redirectUri?: string;
23
23
  extraQueryParameters?: StringDict;
24
24
  authority?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"SilentRequest.d.ts","sourceRoot":"","sources":["../../src/request/SilentRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,uBAAuB,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACtF,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9D;;;;;;;;;;;;;;;;;GAiBG;AACH,oBAAY,aAAa,GAAG,IAAI,CAAC,uBAAuB,EAAE,WAAW,GAAC,eAAe,GAAC,cAAc,GAAC,SAAS,GAAC,qBAAqB,CAAC,GAAG;IACpI,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,UAAU,CAAC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC"}
1
+ {"version":3,"file":"SilentRequest.d.ts","sourceRoot":"","sources":["../../src/request/SilentRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,WAAW,EACX,uBAAuB,EACvB,UAAU,EACb,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9D;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,aAAa,GAAG,IAAI,CAC5B,uBAAuB,EACrB,WAAW,GACX,eAAe,GACf,cAAc,GACd,SAAS,GACT,qBAAqB,CAC1B,GAAG;IACA,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,UAAU,CAAC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC"}
@@ -23,5 +23,5 @@ import { CommonAuthorizationUrlRequest } from "@azure/msal-common";
23
23
  * - tokenQueryParameters - String to string map of custom query parameters added to the /token call
24
24
  * - nonce - A value included in the request that is returned in the id token. A randomly generated unique value is typically used to mitigate replay attacks.
25
25
  */
26
- export declare type SsoSilentRequest = Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "codeChallenge" | "codeChallengeMethod" | "requestedClaimsHash" | "nativeBroker">>;
26
+ export type SsoSilentRequest = Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "codeChallenge" | "codeChallengeMethod" | "requestedClaimsHash" | "nativeBroker">>;
27
27
  //# sourceMappingURL=SsoSilentRequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SsoSilentRequest.d.ts","sourceRoot":"","sources":["../../src/request/SsoSilentRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAEnE;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,oBAAY,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,cAAc,GAAC,eAAe,GAAC,qBAAqB,GAAC,qBAAqB,GAAC,cAAc,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"SsoSilentRequest.d.ts","sourceRoot":"","sources":["../../src/request/SsoSilentRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAEnE;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAClC,IAAI,CACA,6BAA6B,EAC3B,cAAc,GACd,eAAe,GACf,qBAAqB,GACrB,qBAAqB,GACrB,cAAc,CACnB,CACJ,CAAC"}
@@ -4,7 +4,7 @@ export declare class BrowserPerformanceClient extends PerformanceClient implemen
4
4
  private browserCrypto;
5
5
  private guidGenerator;
6
6
  constructor(clientId: string, authority: string, logger: Logger, libraryName: string, libraryVersion: string, applicationTelemetry: ApplicationTelemetry, cryptoOptions: CryptoOptions);
7
- startPerformanceMeasuremeant(measureName: string, correlationId: string): IPerformanceMeasurement;
7
+ startPerformanceMeasurement(measureName: string, correlationId: string): IPerformanceMeasurement;
8
8
  generateId(): string;
9
9
  private getPageVisibility;
10
10
  private deleteIncompleteSubMeasurements;
@@ -1 +1 @@
1
- {"version":3,"file":"BrowserPerformanceClient.d.ts","sourceRoot":"","sources":["../../src/telemetry/BrowserPerformanceClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,MAAM,EAEN,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,uBAAuB,EACvB,0BAA0B,EAC1B,oBAAoB,EAGvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAKxD,qBAAa,wBAAyB,SAAQ,iBAAkB,YAAW,kBAAkB;IACzF,OAAO,CAAC,aAAa,CAAgB;IACrC,OAAO,CAAC,aAAa,CAAgB;gBAEzB,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,aAAa,EAAE,aAAa;IAMtL,4BAA4B,CAAC,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,uBAAuB;IAIjG,UAAU,IAAK,MAAM;IAI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;;;OAOG;IACH,gBAAgB,CACZ,WAAW,EAAE,iBAAiB,EAC9B,aAAa,CAAC,EAAE,MAAM,GACvB,0BAA0B;IA+B7B;;;;;OAKG;IACH,eAAe,CACX,SAAS,EAAE,iBAAiB,EAC5B,aAAa,CAAC,EAAE,MAAM,GACvB,IAAI;IAuCP;;;;;;;;OAQG;IACH,mBAAmB,CACf,SAAS,EAAE,iBAAiB,EAC5B,aAAa,CAAC,EAAE,MAAM,EACtB,SAAS,CAAC,EAAE,MAAM,EAClB,iBAAiB,CAAC,EAAE,OAAO,GAC5B,IAAI;CA+BV"}
@@ -1,6 +1,5 @@
1
- /*! @azure/msal-browser v2.37.0 2023-05-01 */
1
+ /*! @azure/msal-browser v3.0.0-alpha.0 2023-05-03 */
2
2
  'use strict';
3
- import { __extends, __assign } from '../_virtual/_tslib.js';
4
3
  import { PerformanceClient } from '@azure/msal-common';
5
4
  import { BrowserCrypto } from '../crypto/BrowserCrypto.js';
6
5
  import { GuidGenerator } from '../crypto/GuidGenerator.js';
@@ -10,43 +9,40 @@ import { BrowserPerformanceMeasurement } from './BrowserPerformanceMeasurement.j
10
9
  * Copyright (c) Microsoft Corporation. All rights reserved.
11
10
  * Licensed under the MIT License.
12
11
  */
13
- var BrowserPerformanceClient = /** @class */ (function (_super) {
14
- __extends(BrowserPerformanceClient, _super);
15
- function BrowserPerformanceClient(clientId, authority, logger, libraryName, libraryVersion, applicationTelemetry, cryptoOptions) {
16
- var _this = _super.call(this, clientId, authority, logger, libraryName, libraryVersion, applicationTelemetry) || this;
17
- _this.browserCrypto = new BrowserCrypto(_this.logger, cryptoOptions);
18
- _this.guidGenerator = new GuidGenerator(_this.browserCrypto);
19
- return _this;
12
+ class BrowserPerformanceClient extends PerformanceClient {
13
+ constructor(clientId, authority, logger, libraryName, libraryVersion, applicationTelemetry, cryptoOptions) {
14
+ super(clientId, authority, logger, libraryName, libraryVersion, applicationTelemetry);
15
+ this.browserCrypto = new BrowserCrypto(this.logger, cryptoOptions);
16
+ this.guidGenerator = new GuidGenerator(this.browserCrypto);
20
17
  }
21
- BrowserPerformanceClient.prototype.startPerformanceMeasuremeant = function (measureName, correlationId) {
18
+ startPerformanceMeasurement(measureName, correlationId) {
22
19
  return new BrowserPerformanceMeasurement(measureName, correlationId);
23
- };
24
- BrowserPerformanceClient.prototype.generateId = function () {
20
+ }
21
+ generateId() {
25
22
  return this.guidGenerator.generateGuid();
26
- };
27
- BrowserPerformanceClient.prototype.getPageVisibility = function () {
28
- var _a;
29
- return ((_a = document.visibilityState) === null || _a === void 0 ? void 0 : _a.toString()) || null;
30
- };
31
- BrowserPerformanceClient.prototype.deleteIncompleteSubMeasurements = function (inProgressEvent) {
32
- var rootEvent = this.eventsByCorrelationId.get(inProgressEvent.event.correlationId);
33
- var isRootEvent = rootEvent && rootEvent.eventId === inProgressEvent.event.eventId;
34
- var incompleteMeasurements = [];
35
- if (isRootEvent && (rootEvent === null || rootEvent === void 0 ? void 0 : rootEvent.incompleteSubMeasurements)) {
36
- rootEvent.incompleteSubMeasurements.forEach(function (subMeasurement) {
37
- incompleteMeasurements.push(__assign({}, subMeasurement));
23
+ }
24
+ getPageVisibility() {
25
+ return document.visibilityState?.toString() || null;
26
+ }
27
+ deleteIncompleteSubMeasurements(inProgressEvent) {
28
+ const rootEvent = this.eventsByCorrelationId.get(inProgressEvent.event.correlationId);
29
+ const isRootEvent = rootEvent && rootEvent.eventId === inProgressEvent.event.eventId;
30
+ const incompleteMeasurements = [];
31
+ if (isRootEvent && rootEvent?.incompleteSubMeasurements) {
32
+ rootEvent.incompleteSubMeasurements.forEach((subMeasurement) => {
33
+ incompleteMeasurements.push({ ...subMeasurement });
38
34
  });
39
35
  }
40
36
  // Clean up remaining marks for incomplete sub-measurements
41
37
  if (incompleteMeasurements.length > 0) {
42
38
  BrowserPerformanceMeasurement.flushMeasurements(inProgressEvent.event.correlationId, incompleteMeasurements);
43
39
  }
44
- };
45
- BrowserPerformanceClient.prototype.supportsBrowserPerformanceNow = function () {
46
- return typeof window !== "undefined" &&
40
+ }
41
+ supportsBrowserPerformanceNow() {
42
+ return (typeof window !== "undefined" &&
47
43
  typeof window.performance !== "undefined" &&
48
- typeof window.performance.now === "function";
49
- };
44
+ typeof window.performance.now === "function");
45
+ }
50
46
  /**
51
47
  * Starts measuring performance for a given operation. Returns a function that should be used to end the measurement.
52
48
  * Also captures browser page visibilityState.
@@ -55,47 +51,57 @@ var BrowserPerformanceClient = /** @class */ (function (_super) {
55
51
  * @param {?string} [correlationId]
56
52
  * @returns {((event?: Partial<PerformanceEvent>) => PerformanceEvent| null)}
57
53
  */
58
- BrowserPerformanceClient.prototype.startMeasurement = function (measureName, correlationId) {
59
- var _this = this;
54
+ startMeasurement(measureName, correlationId) {
60
55
  // Capture page visibilityState and then invoke start/end measurement
61
- var startPageVisibility = this.getPageVisibility();
62
- var inProgressEvent = _super.prototype.startMeasurement.call(this, measureName, correlationId);
63
- return __assign(__assign({}, inProgressEvent), { endMeasurement: function (event) {
64
- var res = inProgressEvent.endMeasurement(__assign({ startPageVisibility: startPageVisibility, endPageVisibility: _this.getPageVisibility() }, event));
65
- _this.deleteIncompleteSubMeasurements(inProgressEvent);
56
+ const startPageVisibility = this.getPageVisibility();
57
+ const inProgressEvent = super.startMeasurement(measureName, correlationId);
58
+ return {
59
+ ...inProgressEvent,
60
+ endMeasurement: (event) => {
61
+ const res = inProgressEvent.endMeasurement({
62
+ startPageVisibility,
63
+ endPageVisibility: this.getPageVisibility(),
64
+ ...event,
65
+ });
66
+ this.deleteIncompleteSubMeasurements(inProgressEvent);
66
67
  return res;
67
- }, discardMeasurement: function () {
68
+ },
69
+ discardMeasurement: () => {
68
70
  inProgressEvent.discardMeasurement();
69
- _this.deleteIncompleteSubMeasurements(inProgressEvent);
71
+ this.deleteIncompleteSubMeasurements(inProgressEvent);
70
72
  inProgressEvent.measurement.flushMeasurement();
71
- } });
72
- };
73
+ },
74
+ };
75
+ }
73
76
  /**
74
77
  * Adds pre-queue time to preQueueTimeByCorrelationId map.
75
78
  * @param {PerformanceEvents} eventName
76
79
  * @param {?string} correlationId
77
80
  * @returns
78
81
  */
79
- BrowserPerformanceClient.prototype.setPreQueueTime = function (eventName, correlationId) {
82
+ setPreQueueTime(eventName, correlationId) {
80
83
  if (!this.supportsBrowserPerformanceNow()) {
81
- this.logger.trace("BrowserPerformanceClient: window performance API not available, unable to set telemetry queue time for " + eventName);
84
+ this.logger.trace(`BrowserPerformanceClient: window performance API not available, unable to set telemetry queue time for ${eventName}`);
82
85
  return;
83
86
  }
84
87
  if (!correlationId) {
85
- this.logger.trace("BrowserPerformanceClient: correlationId for " + eventName + " not provided, unable to set telemetry queue time");
88
+ this.logger.trace(`BrowserPerformanceClient: correlationId for ${eventName} not provided, unable to set telemetry queue time`);
86
89
  return;
87
90
  }
88
- var preQueueEvent = this.preQueueTimeByCorrelationId.get(correlationId);
91
+ const preQueueEvent = this.preQueueTimeByCorrelationId.get(correlationId);
89
92
  /**
90
93
  * Manually complete queue measurement if there is an incomplete pre-queue event.
91
94
  * Incomplete pre-queue events are instrumentation bugs that should be fixed.
92
95
  */
93
96
  if (preQueueEvent) {
94
- this.logger.trace("BrowserPerformanceClient: Incomplete pre-queue " + preQueueEvent.name + " found", correlationId);
97
+ this.logger.trace(`BrowserPerformanceClient: Incomplete pre-queue ${preQueueEvent.name} found`, correlationId);
95
98
  this.addQueueMeasurement(preQueueEvent.name, correlationId, undefined, true);
96
99
  }
97
- this.preQueueTimeByCorrelationId.set(correlationId, { name: eventName, time: window.performance.now() });
98
- };
100
+ this.preQueueTimeByCorrelationId.set(correlationId, {
101
+ name: eventName,
102
+ time: window.performance.now(),
103
+ });
104
+ }
99
105
  /**
100
106
  * Calculates and adds queue time measurement for given performance event.
101
107
  *
@@ -105,25 +111,24 @@ var BrowserPerformanceClient = /** @class */ (function (_super) {
105
111
  * @param {?boolean} manuallyCompleted - indicator for manually completed queue measurements
106
112
  * @returns
107
113
  */
108
- BrowserPerformanceClient.prototype.addQueueMeasurement = function (eventName, correlationId, queueTime, manuallyCompleted) {
114
+ addQueueMeasurement(eventName, correlationId, queueTime, manuallyCompleted) {
109
115
  if (!this.supportsBrowserPerformanceNow()) {
110
- this.logger.trace("BrowserPerformanceClient: window performance API not available, unable to add queue measurement for " + eventName);
116
+ this.logger.trace(`BrowserPerformanceClient: window performance API not available, unable to add queue measurement for ${eventName}`);
111
117
  return;
112
118
  }
113
119
  if (!correlationId) {
114
- this.logger.trace("BrowserPerformanceClient: correlationId for " + eventName + " not provided, unable to add queue measurement");
120
+ this.logger.trace(`BrowserPerformanceClient: correlationId for ${eventName} not provided, unable to add queue measurement`);
115
121
  return;
116
122
  }
117
- var preQueueTime = _super.prototype.getPreQueueTime.call(this, eventName, correlationId);
123
+ const preQueueTime = super.getPreQueueTime(eventName, correlationId);
118
124
  if (!preQueueTime) {
119
125
  return;
120
126
  }
121
- var currentTime = window.performance.now();
122
- var resQueueTime = queueTime || _super.prototype.calculateQueuedTime.call(this, preQueueTime, currentTime);
123
- return _super.prototype.addQueueMeasurement.call(this, eventName, correlationId, resQueueTime, manuallyCompleted);
124
- };
125
- return BrowserPerformanceClient;
126
- }(PerformanceClient));
127
+ const currentTime = window.performance.now();
128
+ const resQueueTime = queueTime || super.calculateQueuedTime(preQueueTime, currentTime);
129
+ return super.addQueueMeasurement(eventName, correlationId, resQueueTime, manuallyCompleted);
130
+ }
131
+ }
127
132
 
128
133
  export { BrowserPerformanceClient };
129
134
  //# sourceMappingURL=BrowserPerformanceClient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BrowserPerformanceClient.js","sources":["../../src/telemetry/BrowserPerformanceClient.ts"],"sourcesContent":["/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License.\r\n */\r\n\r\nimport {\r\n Logger,\r\n PerformanceEvent,\r\n PerformanceEvents,\r\n IPerformanceClient,\r\n PerformanceClient,\r\n IPerformanceMeasurement,\r\n InProgressPerformanceEvent,\r\n ApplicationTelemetry,\r\n SubMeasurement,\r\n PreQueueEvent\r\n} from \"@azure/msal-common\";\r\nimport { CryptoOptions } from \"../config/Configuration\";\r\nimport { BrowserCrypto } from \"../crypto/BrowserCrypto\";\r\nimport { GuidGenerator } from \"../crypto/GuidGenerator\";\r\nimport { BrowserPerformanceMeasurement } from \"./BrowserPerformanceMeasurement\";\r\n\r\nexport class BrowserPerformanceClient extends PerformanceClient implements IPerformanceClient {\r\n private browserCrypto: BrowserCrypto;\r\n private guidGenerator: GuidGenerator;\r\n\r\n constructor(clientId: string, authority: string, logger: Logger, libraryName: string, libraryVersion: string, applicationTelemetry: ApplicationTelemetry, cryptoOptions: CryptoOptions) {\r\n super(clientId, authority, logger, libraryName, libraryVersion, applicationTelemetry);\r\n this.browserCrypto = new BrowserCrypto(this.logger, cryptoOptions);\r\n this.guidGenerator = new GuidGenerator(this.browserCrypto);\r\n }\r\n\r\n startPerformanceMeasuremeant(measureName: string, correlationId: string): IPerformanceMeasurement {\r\n return new BrowserPerformanceMeasurement(measureName, correlationId);\r\n }\r\n\r\n generateId() : string {\r\n return this.guidGenerator.generateGuid();\r\n }\r\n\r\n private getPageVisibility(): string | null {\r\n return document.visibilityState?.toString() || null;\r\n }\r\n\r\n private deleteIncompleteSubMeasurements(inProgressEvent: InProgressPerformanceEvent): void {\r\n const rootEvent = this.eventsByCorrelationId.get(inProgressEvent.event.correlationId);\r\n const isRootEvent = rootEvent && rootEvent.eventId === inProgressEvent.event.eventId;\r\n const incompleteMeasurements: SubMeasurement[] = [];\r\n if (isRootEvent && rootEvent?.incompleteSubMeasurements) {\r\n rootEvent.incompleteSubMeasurements.forEach((subMeasurement) => {\r\n incompleteMeasurements.push({...subMeasurement});\r\n });\r\n }\r\n // Clean up remaining marks for incomplete sub-measurements\r\n if (incompleteMeasurements.length > 0) {\r\n BrowserPerformanceMeasurement.flushMeasurements(inProgressEvent.event.correlationId, incompleteMeasurements);\r\n }\r\n }\r\n\r\n supportsBrowserPerformanceNow(): boolean {\r\n return typeof window !== \"undefined\" &&\r\n typeof window.performance !== \"undefined\" &&\r\n typeof window.performance.now === \"function\";\r\n }\r\n\r\n /**\r\n * Starts measuring performance for a given operation. Returns a function that should be used to end the measurement.\r\n * Also captures browser page visibilityState.\r\n *\r\n * @param {PerformanceEvents} measureName\r\n * @param {?string} [correlationId]\r\n * @returns {((event?: Partial<PerformanceEvent>) => PerformanceEvent| null)}\r\n */\r\n startMeasurement(measureName: PerformanceEvents, correlationId?: string): InProgressPerformanceEvent {\r\n // Capture page visibilityState and then invoke start/end measurement\r\n const startPageVisibility = this.getPageVisibility();\r\n\r\n const inProgressEvent = super.startMeasurement(measureName, correlationId);\r\n\r\n return {\r\n ...inProgressEvent,\r\n endMeasurement: (event?: Partial<PerformanceEvent>): PerformanceEvent | null => {\r\n const res = inProgressEvent.endMeasurement({\r\n startPageVisibility,\r\n endPageVisibility: this.getPageVisibility(),\r\n ...event\r\n });\r\n this.deleteIncompleteSubMeasurements(inProgressEvent);\r\n\r\n return res;\r\n },\r\n discardMeasurement: () => {\r\n inProgressEvent.discardMeasurement();\r\n this.deleteIncompleteSubMeasurements(inProgressEvent);\r\n inProgressEvent.measurement.flushMeasurement();\r\n }\r\n };\r\n }\r\n\r\n /**\r\n * Adds pre-queue time to preQueueTimeByCorrelationId map.\r\n * @param {PerformanceEvents} eventName\r\n * @param {?string} correlationId\r\n * @returns\r\n */\r\n setPreQueueTime(eventName: PerformanceEvents, correlationId?: string): void {\r\n if (!this.supportsBrowserPerformanceNow()) {\r\n this.logger.trace(`BrowserPerformanceClient: window performance API not available, unable to set telemetry queue time for ${eventName}`);\r\n return;\r\n }\r\n\r\n if (!correlationId) {\r\n this.logger.trace(`BrowserPerformanceClient: correlationId for ${eventName} not provided, unable to set telemetry queue time`);\r\n return;\r\n }\r\n\r\n const preQueueEvent: PreQueueEvent | undefined = this.preQueueTimeByCorrelationId.get(correlationId);\r\n /**\r\n * Manually complete queue measurement if there is an incomplete pre-queue event.\r\n * Incomplete pre-queue events are instrumentation bugs that should be fixed.\r\n */\r\n if (preQueueEvent) {\r\n this.logger.trace(`BrowserPerformanceClient: Incomplete pre-queue ${preQueueEvent.name} found`, correlationId);\r\n this.addQueueMeasurement(preQueueEvent.name, correlationId, undefined, true);\r\n }\r\n this.preQueueTimeByCorrelationId.set(correlationId, { name: eventName, time: window.performance.now() });\r\n }\r\n\r\n /**\r\n * Calculates and adds queue time measurement for given performance event.\r\n *\r\n * @param {PerformanceEvents} eventName\r\n * @param {?string} correlationId\r\n * @param {?number} queueTime\r\n * @param {?boolean} manuallyCompleted - indicator for manually completed queue measurements\r\n * @returns\r\n */\r\n addQueueMeasurement(eventName: PerformanceEvents, correlationId?: string, queueTime?: number, manuallyCompleted?: boolean): void {\r\n if (!this.supportsBrowserPerformanceNow()) {\r\n this.logger.trace(`BrowserPerformanceClient: window performance API not available, unable to add queue measurement for ${eventName}`);\r\n return;\r\n }\r\n\r\n if (!correlationId) {\r\n this.logger.trace(`BrowserPerformanceClient: correlationId for ${eventName} not provided, unable to add queue measurement`);\r\n return;\r\n }\r\n\r\n const preQueueTime = super.getPreQueueTime(eventName, correlationId);\r\n if (!preQueueTime) {\r\n return;\r\n }\r\n\r\n const currentTime = window.performance.now();\r\n const resQueueTime = queueTime || super.calculateQueuedTime(preQueueTime, currentTime);\r\n\r\n return super.addQueueMeasurement(eventName, correlationId, resQueueTime, manuallyCompleted);\r\n }\r\n}\r\n"],"names":[],"mappings":";;;;;;;;AAAA;;;;;IAsB8C,4CAAiB;IAI3D,kCAAY,QAAgB,EAAE,SAAiB,EAAE,MAAc,EAAE,WAAmB,EAAE,cAAsB,EAAE,oBAA0C,EAAE,aAA4B;QAAtL,YACI,kBAAM,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,oBAAoB,CAAC,SAGxF;QAFG,KAAI,CAAC,aAAa,GAAG,IAAI,aAAa,CAAC,KAAI,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;QACnE,KAAI,CA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,IAAI,CAAC,2BAA2B,CAAC,GAAG,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;KAC5G;;;;;;;;;;IAWD,sDAAmB,GAAnB,UAAoB,SAA4B,EAAE,aAAsB,EAAE,SAAkB,EAAE,iBAA2B;QACrH,IAAI,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE;YACvC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,yGAAuG,SAAW,CAAC,CAAC;YACtI,OAAO;SACV;QAED,IAAI,CAAC,aAAa,EAAE;YAChB,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,iDAA+C,SAAS,mDAAgD,CAAC,CAAC;YAC5H,OAAO;SACV;QAED,IAAM,YAAY,GAAG,iBAAM,eAAe,YAAC,SAAS,EAAE,aAAa,CAAC,CAAC;QACrE,IAAI,CAAC,YAAY,EAAE;YACf,OAAO;SACV;QAED,IAAM,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC;QAC7C,IAAM,YAAY,GAAG,SAAS,IAAI,iBAAM,mBAAmB,YAAC,YAAY,EAAE,WAAW,CAAC,CAAC;QAEvF,OAAO,iBAAM,mBAAmB,YAAC,SAAS,EAAE,aAAa,EAAE,YAAY,EAAE,iBAAiB,CAAC,CAAC;KAC/F;IACL,+BAAC;AAAD,CAxIA,CAA8C,iBAAiB;;;;"}
1
+ {"version":3,"file":"BrowserPerformanceClient.js","sources":["../../src/telemetry/BrowserPerformanceClient.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;;;AAGG;AAmBG,MAAO,wBACT,SAAQ,iBAAiB,CAAA;AAMzB,IAAA,WAAA,CACI,QAAgB,EAChB,SAAiB,EACjB,MAAc,EACd,WAAmB,EACnB,cAAsB,EACtB,oBAA0C,EAC1C,aAA4B,EAAA;AAE5B,QAAA,KAAK,CACD,QAAQ,EACR,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AAC;AAC7C,QAAA,MAAM,YAAY,GACd,SAAS,IAAI,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,WAAW,CAAC,CAAC;AAEtE,QAAA,OAAO,KAAK,CAAC,mBAAmB,CAC5B,SAAS,EACT,aAAa,EACb,YAAY,EACZ,iBAAiB,CACpB,CAAC;KACL;AACJ;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"BrowserPerformanceMeasurement.d.ts","sourceRoot":"","sources":["../../src/telemetry/BrowserPerformanceMeasurement.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAE7E,qBAAa,6BAA8B,YAAW,uBAAuB;IACzE,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAS;IACrC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAS;IACvC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;IACnC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;gBAErB,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM;IAO/C,OAAO,CAAC,MAAM,CAAC,eAAe;IAI9B,OAAO,CAAC,MAAM,CAAC,aAAa;IAI5B,OAAO,CAAC,MAAM,CAAC,WAAW;IAI1B,MAAM,CAAC,0BAA0B,IAAI,OAAO;IAU5C;;;;OAIG;WACW,iBAAiB,CAAC,aAAa,EAAE,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,GAAG,IAAI;IAkB5F,gBAAgB,IAAI,IAAI;IAUxB,cAAc,IAAG,IAAI;IAWrB,gBAAgB,IAAI,MAAM,GAAG,IAAI;CAiBpC"}
1
+ {"version":3,"file":"BrowserPerformanceMeasurement.d.ts","sourceRoot":"","sources":["../../src/telemetry/BrowserPerformanceMeasurement.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAE7E,qBAAa,6BAA8B,YAAW,uBAAuB;IACzE,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAS;IACrC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAS;IACvC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;IACnC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;gBAErB,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM;IAgB/C,OAAO,CAAC,MAAM,CAAC,eAAe;IAI9B,OAAO,CAAC,MAAM,CAAC,aAAa;IAI5B,OAAO,CAAC,MAAM,CAAC,WAAW;IAI1B,MAAM,CAAC,0BAA0B,IAAI,OAAO;IAY5C;;;;OAIG;WACW,iBAAiB,CAC3B,aAAa,EAAE,MAAM,EACrB,YAAY,EAAE,cAAc,EAAE,GAC/B,IAAI;IAoCP,gBAAgB,IAAI,IAAI;IAUxB,cAAc,IAAI,IAAI;IAetB,gBAAgB,IAAI,MAAM,GAAG,IAAI;CAqBpC"}
@@ -1,45 +1,45 @@
1
- /*! @azure/msal-browser v2.37.0 2023-05-01 */
1
+ /*! @azure/msal-browser v3.0.0-alpha.0 2023-05-03 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
5
  * Licensed under the MIT License.
6
6
  */
7
- var BrowserPerformanceMeasurement = /** @class */ (function () {
8
- function BrowserPerformanceMeasurement(name, correlationId) {
7
+ class BrowserPerformanceMeasurement {
8
+ constructor(name, correlationId) {
9
9
  this.correlationId = correlationId;
10
10
  this.measureName = BrowserPerformanceMeasurement.makeMeasureName(name, correlationId);
11
11
  this.startMark = BrowserPerformanceMeasurement.makeStartMark(name, correlationId);
12
12
  this.endMark = BrowserPerformanceMeasurement.makeEndMark(name, correlationId);
13
13
  }
14
- BrowserPerformanceMeasurement.makeMeasureName = function (name, correlationId) {
15
- return "msal.measure." + name + "." + correlationId;
16
- };
17
- BrowserPerformanceMeasurement.makeStartMark = function (name, correlationId) {
18
- return "msal.start." + name + "." + correlationId;
19
- };
20
- BrowserPerformanceMeasurement.makeEndMark = function (name, correlationId) {
21
- return "msal.end." + name + "." + correlationId;
22
- };
23
- BrowserPerformanceMeasurement.supportsBrowserPerformance = function () {
24
- return typeof window !== "undefined" &&
14
+ static makeMeasureName(name, correlationId) {
15
+ return `msal.measure.${name}.${correlationId}`;
16
+ }
17
+ static makeStartMark(name, correlationId) {
18
+ return `msal.start.${name}.${correlationId}`;
19
+ }
20
+ static makeEndMark(name, correlationId) {
21
+ return `msal.end.${name}.${correlationId}`;
22
+ }
23
+ static supportsBrowserPerformance() {
24
+ return (typeof window !== "undefined" &&
25
25
  typeof window.performance !== "undefined" &&
26
26
  typeof window.performance.mark === "function" &&
27
27
  typeof window.performance.measure === "function" &&
28
28
  typeof window.performance.clearMarks === "function" &&
29
29
  typeof window.performance.clearMeasures === "function" &&
30
- typeof window.performance.getEntriesByName === "function";
31
- };
30
+ typeof window.performance.getEntriesByName === "function");
31
+ }
32
32
  /**
33
33
  * Flush browser marks and measurements.
34
34
  * @param {string} correlationId
35
35
  * @param {SubMeasurement} measurements
36
36
  */
37
- BrowserPerformanceMeasurement.flushMeasurements = function (correlationId, measurements) {
37
+ static flushMeasurements(correlationId, measurements) {
38
38
  if (BrowserPerformanceMeasurement.supportsBrowserPerformance()) {
39
39
  try {
40
- measurements.forEach(function (measurement) {
41
- var measureName = BrowserPerformanceMeasurement.makeMeasureName(measurement.name, correlationId);
42
- var entriesForMeasurement = window.performance.getEntriesByName(measureName, "measure");
40
+ measurements.forEach((measurement) => {
41
+ const measureName = BrowserPerformanceMeasurement.makeMeasureName(measurement.name, correlationId);
42
+ const entriesForMeasurement = window.performance.getEntriesByName(measureName, "measure");
43
43
  if (entriesForMeasurement.length > 0) {
44
44
  window.performance.clearMeasures(measureName);
45
45
  window.performance.clearMarks(BrowserPerformanceMeasurement.makeStartMark(measureName, correlationId));
@@ -51,8 +51,8 @@ var BrowserPerformanceMeasurement = /** @class */ (function () {
51
51
  // Silently catch and return null
52
52
  }
53
53
  }
54
- };
55
- BrowserPerformanceMeasurement.prototype.startMeasurement = function () {
54
+ }
55
+ startMeasurement() {
56
56
  if (BrowserPerformanceMeasurement.supportsBrowserPerformance()) {
57
57
  try {
58
58
  window.performance.mark(this.startMark);
@@ -61,8 +61,8 @@ var BrowserPerformanceMeasurement = /** @class */ (function () {
61
61
  // Silently catch
62
62
  }
63
63
  }
64
- };
65
- BrowserPerformanceMeasurement.prototype.endMeasurement = function () {
64
+ }
65
+ endMeasurement() {
66
66
  if (BrowserPerformanceMeasurement.supportsBrowserPerformance()) {
67
67
  try {
68
68
  window.performance.mark(this.endMark);
@@ -72,13 +72,13 @@ var BrowserPerformanceMeasurement = /** @class */ (function () {
72
72
  // Silently catch
73
73
  }
74
74
  }
75
- };
76
- BrowserPerformanceMeasurement.prototype.flushMeasurement = function () {
75
+ }
76
+ flushMeasurement() {
77
77
  if (BrowserPerformanceMeasurement.supportsBrowserPerformance()) {
78
78
  try {
79
- var entriesForMeasurement = window.performance.getEntriesByName(this.measureName, "measure");
79
+ const entriesForMeasurement = window.performance.getEntriesByName(this.measureName, "measure");
80
80
  if (entriesForMeasurement.length > 0) {
81
- var durationMs = entriesForMeasurement[0].duration;
81
+ const durationMs = entriesForMeasurement[0].duration;
82
82
  window.performance.clearMeasures(this.measureName);
83
83
  window.performance.clearMarks(this.startMark);
84
84
  window.performance.clearMarks(this.endMark);
@@ -90,9 +90,8 @@ var BrowserPerformanceMeasurement = /** @class */ (function () {
90
90
  }
91
91
  }
92
92
  return null;
93
- };
94
- return BrowserPerformanceMeasurement;
95
- }());
93
+ }
94
+ }
96
95
 
97
96
  export { BrowserPerformanceMeasurement };
98
97
  //# sourceMappingURL=BrowserPerformanceMeasurement.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BrowserPerformanceMeasurement.js","sources":["../../src/telemetry/BrowserPerformanceMeasurement.ts"],"sourcesContent":["/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License.\r\n */\r\n\r\nimport { IPerformanceMeasurement, SubMeasurement } from \"@azure/msal-common\";\r\n\r\nexport class BrowserPerformanceMeasurement implements IPerformanceMeasurement {\r\n private readonly measureName: string;\r\n private readonly correlationId: string;\r\n private readonly startMark: string;\r\n private readonly endMark: string;\r\n\r\n constructor(name: string, correlationId: string) {\r\n this.correlationId = correlationId;\r\n this.measureName = BrowserPerformanceMeasurement.makeMeasureName(name, correlationId);\r\n this.startMark = BrowserPerformanceMeasurement.makeStartMark(name, correlationId);\r\n this.endMark = BrowserPerformanceMeasurement.makeEndMark(name, correlationId);\r\n }\r\n\r\n private static makeMeasureName(name: string, correlationId: string) {\r\n return `msal.measure.${name}.${correlationId}`;\r\n }\r\n\r\n private static makeStartMark(name: string, correlationId: string) {\r\n return `msal.start.${name}.${correlationId}`;\r\n }\r\n\r\n private static makeEndMark(name: string, correlationId: string) {\r\n return `msal.end.${name}.${correlationId}`;\r\n }\r\n\r\n static supportsBrowserPerformance(): boolean {\r\n return typeof window !== \"undefined\" &&\r\n typeof window.performance !== \"undefined\" &&\r\n typeof window.performance.mark === \"function\" &&\r\n typeof window.performance.measure === \"function\" &&\r\n typeof window.performance.clearMarks === \"function\" &&\r\n typeof window.performance.clearMeasures === \"function\" &&\r\n typeof window.performance.getEntriesByName === \"function\";\r\n }\r\n\r\n /**\r\n * Flush browser marks and measurements.\r\n * @param {string} correlationId\r\n * @param {SubMeasurement} measurements\r\n */\r\n public static flushMeasurements(correlationId: string, measurements: SubMeasurement[]): void {\r\n if (BrowserPerformanceMeasurement.supportsBrowserPerformance()) {\r\n try {\r\n measurements.forEach((measurement) => {\r\n const measureName = BrowserPerformanceMeasurement.makeMeasureName(measurement.name, correlationId);\r\n const entriesForMeasurement = window.performance.getEntriesByName(measureName, \"measure\");\r\n if (entriesForMeasurement.length > 0) {\r\n window.performance.clearMeasures(measureName);\r\n window.performance.clearMarks(BrowserPerformanceMeasurement.makeStartMark(measureName, correlationId));\r\n window.performance.clearMarks(BrowserPerformanceMeasurement.makeEndMark(measureName, correlationId));\r\n }\r\n });\r\n } catch (e) {\r\n // Silently catch and return null\r\n }\r\n }\r\n }\r\n\r\n startMeasurement(): void {\r\n if (BrowserPerformanceMeasurement.supportsBrowserPerformance()) {\r\n try {\r\n window.performance.mark(this.startMark);\r\n } catch (e) {\r\n // Silently catch\r\n }\r\n }\r\n }\r\n\r\n endMeasurement():void {\r\n if (BrowserPerformanceMeasurement.supportsBrowserPerformance()) {\r\n try {\r\n window.performance.mark(this.endMark);\r\n window.performance.measure(this.measureName, this.startMark, this.endMark);\r\n } catch (e) {\r\n // Silently catch\r\n }\r\n }\r\n }\r\n\r\n flushMeasurement(): number | null {\r\n if (BrowserPerformanceMeasurement.supportsBrowserPerformance()) {\r\n try {\r\n const entriesForMeasurement = window.performance.getEntriesByName(this.measureName, \"measure\");\r\n if (entriesForMeasurement.length > 0) {\r\n const durationMs = entriesForMeasurement[0].duration;\r\n window.performance.clearMeasures(this.measureName);\r\n window.performance.clearMarks(this.startMark);\r\n window.performance.clearMarks(this.endMark);\r\n return durationMs;\r\n }\r\n } catch (e) {\r\n // Silently catch and return null\r\n }\r\n }\r\n return null;\r\n }\r\n}\r\n"],"names":[],"mappings":";;AAAA;;;;;IAaI,uCAAY,IAAY,EAAE,aAAqB;QAC3C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,6BAA6B,CAAC,eAAe,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC;QACtF,IAAI,CAAC,SAAS,GAAG,6BAA6B,CAAC,aAAa,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC;QAClF,IAAI,CAAC,OAAO,GAAG,6BAA6B,CAAC,WAAW,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC;KACjF;IAEc,6CAAe,GAA9B,UAA+B,IAAY,EAAE,aAAqB;QAC9D,OAAO,kBAAgB,IAAI,SAAI,aAAe,CAAC;KAClD;IAEc,2CAAa,GAA5B,UAA6B,IAAY,EAAE,aAAqB;QAC5D,OAAO,gB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{"version":3,"file":"BrowserPerformanceMeasurement.js","sources":["../../src/telemetry/BrowserPerformanceMeasurement.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;MAIU,6BAA6B,CAAA;IAMtC,WAAY,CAAA,IAAY,EAAE,aAAqB,EAAA;AAC3C,QAAA,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,6BAA6B,CAAC,eAAe,CAC5D,IAAI,EACJ,aAAa,CAChB,CAAC;QACF,IAAI,CAAC,SAAS,GAAG,6BAA6B,CAAC,aAAa,CACxD,IAAI,EACJ,aAAa,CAChB,CAAC;QACF,IAAI,CAAC,OAAO,GAAG,6BAA6B,CAAC,WAAW,CACpD,IAAI,EACJ,aAAa,CAChB,CAAC;KACL;AAEO,IAAA,OAAO,eAAe,CAAC,IAAY,EAAE,aAAqB,EAAA;AAC9D,QAAA,OAAO,CAAgB,aAAA,EAAA,IAAI,CAAI,CAAA,EAAA,aAAa,EAAE,CAAC;KAClD;AAEO,IAAA,OAAO,aAAa,CAAC,IAAY,EAAE,aAAqB,EAAA;AAC5D,QAAA,OAAO,CAAc,WAAA,EAAA,IAAI,CAAI,CAAA,EAAA,aAAa,EAAE,CAAC;KAChD;AAEO,IAAA,OAAO,WAAW,CAAC,IAAY,EAAE,aAAqB,EAAA;AAC1D,QAAA,OAAO,CAAY,SAAA,EAAA,IAAI,CAAI,CAAA,EAAA,aAAa,EAAE,CAAC;KAC9C;AAED,IAAA,OAAO,0BAA0B,GAAA;AAC7B,QAAA,QACI,OAAO,MAAM,KAAK,WAAW;AAC7B,YAAA,OAAO,MAAM,CAAC,WAAW,KAAK,WAAW;AACzC,YAAA,OAAO,MAAM,CAAC,WAAW,CAAC,IAAI,KAAK,UAAU;AAC7C,YAAA,OAAO,MAAM,CAAC,WAAW,CAAC,OAAO,KAAK,UAAU;AAChD,YAAA,OAAO,MAAM,CAAC,WAAW,CAAC,UAAU,KAAK,UAAU;AACnD,YAAA,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MAAM,eAAe,EAAE,eAAe,GAAG,YAE/C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,QAAQ,CAAC;AAGpC,oBAAY,UAAU;IAClB,KAAK,sBAAsB;IAC3B,OAAO,wBAAwB;CAClC;AAGD,eAAO,MAAM,OAAO,YAAY,CAAC;AACjC,eAAO,MAAM,UAAU,IAAI,CAAC;AAC5B,eAAO,MAAM,aAAa,QAAoB,CAAC;AAE/C,oBAAY,iBAAiB;IAMzB,OAAO,IAAI;IAKX,WAAW,IAAI;IAMf,0BAA0B,IAAI;IAM9B,YAAY,IAAI;IAMhB,sBAAsB,IAAI;IAK1B,IAAI,IAAI;CACX"}
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v2.37.0 2023-05-01 */
1
+ /*! @azure/msal-browser v3.0.0-alpha.0 2023-05-03 */
2
2
  'use strict';
3
3
  import { OIDC_DEFAULT_SCOPES } from '@azure/msal-common';
4
4
 
@@ -9,7 +9,7 @@ import { OIDC_DEFAULT_SCOPES } from '@azure/msal-common';
9
9
  /**
10
10
  * Constants
11
11
  */
12
- var BrowserConstants = {
12
+ const BrowserConstants = {
13
13
  /**
14
14
  * Interaction in progress cache value
15
15
  */
@@ -39,10 +39,10 @@ var BrowserConstants = {
39
39
  */
40
40
  MSAL_SKU: "msal.js.browser",
41
41
  };
42
- var NativeConstants = {
42
+ const NativeConstants = {
43
43
  CHANNEL_ID: "53ee284d-920a-4b59-9d30-a60315b26836",
44
44
  PREFERRED_EXTENSION_ID: "ppnbnpeolgkicgegkbkbjmhlideopiji",
45
- MATS_TELEMETRY: "MATS"
45
+ MATS_TELEMETRY: "MATS",
46
46
  };
47
47
  var NativeExtensionMethod;
48
48
  (function (NativeExtensionMethod) {
@@ -162,13 +162,13 @@ var InteractionStatus;
162
162
  */
163
163
  InteractionStatus["None"] = "none";
164
164
  })(InteractionStatus || (InteractionStatus = {}));
165
- var DEFAULT_REQUEST = {
166
- scopes: OIDC_DEFAULT_SCOPES
165
+ const DEFAULT_REQUEST = {
166
+ scopes: OIDC_DEFAULT_SCOPES,
167
167
  };
168
168
  /**
169
169
  * JWK Key Format string (Type MUST be defined for window crypto APIs)
170
170
  */
171
- var KEY_FORMAT_JWK = "jwk";
171
+ const KEY_FORMAT_JWK = "jwk";
172
172
  // Supported wrapper SKUs
173
173
  var WrapperSKU;
174
174
  (function (WrapperSKU) {
@@ -176,9 +176,9 @@ var WrapperSKU;
176
176
  WrapperSKU["Angular"] = "@azure/msal-angular";
177
177
  })(WrapperSKU || (WrapperSKU = {}));
178
178
  // DatabaseStorage Constants
179
- var DB_NAME = "msal.db";
180
- var DB_VERSION = 1;
181
- var DB_TABLE_NAME = DB_NAME + ".keys";
179
+ const DB_NAME = "msal.db";
180
+ const DB_VERSION = 1;
181
+ const DB_TABLE_NAME = `${DB_NAME}.keys`;
182
182
  var CacheLookupPolicy;
183
183
  (function (CacheLookupPolicy) {
184
184
  /*
@@ -1 +1 @@
1
- {"version":3,"file":"BrowserConstants.js","sources":["../../src/utils/BrowserConstants.ts"],"sourcesContent":["/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License.\r\n */\r\n\r\nimport { OIDC_DEFAULT_SCOPES } from \"@azure/msal-common\";\r\nimport { PopupRequest } from \"../request/PopupRequest\";\r\nimport { RedirectRequest } from \"../request/RedirectRequest\";\r\n\r\n/**\r\n * Constants\r\n */\r\nexport const BrowserConstants = {\r\n /**\r\n * Interaction in progress cache value\r\n */\r\n INTERACTION_IN_PROGRESS_VALUE: \"interaction_in_progress\",\r\n /**\r\n * Invalid grant error code\r\n */\r\n INVALID_GRANT_ERROR: \"invalid_grant\",\r\n /**\r\n * Default popup window width\r\n */\r\n POPUP_WIDTH: 483,\r\n /**\r\n * Default popup window height\r\n */\r\n POPUP_HEIGHT: 600,\r\n /**\r\n * Name of the popup window starts with\r\n */\r\n POPUP_NAME_PREFIX: \"msal\",\r\n /**\r\n * Default popup monitor poll interval in milliseconds\r\n */\r\n DEFAULT_POLL_INTERVAL_MS: 30,\r\n /**\r\n * Msal-browser SKU\r\n */\r\n MSAL_SKU: \"msal.js.browser\",\r\n};\r\n\r\nexport const NativeConstants = {\r\n CHANNEL_ID: \"53ee284d-920a-4b59-9d30-a60315b26836\",\r\n PREFERRED_EXTENSION_ID: \"ppnbnpeolgkicgegkbkbjmhlideopiji\",\r\n MATS_TELEMETRY: \"MATS\"\r\n};\r\n\r\nexport enum NativeExtensionMethod {\r\n HandshakeRequest = \"Handshake\",\r\n HandshakeResponse = \"HandshakeResponse\",\r\n GetToken = \"GetToken\",\r\n Response = \"Response\"\r\n}\r\n\r\nexport enum BrowserCacheLocation {\r\n LocalStorage = \"localStorage\",\r\n SessionStorage = \"sessionStorage\",\r\n MemoryStorage = \"memoryStorage\"\r\n}\r\n\r\n/**\r\n * HTTP Request types supported by MSAL.\r\n */\r\nexport enum HTTP_REQUEST_TYPE {\r\n GET = \"GET\",\r\n POST = \"POST\"\r\n}\r\n\r\n/**\r\n * Temporary cache keys for MSAL, deleted after any request.\r\n */\r\nexport enum TemporaryCacheKeys {\r\n AUTHORITY = \"authority\",\r\n ACQUIRE_TOKEN_ACCOUNT = \"acquireToken.account\",\r\n SESSION_STATE = \"session.state\",\r\n REQUEST_STATE = \"request.state\",\r\n NONCE_IDTOKEN = \"nonce.id_token\",\r\n ORIGIN_URI = \"request.origin\",\r\n RENEW_STATUS = \"token.renew.status\",\r\n URL_HASH = \"urlHash\",\r\n REQUEST_PARAMS = \"request.params\",\r\n SCOPES = \"scopes\",\r\n INTERACTION_STATUS_KEY = \"interaction.status\",\r\n CCS_CREDENTIAL = \"ccs.credential\",\r\n CORRELATION_ID = \"request.correlationId\",\r\n NATIVE_REQUEST = \"request.native\",\r\n REDIRECT_CONTEXT = \"request.redirect.context\"\r\n}\r\n\r\nexport enum StaticCacheKeys {\r\n ACCOUNT_KEYS = \"msal.account.keys\",\r\n TOKEN_KEYS = \"msal.token.keys\"\r\n}\r\n\r\n/**\r\n * Cache keys stored in-memory\r\n */\r\nexport enum InMemoryCacheKeys {\r\n WRAPPER_SKU = \"wrapper.sku\",\r\n WRAPPER_VER = \"wrapper.version\"\r\n}\r\n\r\n/**\r\n * API Codes for Telemetry purposes. \r\n * Before adding a new code you must claim it in the MSAL Telemetry tracker as these number spaces are shared across all MSALs\r\n * 0-99 Silent Flow\r\n * 800-899 Auth Code Flow\r\n */\r\nexport enum ApiId {\r\n acquireTokenRedirect = 861,\r\n acquireTokenPopup = 862,\r\n ssoSilent = 863,\r\n acquireTokenSilent_authCode = 864,\r\n handleRedirectPromise = 865,\r\n acquireTokenByCode = 866,\r\n acquireTokenSilent_silentFlow = 61,\r\n logout = 961,\r\n logoutPopup = 962\r\n}\r\n\r\n/*\r\n * Interaction type of the API - used for state and telemetry\r\n */\r\nexport enum InteractionType {\r\n Redirect = \"redirect\",\r\n Popup = \"popup\",\r\n Silent = \"silent\",\r\n None = \"none\"\r\n}\r\n\r\n/**\r\n * Types of interaction currently in progress.\r\n * Used in events in wrapper libraries to invoke functions when certain interaction is in progress or all interactions are complete.\r\n */\r\nexport enum InteractionStatus {\r\n /**\r\n * Initial status before interaction occurs\r\n */\r\n Startup = \"startup\",\r\n /**\r\n * Status set when all login calls occuring\r\n */\r\n Login = \"login\",\r\n /**\r\n * Status set when logout call occuring\r\n */ \r\n Logout = \"logout\",\r\n /**\r\n * Status set for acquireToken calls\r\n */\r\n AcquireToken = \"acquireToken\",\r\n /**\r\n * Status set for ssoSilent calls\r\n */\r\n SsoSilent = \"ssoSilent\",\r\n /**\r\n * Status set when handleRedirect in progress\r\n */\r\n HandleRedirect = \"handleRedirect\",\r\n /**\r\n * Status set when interaction is complete\r\n */\r\n None = \"none\"\r\n}\r\n\r\nexport const DEFAULT_REQUEST: RedirectRequest|PopupRequest = {\r\n scopes: OIDC_DEFAULT_SCOPES\r\n};\r\n\r\n/**\r\n * JWK Key Format string (Type MUST be defined for window crypto APIs)\r\n */\r\nexport const KEY_FORMAT_JWK = \"jwk\";\r\n\r\n// Supported wrapper SKUs\r\nexport enum WrapperSKU {\r\n React = \"@azure/msal-react\",\r\n Angular = \"@azure/msal-angular\"\r\n}\r\n\r\n// DatabaseStorage Constants\r\nexport const DB_NAME = \"msal.db\";\r\nexport const DB_VERSION = 1;\r\nexport const DB_TABLE_NAME = `${DB_NAME}.keys`;\r\n\r\nexport enum CacheLookupPolicy {\r\n /*\r\n * acquireTokenSilent will attempt to retrieve an access token from the cache. If the access token is expired\r\n * or cannot be found the refresh token will be used to acquire a new one. Finally, if the refresh token\r\n * is expired acquireTokenSilent will attempt to acquire new access and refresh tokens.\r\n */\r\n Default = 0, // 0 is falsy, is equivalent to not passing in a CacheLookupPolicy\r\n /*\r\n * acquireTokenSilent will only look for access tokens in the cache. It will not attempt to renew access or\r\n * refresh tokens.\r\n */\r\n AccessToken = 1,\r\n /*\r\n * acquireTokenSilent will attempt to retrieve an access token from the cache. If the access token is expired or\r\n * cannot be found, the refresh token will be used to acquire a new one. If the refresh token is expired, it\r\n * will not be renewed and acquireTokenSilent will fail.\r\n */\r\n AccessTokenAndRefreshToken = 2,\r\n /*\r\n * acquireTokenSilent will not attempt to retrieve access tokens from the cache and will instead attempt to\r\n * exchange the cached refresh token for a new access token. If the refresh token is expired, it will not be\r\n * renewed and acquireTokenSilent will fail.\r\n */\r\n RefreshToken = 3,\r\n /*\r\n * acquireTokenSilent will not look in the cache for the access token. It will go directly to network with the\r\n * cached refresh token. If the refresh token is expired an attempt will be made to renew it. This is equivalent to\r\n * setting \"forceRefresh: true\".\r\n */\r\n RefreshTokenAndNetwork = 4,\r\n /*\r\n * acquireTokenSilent will attempt to renew both access and refresh tokens. It will not look in the cache. This will\r\n * always fail if 3rd party cookies are blocked by the browser.\r\n */\r\n Skip = 5,\r\n}\r\n"],"names":[],"mappings":";;;;AAAA;;;;AASA;;;IAGa,gBAAgB,GAAG;;;;IAI5B,6BAA6B,EAAE,yBAAyB;;;;IAIxD,mBAAmB,EAAE,eAAe;;;;IAIpC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G;AACI,MAAM,cAAc,GAAG,MAAM;AAEpC;IACY,WAGX;AAHD,CAAA,UAAY,UAAU,EAAA;AAClB,IAAA,UAAA,CAAA,OAAA,CAAA,GAAA,mBAA2B,CAAA;AAC3B,IAAA,UAAA,CAAA,SAAA,CAAA,GAAA,qBAA+B,CAAA;AACnC,CAAC,EAHW,UAAU,KAAV,UAAU,GAGrB,EAAA,CAAA,CAAA,CAAA;AAED;AACO,MAAM,OAAO,GAAG,UAAU;AAC1B,MAAM,UAAU,GAAG,EAAE;AACf,MAAA,aAAa,GAAG,CAAG,EAAA,OAAO,QAAQ;IAEnC,kBAmCX;AAnCD,CAAA,UAAY,iBAAiB,EAAA;AACzB;;;;AAIG;AACH,IAAA,iBAAA,CAAA,iBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAW,CAAA;AACX;;;AAGG;AACH,IAAA,iBAAA,CAAA,iBAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,GAAA,aAAe,CAAA;AACf;;;;AAIG;AACH,IAAA,iBAAA,CAAA,iBAAA,CAAA,4BAAA,CAAA,GAAA,CAAA,CAAA,GAAA,4BAA8B,CAAA;AAC9B;;;;AAIG;AACH,IAAA,iBAAA,CAAA,iBAAA,CAAA,cAAA,CAAA,GAAA,CAAA,CAAA,GAAA,cAAgB,CAAA;AAChB;;;;AAIG;AACH,IAAA,iBAAA,CAAA,iBAAA,CAAA,wBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,wBAA0B,CAAA;AAC1B;;;AAGG;AACH,IAAA,iBAAA,CAAA,iBAAA,CAAA,MAAA,CAAA,GAAA,CAAA,CAAA,GAAA,MAAQ,CAAA;AACZ,CAAC,EAnCW,iBAAiB,KAAjB,iBAAiB,GAmC5B,EAAA,CAAA,CAAA;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { InteractionType } from "./BrowserConstants";
2
2
  import { ICrypto, ServerAuthorizationCodeResponse } from "@azure/msal-common";
3
- export declare type BrowserStateObject = {
3
+ export type BrowserStateObject = {
4
4
  interactionType: InteractionType;
5
5
  };
6
6
  export declare class BrowserProtocolUtils {
@@ -1 +1 @@
1
- {"version":3,"file":"BrowserProtocolUtils.d.ts","sourceRoot":"","sources":["../../src/utils/BrowserProtocolUtils.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAgC,OAAO,EAAqC,+BAA+B,EAAa,MAAM,oBAAoB,CAAC;AAE1J,oBAAY,kBAAkB,GAAG;IAC7B,eAAe,EAAE,eAAe,CAAA;CACnC,CAAC;AAEF,qBAAa,oBAAoB;IAE7B;;;;OAIG;IACH,MAAM,CAAC,0BAA0B,CAAC,aAAa,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,kBAAkB,GAAG,IAAI;IAanG;;;OAGG;IACH,MAAM,CAAC,2BAA2B,CAAC,YAAY,EAAE,MAAM,GAAG,+BAA+B;CAQ5F"}
1
+ {"version":3,"file":"BrowserProtocolUtils.d.ts","sourceRoot":"","sources":["../../src/utils/BrowserProtocolUtils.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAGH,OAAO,EAGP,+BAA+B,EAElC,MAAM,oBAAoB,CAAC;AAE5B,MAAM,MAAM,kBAAkB,GAAG;IAC7B,eAAe,EAAE,eAAe,CAAC;CACpC,CAAC;AAEF,qBAAa,oBAAoB;IAC7B;;;;OAIG;IACH,MAAM,CAAC,0BAA0B,CAC7B,aAAa,EAAE,OAAO,EACtB,KAAK,EAAE,MAAM,GACd,kBAAkB,GAAG,IAAI;IAc5B;;;OAGG;IACH,MAAM,CAAC,2BAA2B,CAC9B,YAAY,EAAE,MAAM,GACrB,+BAA+B;CAQrC"}