@azure/msal-browser 5.6.1 → 5.6.3

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 (396) hide show
  1. package/dist/app/IPublicClientApplication.mjs +1 -1
  2. package/dist/app/PublicClientApplication.mjs +1 -1
  3. package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  4. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  5. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  6. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  7. package/dist/cache/AccountManager.mjs +1 -1
  8. package/dist/cache/AsyncMemoryStorage.mjs +1 -1
  9. package/dist/cache/BrowserCacheManager.mjs +1 -1
  10. package/dist/cache/CacheHelpers.mjs +1 -1
  11. package/dist/cache/CacheKeys.mjs +1 -1
  12. package/dist/cache/CookieStorage.mjs +1 -1
  13. package/dist/cache/DatabaseStorage.mjs +1 -1
  14. package/dist/cache/EncryptedData.mjs +1 -1
  15. package/dist/cache/LocalStorage.mjs +1 -1
  16. package/dist/cache/MemoryStorage.mjs +1 -1
  17. package/dist/cache/SessionStorage.mjs +1 -1
  18. package/dist/cache/TokenCache.d.ts.map +1 -1
  19. package/dist/cache/TokenCache.mjs +9 -9
  20. package/dist/cache/TokenCache.mjs.map +1 -1
  21. package/dist/config/Configuration.d.ts +13 -1
  22. package/dist/config/Configuration.d.ts.map +1 -1
  23. package/dist/config/Configuration.mjs +9 -2
  24. package/dist/config/Configuration.mjs.map +1 -1
  25. package/dist/controllers/NestedAppAuthController.mjs +1 -1
  26. package/dist/controllers/StandardController.d.ts +4 -2
  27. package/dist/controllers/StandardController.d.ts.map +1 -1
  28. package/dist/controllers/StandardController.mjs +56 -19
  29. package/dist/controllers/StandardController.mjs.map +1 -1
  30. package/dist/crypto/BrowserCrypto.mjs +1 -1
  31. package/dist/crypto/CryptoOps.mjs +1 -1
  32. package/dist/crypto/PkceGenerator.mjs +1 -1
  33. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  34. package/dist/custom-auth-path/app/PublicClientApplication.mjs +1 -1
  35. package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  36. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  37. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  38. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  39. package/dist/custom-auth-path/cache/AccountManager.mjs +1 -1
  40. package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +1 -1
  41. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +1 -1
  42. package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
  43. package/dist/custom-auth-path/cache/CacheKeys.mjs +1 -1
  44. package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
  45. package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
  46. package/dist/custom-auth-path/cache/EncryptedData.mjs +1 -1
  47. package/dist/custom-auth-path/cache/LocalStorage.mjs +1 -1
  48. package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
  49. package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
  50. package/dist/custom-auth-path/cache/TokenCache.d.ts.map +1 -1
  51. package/dist/custom-auth-path/config/Configuration.d.ts +13 -1
  52. package/dist/custom-auth-path/config/Configuration.d.ts.map +1 -1
  53. package/dist/custom-auth-path/config/Configuration.mjs +9 -2
  54. package/dist/custom-auth-path/config/Configuration.mjs.map +1 -1
  55. package/dist/custom-auth-path/controllers/StandardController.d.ts +4 -2
  56. package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
  57. package/dist/custom-auth-path/controllers/StandardController.mjs +56 -19
  58. package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -1
  59. package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
  60. package/dist/custom-auth-path/crypto/CryptoOps.mjs +1 -1
  61. package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
  62. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +1 -1
  63. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -1
  64. package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
  65. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
  66. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  67. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
  68. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  69. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  70. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
  71. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
  72. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
  73. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
  74. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
  75. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
  76. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
  77. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
  78. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
  79. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
  80. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
  81. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
  82. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
  83. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
  84. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
  85. package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
  86. package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  87. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  88. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  89. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  90. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  91. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  92. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  93. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  94. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  95. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
  96. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  97. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  98. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  99. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
  100. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  101. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
  102. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
  103. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
  104. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
  105. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  106. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
  107. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
  108. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
  109. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  110. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
  111. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  112. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  113. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
  114. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  115. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  116. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
  117. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
  118. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
  119. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
  120. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  121. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  122. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  123. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  124. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  125. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  126. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  127. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
  128. package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
  129. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  130. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  131. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  132. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  133. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  134. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  135. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
  136. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  137. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  138. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
  139. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  140. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  141. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  142. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
  143. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  144. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
  145. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
  146. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
  147. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
  148. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  149. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
  150. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  151. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
  152. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  153. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
  154. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
  155. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  156. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  157. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  158. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  159. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  160. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  161. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
  162. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
  163. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  164. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  165. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
  166. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  167. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  168. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  169. package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
  170. package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
  171. package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
  172. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
  173. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
  174. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  175. package/dist/custom-auth-path/error/NativeAuthError.mjs +1 -1
  176. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
  177. package/dist/custom-auth-path/event/EventHandler.mjs +1 -1
  178. package/dist/custom-auth-path/event/EventType.mjs +1 -1
  179. package/dist/custom-auth-path/index.d.ts +1 -1
  180. package/dist/custom-auth-path/index.d.ts.map +1 -1
  181. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
  182. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  183. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts +10 -10
  184. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  185. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +8 -8
  186. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  187. package/dist/custom-auth-path/interaction_client/PopupClient.mjs +1 -1
  188. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +1 -1
  189. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
  190. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
  191. package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts.map +1 -1
  192. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +21 -8
  193. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs.map +1 -1
  194. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
  195. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
  196. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
  197. package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts +6 -0
  198. package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts.map +1 -1
  199. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +12 -2
  200. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs.map +1 -1
  201. package/dist/custom-auth-path/log-strings-mapping.json +23 -3
  202. package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
  203. package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
  204. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
  205. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
  206. package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
  207. package/dist/custom-auth-path/packageMetadata.mjs +2 -2
  208. package/dist/custom-auth-path/protocol/Authorize.mjs +1 -1
  209. package/dist/custom-auth-path/redirect_bridge/index.d.ts.map +1 -1
  210. package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
  211. package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
  212. package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts +1 -0
  213. package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  214. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts +5 -0
  215. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
  216. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs +9 -3
  217. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs.map +1 -1
  218. package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
  219. package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
  220. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
  221. package/dist/custom-auth-path/utils/BrowserUtils.d.ts +2 -2
  222. package/dist/custom-auth-path/utils/BrowserUtils.d.ts.map +1 -1
  223. package/dist/custom-auth-path/utils/BrowserUtils.mjs +27 -3
  224. package/dist/custom-auth-path/utils/BrowserUtils.mjs.map +1 -1
  225. package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
  226. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
  227. package/dist/custom_auth/CustomAuthConstants.d.ts +1 -1
  228. package/dist/encode/Base64Decode.mjs +1 -1
  229. package/dist/encode/Base64Encode.mjs +1 -1
  230. package/dist/error/BrowserAuthError.mjs +1 -1
  231. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  232. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  233. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  234. package/dist/error/NativeAuthError.mjs +1 -1
  235. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  236. package/dist/error/NestedAppAuthError.mjs +1 -1
  237. package/dist/event/EventHandler.mjs +1 -1
  238. package/dist/event/EventMessage.mjs +1 -1
  239. package/dist/event/EventType.mjs +1 -1
  240. package/dist/index.d.ts +1 -1
  241. package/dist/index.d.ts.map +1 -1
  242. package/dist/index.mjs +1 -1
  243. package/dist/index.mjs.map +1 -1
  244. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  245. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  246. package/dist/interaction_client/PlatformAuthInteractionClient.d.ts +10 -10
  247. package/dist/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  248. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +8 -8
  249. package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  250. package/dist/interaction_client/PopupClient.mjs +1 -1
  251. package/dist/interaction_client/RedirectClient.mjs +1 -1
  252. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  253. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  254. package/dist/interaction_client/SilentIframeClient.d.ts.map +1 -1
  255. package/dist/interaction_client/SilentIframeClient.mjs +21 -8
  256. package/dist/interaction_client/SilentIframeClient.mjs.map +1 -1
  257. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  258. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  259. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  260. package/dist/interaction_handler/SilentHandler.d.ts +6 -0
  261. package/dist/interaction_handler/SilentHandler.d.ts.map +1 -1
  262. package/dist/interaction_handler/SilentHandler.mjs +12 -2
  263. package/dist/interaction_handler/SilentHandler.mjs.map +1 -1
  264. package/dist/log-strings-mapping.json +31 -11
  265. package/dist/naa/BridgeError.mjs +1 -1
  266. package/dist/naa/BridgeProxy.mjs +1 -1
  267. package/dist/naa/BridgeStatusCode.mjs +1 -1
  268. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  269. package/dist/navigation/NavigationClient.mjs +1 -1
  270. package/dist/network/FetchClient.mjs +1 -1
  271. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  272. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  273. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  274. package/dist/packageMetadata.d.ts +1 -1
  275. package/dist/packageMetadata.mjs +2 -2
  276. package/dist/protocol/Authorize.mjs +1 -1
  277. package/dist/redirect-bridge/cache/CacheKeys.mjs +1 -1
  278. package/dist/redirect-bridge/cache/TokenCache.d.ts.map +1 -1
  279. package/dist/redirect-bridge/config/Configuration.d.ts +13 -1
  280. package/dist/redirect-bridge/config/Configuration.d.ts.map +1 -1
  281. package/dist/redirect-bridge/config/Configuration.mjs +1 -1
  282. package/dist/redirect-bridge/controllers/StandardController.d.ts +4 -2
  283. package/dist/redirect-bridge/controllers/StandardController.d.ts.map +1 -1
  284. package/dist/redirect-bridge/custom_auth/CustomAuthConstants.d.ts +1 -1
  285. package/dist/redirect-bridge/encode/Base64Decode.mjs +1 -1
  286. package/dist/redirect-bridge/error/BrowserAuthError.mjs +1 -1
  287. package/dist/redirect-bridge/error/BrowserAuthErrorCodes.mjs +1 -1
  288. package/dist/redirect-bridge/index.d.ts +1 -1
  289. package/dist/redirect-bridge/index.d.ts.map +1 -1
  290. package/dist/redirect-bridge/interaction_client/PlatformAuthInteractionClient.d.ts +10 -10
  291. package/dist/redirect-bridge/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  292. package/dist/redirect-bridge/interaction_client/SilentIframeClient.d.ts.map +1 -1
  293. package/dist/redirect-bridge/interaction_handler/SilentHandler.d.ts +6 -0
  294. package/dist/redirect-bridge/interaction_handler/SilentHandler.d.ts.map +1 -1
  295. package/dist/redirect-bridge/navigation/NavigationClient.mjs +1 -1
  296. package/dist/redirect-bridge/packageMetadata.d.ts +1 -1
  297. package/dist/redirect-bridge/redirect_bridge/index.d.ts.map +1 -1
  298. package/dist/redirect-bridge/redirect_bridge/index.mjs +43 -24
  299. package/dist/redirect-bridge/redirect_bridge/index.mjs.map +1 -1
  300. package/dist/redirect-bridge/telemetry/BrowserPerformanceClient.d.ts +1 -0
  301. package/dist/redirect-bridge/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  302. package/dist/redirect-bridge/telemetry/BrowserPerformanceEvents.d.ts +5 -0
  303. package/dist/redirect-bridge/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
  304. package/dist/redirect-bridge/utils/BrowserConstants.mjs +1 -1
  305. package/dist/redirect-bridge/utils/BrowserUtils.d.ts +2 -2
  306. package/dist/redirect-bridge/utils/BrowserUtils.d.ts.map +1 -1
  307. package/dist/redirect-bridge/utils/BrowserUtils.mjs +1 -1
  308. package/dist/redirect-bridge/utils/BrowserUtils.mjs.map +1 -1
  309. package/dist/redirect_bridge/index.d.ts.map +1 -1
  310. package/dist/request/RequestHelpers.mjs +1 -1
  311. package/dist/response/ResponseHandler.mjs +1 -1
  312. package/dist/telemetry/BrowserPerformanceClient.d.ts +1 -0
  313. package/dist/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  314. package/dist/telemetry/BrowserPerformanceClient.mjs +6 -1
  315. package/dist/telemetry/BrowserPerformanceClient.mjs.map +1 -1
  316. package/dist/telemetry/BrowserPerformanceEvents.d.ts +5 -0
  317. package/dist/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
  318. package/dist/telemetry/BrowserPerformanceEvents.mjs +9 -3
  319. package/dist/telemetry/BrowserPerformanceEvents.mjs.map +1 -1
  320. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  321. package/dist/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
  322. package/dist/utils/BrowserConstants.mjs +1 -1
  323. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  324. package/dist/utils/BrowserUtils.d.ts +2 -2
  325. package/dist/utils/BrowserUtils.d.ts.map +1 -1
  326. package/dist/utils/BrowserUtils.mjs +27 -3
  327. package/dist/utils/BrowserUtils.mjs.map +1 -1
  328. package/dist/utils/Helpers.mjs +1 -1
  329. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  330. package/lib/custom-auth-path/log-strings-mapping.json +23 -3
  331. package/lib/custom-auth-path/msal-custom-auth.cjs +649 -546
  332. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  333. package/lib/custom-auth-path/types/cache/TokenCache.d.ts.map +1 -1
  334. package/lib/custom-auth-path/types/config/Configuration.d.ts +13 -1
  335. package/lib/custom-auth-path/types/config/Configuration.d.ts.map +1 -1
  336. package/lib/custom-auth-path/types/controllers/StandardController.d.ts +4 -2
  337. package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
  338. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  339. package/lib/custom-auth-path/types/index.d.ts +1 -1
  340. package/lib/custom-auth-path/types/index.d.ts.map +1 -1
  341. package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts +10 -10
  342. package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  343. package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
  344. package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts +6 -0
  345. package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts.map +1 -1
  346. package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
  347. package/lib/custom-auth-path/types/redirect_bridge/index.d.ts.map +1 -1
  348. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts +1 -0
  349. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  350. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts +5 -0
  351. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
  352. package/lib/custom-auth-path/types/utils/BrowserUtils.d.ts +2 -2
  353. package/lib/custom-auth-path/types/utils/BrowserUtils.d.ts.map +1 -1
  354. package/lib/log-strings-mapping.json +31 -11
  355. package/lib/msal-browser.cjs +794 -685
  356. package/lib/msal-browser.cjs.map +1 -1
  357. package/lib/msal-browser.js +794 -685
  358. package/lib/msal-browser.js.map +1 -1
  359. package/lib/msal-browser.min.js +2 -2
  360. package/lib/redirect-bridge/msal-redirect-bridge.js +52 -33
  361. package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
  362. package/lib/redirect-bridge/msal-redirect-bridge.min.js +2 -2
  363. package/lib/types/cache/TokenCache.d.ts.map +1 -1
  364. package/lib/types/config/Configuration.d.ts +13 -1
  365. package/lib/types/config/Configuration.d.ts.map +1 -1
  366. package/lib/types/controllers/StandardController.d.ts +4 -2
  367. package/lib/types/controllers/StandardController.d.ts.map +1 -1
  368. package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  369. package/lib/types/index.d.ts +1 -1
  370. package/lib/types/index.d.ts.map +1 -1
  371. package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts +10 -10
  372. package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  373. package/lib/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
  374. package/lib/types/interaction_handler/SilentHandler.d.ts +6 -0
  375. package/lib/types/interaction_handler/SilentHandler.d.ts.map +1 -1
  376. package/lib/types/packageMetadata.d.ts +1 -1
  377. package/lib/types/redirect_bridge/index.d.ts.map +1 -1
  378. package/lib/types/telemetry/BrowserPerformanceClient.d.ts +1 -0
  379. package/lib/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  380. package/lib/types/telemetry/BrowserPerformanceEvents.d.ts +5 -0
  381. package/lib/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
  382. package/lib/types/utils/BrowserUtils.d.ts +2 -2
  383. package/lib/types/utils/BrowserUtils.d.ts.map +1 -1
  384. package/package.json +2 -2
  385. package/src/cache/TokenCache.ts +27 -24
  386. package/src/config/Configuration.ts +22 -0
  387. package/src/controllers/StandardController.ts +84 -35
  388. package/src/index.ts +1 -0
  389. package/src/interaction_client/PlatformAuthInteractionClient.ts +55 -53
  390. package/src/interaction_client/SilentIframeClient.ts +55 -29
  391. package/src/interaction_handler/SilentHandler.ts +11 -0
  392. package/src/packageMetadata.ts +1 -1
  393. package/src/redirect_bridge/index.ts +47 -25
  394. package/src/telemetry/BrowserPerformanceClient.ts +6 -0
  395. package/src/telemetry/BrowserPerformanceEvents.ts +6 -0
  396. package/src/utils/BrowserUtils.ts +36 -4
@@ -1,20 +1,20 @@
1
- import { Logger, ICrypto, AccountEntity, ScopeSet, IPerformanceClient, TokenClaims, InProgressPerformanceEvent } from "@azure/msal-common/browser";
2
- import { BaseInteractionClient } from "./BaseInteractionClient.js";
3
- import { BrowserConfiguration } from "../config/Configuration.js";
1
+ import { AccountEntity, ICrypto, IPerformanceClient, InProgressPerformanceEvent, Logger, ScopeSet, TokenClaims } from "@azure/msal-common/browser";
2
+ import { IPlatformAuthHandler } from "../broker/nativeBroker/IPlatformAuthHandler.js";
3
+ import { PlatformAuthRequest } from "../broker/nativeBroker/PlatformAuthRequest.js";
4
+ import { MATS, PlatformAuthResponse } from "../broker/nativeBroker/PlatformAuthResponse.js";
4
5
  import { BrowserCacheManager } from "../cache/BrowserCacheManager.js";
6
+ import { BrowserConfiguration } from "../config/Configuration.js";
5
7
  import { EventHandler } from "../event/EventHandler.js";
8
+ import { INavigationClient } from "../navigation/INavigationClient.js";
9
+ import { HandleRedirectPromiseOptions } from "../request/HandleRedirectPromiseOptions.js";
6
10
  import { PopupRequest } from "../request/PopupRequest.js";
11
+ import { RedirectRequest } from "../request/RedirectRequest.js";
7
12
  import { SilentRequest } from "../request/SilentRequest.js";
8
13
  import { SsoSilentRequest } from "../request/SsoSilentRequest.js";
14
+ import { AuthenticationResult } from "../response/AuthenticationResult.js";
9
15
  import { ApiId, CacheLookupPolicy } from "../utils/BrowserConstants.js";
10
- import { PlatformAuthRequest } from "../broker/nativeBroker/PlatformAuthRequest.js";
11
- import { MATS, PlatformAuthResponse } from "../broker/nativeBroker/PlatformAuthResponse.js";
12
- import { RedirectRequest } from "../request/RedirectRequest.js";
13
- import { INavigationClient } from "../navigation/INavigationClient.js";
16
+ import { BaseInteractionClient } from "./BaseInteractionClient.js";
14
17
  import { SilentCacheClient } from "./SilentCacheClient.js";
15
- import { AuthenticationResult } from "../response/AuthenticationResult.js";
16
- import { IPlatformAuthHandler } from "../broker/nativeBroker/IPlatformAuthHandler.js";
17
- import { HandleRedirectPromiseOptions } from "../request/HandleRedirectPromiseOptions.js";
18
18
  export declare class PlatformAuthInteractionClient extends BaseInteractionClient {
19
19
  protected apiId: ApiId;
20
20
  protected accountId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"PlatformAuthInteractionClient.d.ts","sourceRoot":"","sources":["../../../src/interaction_client/PlatformAuthInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,MAAM,EACN,OAAO,EAEP,aAAa,EAEb,QAAQ,EAKR,kBAAkB,EAOlB,WAAW,EAOX,0BAA0B,EAK7B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,qBAAqB,EAIxB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EACH,KAAK,EAIL,iBAAiB,EACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AACpF,OAAO,EACH,IAAI,EACJ,oBAAoB,EACvB,MAAM,gDAAgD,CAAC;AAOxD,OA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,EAAE,oBAAoB,EAC9B,OAAO,EAAE,mBAAmB,EAC5B,qBAAqB,EAAE,MAAM,EAC7B,aAAa,EAAE,WAAW,EAC1B,mBAAmB,EAAE,MAAM,EAC3B,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,GACrB,OAAO,CAAC,IAAI,CAAC;IAsDhB,iBAAiB,CACb,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,GACvC,MAAM;IAQT,SAAS,CAAC,8BAA8B,CACpC,YAAY,CAAC,EAAE,MAAM,GACtB,IAAI,GAAG,IAAI;IAgCd;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAe3B;;;;OAIG;IACH,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IAYlD;;;OAGG;cACa,uBAAuB,CACnC,OAAO,EAAE,YAAY,GAAG,gBAAgB,GACzC,OAAO,CAAC,mBAAmB,CAAC;YA8FjB,qBAAqB;IA4BnC,OAAO,CAAC,SAAS;IA4CjB;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;CA2ClC"}
1
+ {"version":3,"file":"PlatformAuthInteractionClient.d.ts","sourceRoot":"","sources":["../../../src/interaction_client/PlatformAuthInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAGH,aAAa,EAUb,OAAO,EACP,kBAAkB,EAElB,0BAA0B,EAC1B,MAAM,EAGN,QAAQ,EAIR,WAAW,EAMd,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AACtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AACpF,OAAO,EACH,IAAI,EACJ,oBAAoB,EACvB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAYlE,OAAO,EAAE,YA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W,EAC1B,aAAa,EAAE,aAAa,EAC5B,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,MAAM,GACrB,OAAO,CAAC,oBAAoB,CAAC;IAqEhC;;;OAGG;IACG,YAAY,CACd,aAAa,EAAE,aAAa,EAC5B,IAAI,EAAE,OAAO,GACd,OAAO,CAAC,IAAI,CAAC;IAehB;;;;;;;;;OASG;IACH,iBAAiB,CACb,QAAQ,EAAE,oBAAoB,EAC9B,OAAO,EAAE,mBAAmB,EAC5B,qBAAqB,EAAE,MAAM,EAC7B,aAAa,EAAE,WAAW,EAC1B,mBAAmB,EAAE,MAAM,EAC3B,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,GACrB,OAAO,CAAC,IAAI,CAAC;IAsDhB,iBAAiB,CACb,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,GACvC,MAAM;IAQT,SAAS,CAAC,8BAA8B,CACpC,YAAY,CAAC,EAAE,MAAM,GACtB,IAAI,GAAG,IAAI;IAgCd;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAe3B;;;;OAIG;IACH,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IAYlD;;;OAGG;cACa,uBAAuB,CACnC,OAAO,EAAE,YAAY,GAAG,gBAAgB,GACzC,OAAO,CAAC,mBAAmB,CAAC;YA8FjB,qBAAqB;IA4BnC,OAAO,CAAC,SAAS;IA4CjB;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;CA2ClC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SilentIframeClient.d.ts","sourceRoot":"","sources":["../../../src/interaction_client/SilentIframeClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,OAAO,EACP,MAAM,EAEN,uBAAuB,EAEvB,kBAAkB,EAKlB,6BAA6B,EAChC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,yBAAyB,EAC5B,MAAM,gCAAgC,CAAC;AAExC,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AAC;IA+DhC;;;;OAIG;IACG,eAAe,CACjB,OAAO,EAAE,6BAA6B,GACvC,OAAO,CAAC,oBAAoB,CAAC;IAgEhC;;;OAGG;IACG,cAAc,CAChB,OAAO,EAAE,6BAA6B,GACvC,OAAO,CAAC,oBAAoB,CAAC;IAgKhC;;OAEG;IACH,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IASvB;;;;;OAKG;cACa,iBAAiB,CAC7B,UAAU,EAAE,uBAAuB,EACnC,OAAO,EAAE,6BAA6B,GACvC,OAAO,CAAC,oBAAoB,CAAC;CAiHnC"}
@@ -8,4 +8,10 @@ import { BrowserConfiguration } from "../config/Configuration.js";
8
8
  export declare function initiateCodeRequest(requestUrl: string, performanceClient: IPerformanceClient, logger: Logger, correlationId: string): Promise<HTMLIFrameElement>;
9
9
  export declare function initiateCodeFlowWithPost(config: BrowserConfiguration, authority: Authority, request: CommonAuthorizationUrlRequest, logger: Logger, performanceClient: IPerformanceClient): Promise<HTMLIFrameElement>;
10
10
  export declare function initiateEarRequest(config: BrowserConfiguration, authority: Authority, request: CommonAuthorizationUrlRequest, logger: Logger, performanceClient: IPerformanceClient): Promise<HTMLIFrameElement>;
11
+ /**
12
+ * @hidden
13
+ * Removes a hidden iframe from `document.body` if it is a direct child.
14
+ * @param iframe - The iframe element to remove.
15
+ */
16
+ export declare function removeHiddenIframe(iframe: HTMLIFrameElement): void;
11
17
  //# sourceMappingURL=SilentHandler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SilentHandler.d.ts","sourceRoot":"","sources":["../../../src/interaction_handler/SilentHandler.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,MAAM,EACN,kBAAkB,EAElB,SAAS,EACT,6BAA6B,EAChC,MAAM,4BAA4B,CAAC;AAMpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAGlE;;;;GAIG;AACH,wBAAsB,mBAAmB,CACrC,UAAU,EAAE,MAAM,EAClB,iBAAiB,EAAE,kBAAkB,EACrC,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,iBAAiB,CAAC,CAc5B;AAED,wBAAsB,wBAAwB,CAC1C,MAAM,EAAE,oBAAoB,EAC5B,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,6BAA6B,EACtC,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,GACtC,OAAO,CAAC,iBAAiB,CAAC,CAe5B;AAED,wBAAsB,kBAAkB,CACpC,MAAM,EAAE,oBAAoB,EAC5B,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,6BAA6B,EACtC,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,GACtC,OAAO,CAAC,iBAAiB,CAAC,CAe5B"}
1
+ {"version":3,"file":"SilentHandler.d.ts","sourceRoot":"","sources":["../../../src/interaction_handler/SilentHandler.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,MAAM,EACN,kBAAkB,EAElB,SAAS,EACT,6BAA6B,EAChC,MAAM,4BAA4B,CAAC;AAMpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAGlE;;;;GAIG;AACH,wBAAsB,mBAAmB,CACrC,UAAU,EAAE,MAAM,EAClB,iBAAiB,EAAE,kBAAkB,EACrC,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,iBAAiB,CAAC,CAc5B;AAED,wBAAsB,wBAAwB,CAC1C,MAAM,EAAE,oBAAoB,EAC5B,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,6BAA6B,EACtC,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,GACtC,OAAO,CAAC,iBAAiB,CAAC,CAe5B;AAED,wBAAsB,kBAAkB,CACpC,MAAM,EAAE,oBAAoB,EAC5B,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,6BAA6B,EACtC,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,GACtC,OAAO,CAAC,iBAAiB,CAAC,CAe5B;AAwCD;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,iBAAiB,GAAG,IAAI,CAIlE"}
@@ -1,3 +1,3 @@
1
1
  export declare const name = "@azure/msal-browser";
2
- export declare const version = "5.6.1";
2
+ export declare const version = "5.6.3";
3
3
  //# sourceMappingURL=packageMetadata.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/redirect_bridge/index.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAGrE;;;;;;;;;;;;GAYG;AACH,wBAAsB,4BAA4B,CAC9C,gBAAgB,CAAC,EAAE,gBAAgB,GACpC,OAAO,CAAC,IAAI,CAAC,CAkGf"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/redirect_bridge/index.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAGrE;;;;;;;;;;;;GAYG;AACH,wBAAsB,4BAA4B,CAC9C,gBAAgB,CAAC,EAAE,gBAAgB,GACpC,OAAO,CAAC,IAAI,CAAC,CAwHf"}
@@ -4,6 +4,7 @@ export declare class BrowserPerformanceClient extends PerformanceClient implemen
4
4
  constructor(configuration: Configuration, intFields?: Set<string>);
5
5
  generateId(): string;
6
6
  private getPageVisibility;
7
+ private getOnlineStatus;
7
8
  private deleteIncompleteSubMeasurements;
8
9
  /**
9
10
  * Starts measuring performance for a given operation. Returns a function that should be used to end the measurement.
@@ -1 +1 @@
1
- {"version":3,"file":"BrowserPerformanceClient.d.ts","sourceRoot":"","sources":["../../../src/telemetry/BrowserPerformanceClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAGH,0BAA0B,EAC1B,kBAAkB,EAElB,iBAAiB,EAGpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAkD3D,qBAAa,wBACT,SAAQ,iBACR,YAAW,kBAAkB;gBAEjB,aAAa,EAAE,aAAa,EAAE,SAAS,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC;IAmBjE,UAAU,IAAI,MAAM;IAIpB,OAAO,CAAC,iBAAiB;IAIzB,OAAO,CAAC,+BAA+B;IA0BvC;;;;;;;OAOG;IACH,gBAAgB,CACZ,WAAW,EAAE,MAAM,EACnB,aAAa,CAAC,EAAE,MAAM,GACvB,0BAA0B;CA2DhC"}
1
+ {"version":3,"file":"BrowserPerformanceClient.d.ts","sourceRoot":"","sources":["../../../src/telemetry/BrowserPerformanceClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAGH,0BAA0B,EAC1B,kBAAkB,EAElB,iBAAiB,EAGpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAkD3D,qBAAa,wBACT,SAAQ,iBACR,YAAW,kBAAkB;gBAEjB,aAAa,EAAE,aAAa,EAAE,SAAS,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC;IAmBjE,UAAU,IAAI,MAAM;IAIpB,OAAO,CAAC,iBAAiB;IAIzB,OAAO,CAAC,eAAe;IAIvB,OAAO,CAAC,+BAA+B;IA0BvC;;;;;;;OAOG;IACH,gBAAgB,CACZ,WAAW,EAAE,MAAM,EACnB,aAAa,CAAC,EAAE,MAAM,GACvB,0BAA0B;CA6DhC"}
@@ -131,4 +131,9 @@ export declare const LoadAccount = "loadAccount";
131
131
  export declare const LoadIdToken = "loadIdToken";
132
132
  export declare const LoadAccessToken = "loadAccessToken";
133
133
  export declare const LoadRefreshToken = "loadRefreshToken";
134
+ /**
135
+ * Background telemetry measurement that tracks whether a late bridge response
136
+ * arrives after the iframe timeout has already fired.
137
+ */
138
+ export declare const WaitForBridgeLateResponse = "waitForBridgeLateResponse";
134
139
  //# sourceMappingURL=BrowserPerformanceEvents.d.ts.map
@@ -1 +1 @@
1
- {"version":3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C,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,OAAO,YAAY,CAAC;AACjC,eAAO,MAAM,OAAO,YAAY,CAAC;AACjC,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AAEvD,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,gBAAgB,qBAAqB,CAAC"}
1
+ {"version":3,"file":"BrowserPerformanceEvents.d.ts","sourceRoot":"","sources":["../../../src/telemetry/BrowserPerformanceEvents.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAE7D;;;GAGG;AACH,eAAO,MAAM,0BAA0B,+BAA+B,CAAC;AAEvE;;;GAGG;AACH,eAAO,MAAM,uBAAuB,4BAA4B,CAAC;AAEjE;;;GAGG;AACH,eAAO,MAAM,gCAAgC,qCACP,CAAC;AAEvC;;;GAGG;AACH,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AAErD;;;GAGG;AACH,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAE7E;;;GAGG;AACH,eAAO,MAAM,8BAA8B,mCAAmC,CAAC;AAE/E,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAE7D;;;GAGG;AACH,eAAO,MAAM,+BAA+B,oCACP,CAAC;AAEtC;;;GAGG;AACH,eAAO,MAAM,+CAA+C,oDACP,CAAC;AAEtD;;;GAGG;AACH,eAAO,MAAM,8BAA8B,mCAAmC,CAAC;AAE/E;;;GAGG;AACH,eAAO,MAAM,mCAAmC,wCACP,CAAC;AAE1C;;GAEG;AACH,eAAO,MAAM,mCAAmC,wCACP,CAAC;AAE1C;;GAEG;AACH,eAAO,MAAM,4CAA4C,iDACP,CAAC;AAEnD;;;GAGG;AACH,eAAO,MAAM,0BAA0B,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AAM,WAAW,gBAAgB,CAAC;AAEzC;;GAEG;AACH,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AACrD,eAAO,MAAM,oBAAoB,yBAAyB,CAAC;AAC3D,eAAO,MAAM,iCAAiC,sCACP,CAAC;AACxC,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,OAAO,YAAY,CAAC;AACjC,eAAO,MAAM,OAAO,YAAY,CAAC;AACjC,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AAEvD,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AAEnD;;;GAGG;AACH,eAAO,MAAM,yBAAyB,8BAA8B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { invoke, invokeAsync, RequestParameterBuilder, ICrypto, IPerformanceClient, Logger, CommonAuthorizationUrlRequest, CommonEndSessionRequest } from "@azure/msal-common/browser";
2
- import { BrowserConfiguration } from "../config/Configuration.js";
2
+ import { BrowserConfiguration, BrowserExperimentalOptions } from "../config/Configuration.js";
3
3
  /**
4
4
  * Extracts and parses the authentication response from URL (hash and/or query string).
5
5
  * This is a shared utility used across multiple components in msal-browser.
@@ -49,7 +49,7 @@ export declare function isInPopup(): boolean;
49
49
  * any pending popup interaction before starting a new one.
50
50
  */
51
51
  export declare function cancelPendingBridgeResponse(logger: Logger, correlationId: string): void;
52
- export declare function waitForBridgeResponse(timeoutMs: number, logger: Logger, browserCrypto: ICrypto, request: CommonAuthorizationUrlRequest | CommonEndSessionRequest, performanceClient: IPerformanceClient): Promise<string>;
52
+ export declare function waitForBridgeResponse(timeoutMs: number, logger: Logger, browserCrypto: ICrypto, request: CommonAuthorizationUrlRequest | CommonEndSessionRequest, performanceClient: IPerformanceClient, experimentalConfig?: BrowserExperimentalOptions): Promise<string>;
53
53
  /**
54
54
  * Returns current window URL as redirect uri
55
55
  */
@@ -1 +1 @@
1
- {"version":3,"file":"BrowserUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/BrowserUtils.ts"],"names":[],"mappings":"AAKA,OAAO,EAEH,MAAM,EACN,WAAW,EAEX,uBAAuB,EACvB,OAAO,EACP,kBAAkB,EAClB,MAAM,EACN,6BAA6B,EAC7B,uBAAuB,EAE1B,MAAM,4BAA4B,CAAC;AAWpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAIlE;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,wBAAwB,IAAI;IACxC,MAAM,EAAE,eAAe,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,YAAY,EAAE;QACV,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KAChC,CAAC;CACL,CA6EA;AAED;;GAEG;AACH,wBAAgB,SAAS,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAWrD;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAI7C;AAED;;GAEG;AACH,wBAAgB,UAAU,IAAI,OAAO,CAEpC;AAED;;GAEG;AACH,wBAAgB,SAAS,IAAI,OAAO,CAanC;AAqBD;;;;GAIG;AACH,wBAAgB,2BAA2B,CACvC,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,GACtB,IAAI,CAiBN;AAED,wBAAsB,qBAAqB,CACvC,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,OAAO,EACtB,OAAO,EAAE,6BAA6B,GAAG,uBAAuB,EAChE,iBAAiB,EAAE,kBAAkB,GACtC,OAAO,CAAC,MAAM,CAAC,CAsEjB;AAID;;GAEG;AACH,wBAAgB,aAAa,IAAI,MAAM,CAItC;AAED;;GAEG;AACH,wBAAgB,WAAW,IAAI,MAAM,CAIpC;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,IAAI,IAAI,CAQjD;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,qBAAqB,EAAE,OAAO,GAAG,IAAI,CAK1E;AAED;;GAEG;AACH,wBAAgB,yBAAyB,IAAI,IAAI,CAKhD;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,IAAI,IAAI,CAMjD;AAED;;;GAGG;AACH,wBAAgB,6BAA6B,CAAC,WAAW,EAAE,OAAO,GAAG,IAAI,CAMxE;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,WAAW,EAAE,OAAO,GAAG,IAAI,CAYzD;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAClC,WAAW,EAAE,OAAO,EACpB,MAAM,EAAE,oBAAoB,GAC7B,IAAI,CASN;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAalD;AAED;;;GAGG;AACH,wBAAgB,UAAU,IAAI,MAAM,CAEnC;AAED,OAAO,EAAE,MAAM,EAAE,CAAC;AAClB,OAAO,EAAE,WAAW,EAAE,CAAC;AACvB,eAAO,MAAM,6BAA6B,8DACe,CAAC"}
1
+ {"version":3,"file":"BrowserUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/BrowserUtils.ts"],"names":[],"mappings":"AAKA,OAAO,EAEH,MAAM,EACN,WAAW,EAEX,uBAAuB,EACvB,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G;AACH,wBAAgB,0BAA0B,IAAI,IAAI,CAQjD;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,qBAAqB,EAAE,OAAO,GAAG,IAAI,CAK1E;AAED;;GAEG;AACH,wBAAgB,yBAAyB,IAAI,IAAI,CAKhD;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,IAAI,IAAI,CAMjD;AAED;;;GAGG;AACH,wBAAgB,6BAA6B,CAAC,WAAW,EAAE,OAAO,GAAG,IAAI,CAMxE;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,WAAW,EAAE,OAAO,GAAG,IAAI,CAYzD;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAClC,WAAW,EAAE,OAAO,EACpB,MAAM,EAAE,oBAAoB,GAC7B,IAAI,CASN;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAalD;AAED;;;GAGG;AACH,wBAAgB,UAAU,IAAI,MAAM,CAEnC;AAED,OAAO,EAAE,MAAM,EAAE,CAAC;AAClB,OAAO,EAAE,WAAW,EAAE,CAAC;AACvB,eAAO,MAAM,6BAA6B,8DACe,CAAC"}
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "type": "git",
11
11
  "url": "https://github.com/AzureAD/microsoft-authentication-library-for-js.git"
12
12
  },
13
- "version": "5.6.1",
13
+ "version": "5.6.3",
14
14
  "description": "Microsoft Authentication Library for js",
15
15
  "keywords": [
16
16
  "implicit",
@@ -128,6 +128,6 @@
128
128
  "typescript": "^4.9.5"
129
129
  },
130
130
  "dependencies": {
131
- "@azure/msal-common": "16.4.0"
131
+ "@azure/msal-common": "16.4.1"
132
132
  }
133
133
  }
@@ -5,44 +5,44 @@
5
5
 
6
6
  import {
7
7
  AccessTokenEntity,
8
- ICrypto,
9
- IdTokenEntity,
10
- Logger,
11
- ScopeSet,
8
+ AccountEntity,
9
+ AccountEntityUtils,
12
10
  Authority,
13
11
  AuthorityFactory,
14
12
  AuthorityOptions,
15
- ExternalTokenResponse,
16
- AccountEntity,
17
13
  AuthToken,
18
- RefreshTokenEntity,
19
- CacheRecord,
20
- TokenClaims,
21
- CacheHelpers,
22
14
  buildAccountToCache,
23
- TimeUtils,
24
- AccountEntityUtils,
25
15
  buildStaticAuthorityOptions,
16
+ CacheHelpers,
17
+ CacheRecord,
18
+ ExternalTokenResponse,
19
+ ICrypto,
20
+ IdTokenEntity,
26
21
  invokeAsync,
27
22
  IPerformanceClient,
23
+ Logger,
24
+ RefreshTokenEntity,
25
+ ScopeSet,
28
26
  StubPerformanceClient,
27
+ TimeUtils,
28
+ TokenClaims,
29
29
  } from "@azure/msal-common/browser";
30
30
  import { buildConfiguration, Configuration } from "../config/Configuration.js";
31
- import type { SilentRequest } from "../request/SilentRequest.js";
32
- import { BrowserCacheManager } from "./BrowserCacheManager.js";
31
+ import * as BrowserCrypto from "../crypto/BrowserCrypto.js";
32
+ import { CryptoOps } from "../crypto/CryptoOps.js";
33
+ import { base64Decode } from "../encode/Base64Decode.js";
33
34
  import {
34
- createBrowserAuthError,
35
35
  BrowserAuthErrorCodes,
36
+ createBrowserAuthError,
36
37
  } from "../error/BrowserAuthError.js";
37
- import type { AuthenticationResult } from "../response/AuthenticationResult.js";
38
- import { base64Decode } from "../encode/Base64Decode.js";
39
- import * as BrowserCrypto from "../crypto/BrowserCrypto.js";
40
- import { CryptoOps } from "../crypto/CryptoOps.js";
41
38
  import { EventHandler } from "../event/EventHandler.js";
42
- import * as BrowserUtils from "../utils/BrowserUtils.js";
43
- import * as BrowserRootPerformanceEvents from "../telemetry/BrowserRootPerformanceEvents.js";
39
+ import type { SilentRequest } from "../request/SilentRequest.js";
40
+ import type { AuthenticationResult } from "../response/AuthenticationResult.js";
44
41
  import * as BrowserPerformanceEvents from "../telemetry/BrowserPerformanceEvents.js";
42
+ import * as BrowserRootPerformanceEvents from "../telemetry/BrowserRootPerformanceEvents.js";
45
43
  import { ApiId } from "../utils/BrowserConstants.js";
44
+ import * as BrowserUtils from "../utils/BrowserUtils.js";
45
+ import { BrowserCacheManager } from "./BrowserCacheManager.js";
46
46
 
47
47
  export type LoadTokenOptions = {
48
48
  clientInfo?: string;
@@ -132,7 +132,8 @@ export async function loadExternalTokens(
132
132
  logger,
133
133
  cryptoOps,
134
134
  authority,
135
- idTokenClaims
135
+ idTokenClaims,
136
+ performanceClient
136
137
  );
137
138
 
138
139
  const idToken = await invokeAsync(
@@ -231,7 +232,8 @@ async function loadAccount(
231
232
  logger: Logger,
232
233
  cryptoObj: ICrypto,
233
234
  authority: Authority,
234
- idTokenClaims?: TokenClaims
235
+ idTokenClaims?: TokenClaims,
236
+ performanceClient?: IPerformanceClient
235
237
  ): Promise<AccountEntity> {
236
238
  logger.verbose("TokenCache - loading account", correlationId);
237
239
 
@@ -278,7 +280,8 @@ async function loadAccount(
278
280
  claimsTenantId,
279
281
  undefined, // authCodePayload
280
282
  undefined, // nativeAccountId
281
- logger
283
+ logger,
284
+ performanceClient
282
285
  );
283
286
 
284
287
  await storage.setAccount(
@@ -162,6 +162,14 @@ export type BrowserSystemOptions = SystemOptions & {
162
162
  protocolMode?: ProtocolMode;
163
163
  };
164
164
 
165
+ /** @internal */
166
+ export type BrowserExperimentalOptions = {
167
+ /**
168
+ * Enables iframe timeout telemetry experiment for silent iframe bridge monitoring.
169
+ */
170
+ iframeTimeoutTelemetry?: boolean;
171
+ };
172
+
165
173
  /**
166
174
  * Telemetry Options
167
175
  */
@@ -192,6 +200,10 @@ export type Configuration = {
192
200
  * This is where you can configure the network client, logger, token renewal offset
193
201
  */
194
202
  system?: BrowserSystemOptions;
203
+ /**
204
+ * This is where you can configure experimental features. These do not follow semver and may be changed or removed without a major version bump. Use with caution.
205
+ */
206
+ experimental?: BrowserExperimentalOptions;
195
207
  /**
196
208
  * This is where you can configure telemetry data and options
197
209
  */
@@ -203,6 +215,7 @@ export type BrowserConfiguration = {
203
215
  auth: InternalAuthOptions;
204
216
  cache: Required<CacheOptions>;
205
217
  system: Required<BrowserSystemOptions>;
218
+ experimental: Required<BrowserExperimentalOptions>;
206
219
  telemetry: Required<BrowserTelemetryOptions>;
207
220
  };
208
221
 
@@ -220,6 +233,7 @@ export function buildConfiguration(
220
233
  auth: userInputAuth,
221
234
  cache: userInputCache,
222
235
  system: userInputSystem,
236
+ experimental: userInputExperimental,
223
237
  telemetry: userInputTelemetry,
224
238
  }: Configuration,
225
239
  isBrowserEnvironment: boolean
@@ -305,6 +319,10 @@ export function buildConfiguration(
305
319
  client: new StubPerformanceClient(),
306
320
  };
307
321
 
322
+ const DEFAULT_EXPERIMENTAL_OPTIONS: Required<BrowserExperimentalOptions> = {
323
+ iframeTimeoutTelemetry: false,
324
+ };
325
+
308
326
  // Throw an error if user has set OIDCOptions without being in OIDC protocol mode
309
327
  if (
310
328
  userInputSystem?.protocolMode !== ProtocolMode.OIDC &&
@@ -343,6 +361,10 @@ export function buildConfiguration(
343
361
  },
344
362
  cache: { ...DEFAULT_CACHE_OPTIONS, ...userInputCache },
345
363
  system: providedSystemOptions,
364
+ experimental: {
365
+ ...DEFAULT_EXPERIMENTAL_OPTIONS,
366
+ ...userInputExperimental,
367
+ },
346
368
  telemetry: { ...DEFAULT_TELEMETRY_OPTIONS, ...userInputTelemetry },
347
369
  };
348
370
 
@@ -260,11 +260,11 @@ export class StandardController implements IController {
260
260
  this.activeSilentTokenRequests = new Map();
261
261
 
262
262
  // Register listener functions
263
- this.trackPageVisibility = this.trackPageVisibility.bind(this);
263
+ this.trackStateChange = this.trackStateChange.bind(this);
264
264
 
265
265
  // Register listener functions
266
- this.trackPageVisibilityWithMeasurement =
267
- this.trackPageVisibilityWithMeasurement.bind(this);
266
+ this.trackStateChangeWithMeasurement =
267
+ this.trackStateChangeWithMeasurement.bind(this);
268
268
  }
269
269
 
270
270
  static async createController(
@@ -276,15 +276,39 @@ export class StandardController implements IController {
276
276
  return controller;
277
277
  }
278
278
 
279
- private trackPageVisibility(correlationId?: string): void {
279
+ private trackStateChange(
280
+ correlationId: string | undefined,
281
+ event: Event
282
+ ): void {
280
283
  if (!correlationId) {
281
284
  return;
282
285
  }
283
- this.logger.info("Perf: Visibility change detected", correlationId);
284
- this.performanceClient.incrementFields(
285
- { visibilityChangeCount: 1 },
286
- correlationId
287
- );
286
+
287
+ if (event.type === "visibilitychange") {
288
+ this.logger.info("Perf: Visibility change detected", correlationId);
289
+ this.performanceClient.incrementFields(
290
+ { visibilityChangeCount: 1 },
291
+ correlationId
292
+ );
293
+ } else if (event.type === "online") {
294
+ this.logger.info(
295
+ "Perf: Online status change detected",
296
+ correlationId
297
+ );
298
+ this.performanceClient.incrementFields(
299
+ { onlineStatusChangeCount: 1 },
300
+ correlationId
301
+ );
302
+ } else if (event.type === "offline") {
303
+ this.logger.info(
304
+ "Perf: Offline status change detected",
305
+ correlationId
306
+ );
307
+ this.performanceClient.incrementFields(
308
+ { onlineStatusChangeCount: 1 },
309
+ correlationId
310
+ );
311
+ }
288
312
  }
289
313
 
290
314
  /**
@@ -894,7 +918,7 @@ export class StandardController implements IController {
894
918
  });
895
919
  }
896
920
 
897
- private trackPageVisibilityWithMeasurement(): void {
921
+ private trackStateChangeWithMeasurement(event: Event): void {
898
922
  const measurement =
899
923
  this.ssoSilentMeasurement ||
900
924
  this.acquireTokenByCodeAsyncMeasurement;
@@ -902,9 +926,43 @@ export class StandardController implements IController {
902
926
  return;
903
927
  }
904
928
 
905
- measurement.increment({
906
- visibilityChangeCount: 1,
907
- });
929
+ if (event.type === "visibilitychange") {
930
+ this.logger.info(
931
+ `Perf: Visibility change detected in '${measurement.event.name}'`,
932
+ measurement.event.correlationId
933
+ );
934
+ measurement.increment({
935
+ visibilityChangeCount: 1,
936
+ });
937
+ } else if (event.type === "online") {
938
+ this.logger.info(
939
+ `Perf: Online status change detected in '${measurement.event.name}'`,
940
+ measurement.event.correlationId
941
+ );
942
+ measurement.increment({
943
+ onlineStatusChangeCount: 1,
944
+ });
945
+ } else if (event.type === "offline") {
946
+ this.logger.info(
947
+ `Perf: Offline status change detected in '${measurement.event.name}'`,
948
+ measurement.event.correlationId
949
+ );
950
+ measurement.increment({
951
+ onlineStatusChangeCount: 1,
952
+ });
953
+ }
954
+ }
955
+
956
+ private addStateChangeListeners(listener: (event: Event) => void): void {
957
+ document.addEventListener("visibilitychange", listener);
958
+ window.addEventListener("online", listener);
959
+ window.addEventListener("offline", listener);
960
+ }
961
+
962
+ private removeStateChangeListeners(listener: (event: Event) => void): void {
963
+ document.removeEventListener("visibilitychange", listener);
964
+ window.removeEventListener("online", listener);
965
+ window.removeEventListener("offline", listener);
908
966
  }
909
967
  // #endregion
910
968
 
@@ -948,12 +1006,10 @@ export class StandardController implements IController {
948
1006
  );
949
1007
  this.ssoSilentMeasurement?.increment({
950
1008
  visibilityChangeCount: 0,
1009
+ onlineStatusChangeCount: 0,
951
1010
  });
952
1011
 
953
- document.addEventListener(
954
- "visibilitychange",
955
- this.trackPageVisibilityWithMeasurement
956
- );
1012
+ this.addStateChangeListeners(this.trackStateChangeWithMeasurement);
957
1013
 
958
1014
  const loggedInAccounts = this.getAllAccounts();
959
1015
  this.logger.verbose("ssoSilent called", correlationId);
@@ -1036,9 +1092,8 @@ export class StandardController implements IController {
1036
1092
  throw e;
1037
1093
  })
1038
1094
  .finally(() => {
1039
- document.removeEventListener(
1040
- "visibilitychange",
1041
- this.trackPageVisibilityWithMeasurement
1095
+ this.removeStateChangeListeners(
1096
+ this.trackStateChangeWithMeasurement
1042
1097
  );
1043
1098
  });
1044
1099
  }
@@ -1209,11 +1264,9 @@ export class StandardController implements IController {
1209
1264
  );
1210
1265
  this.acquireTokenByCodeAsyncMeasurement?.increment({
1211
1266
  visibilityChangeCount: 0,
1267
+ onlineStatusChangeCount: 0,
1212
1268
  });
1213
- document.addEventListener(
1214
- "visibilitychange",
1215
- this.trackPageVisibilityWithMeasurement
1216
- );
1269
+ this.addStateChangeListeners(this.trackStateChangeWithMeasurement);
1217
1270
  const silentAuthCodeClient =
1218
1271
  this.createSilentAuthCodeClient(correlationId);
1219
1272
  const silentTokenResult = await silentAuthCodeClient
@@ -1236,9 +1289,8 @@ export class StandardController implements IController {
1236
1289
  throw tokenRenewalError;
1237
1290
  })
1238
1291
  .finally(() => {
1239
- document.removeEventListener(
1240
- "visibilitychange",
1241
- this.trackPageVisibilityWithMeasurement
1292
+ this.removeStateChangeListeners(
1293
+ this.trackStateChangeWithMeasurement
1242
1294
  );
1243
1295
  });
1244
1296
  return silentTokenResult;
@@ -2012,8 +2064,8 @@ export class StandardController implements IController {
2012
2064
  request: SilentRequest & { correlationId: string },
2013
2065
  account: AccountInfo
2014
2066
  ): Promise<AuthenticationResult> {
2015
- const trackPageVisibility = () =>
2016
- this.trackPageVisibility(request.correlationId);
2067
+ const trackStateChange = (event: Event) =>
2068
+ this.trackStateChange(request.correlationId, event);
2017
2069
  this.eventHandler.emitEvent(
2018
2070
  EventType.ACQUIRE_TOKEN_START,
2019
2071
  request.correlationId,
@@ -2023,12 +2075,12 @@ export class StandardController implements IController {
2023
2075
 
2024
2076
  if (request.correlationId) {
2025
2077
  this.performanceClient.incrementFields(
2026
- { visibilityChangeCount: 0 },
2078
+ { visibilityChangeCount: 0, onlineStatusChangeCount: 0 },
2027
2079
  request.correlationId
2028
2080
  );
2029
2081
  }
2030
2082
 
2031
- document.addEventListener("visibilitychange", trackPageVisibility);
2083
+ this.addStateChangeListeners(trackStateChange);
2032
2084
 
2033
2085
  const silentRequest = await invokeAsync(
2034
2086
  initializeSilentRequest,
@@ -2180,10 +2232,7 @@ export class StandardController implements IController {
2180
2232
  throw tokenRenewalError;
2181
2233
  })
2182
2234
  .finally(() => {
2183
- document.removeEventListener(
2184
- "visibilitychange",
2185
- trackPageVisibility
2186
- );
2235
+ this.removeStateChangeListeners(trackStateChange);
2187
2236
  });
2188
2237
  }
2189
2238
 
package/src/index.ts CHANGED
@@ -23,6 +23,7 @@ export {
23
23
  BrowserAuthOptions,
24
24
  CacheOptions,
25
25
  BrowserSystemOptions,
26
+ BrowserExperimentalOptions,
26
27
  BrowserTelemetryOptions,
27
28
  BrowserConfiguration,
28
29
  DEFAULT_IFRAME_TIMEOUT_MS,