@azure/msal-browser 5.0.0-beta.0 → 5.0.1

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 (411) 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 +7 -5
  19. package/dist/cache/TokenCache.d.ts.map +1 -1
  20. package/dist/cache/TokenCache.mjs +44 -32
  21. package/dist/cache/TokenCache.mjs.map +1 -1
  22. package/dist/config/Configuration.mjs +1 -1
  23. package/dist/controllers/NestedAppAuthController.mjs +1 -1
  24. package/dist/controllers/StandardController.mjs +1 -1
  25. package/dist/crypto/BrowserCrypto.mjs +1 -1
  26. package/dist/crypto/CryptoOps.mjs +1 -1
  27. package/dist/crypto/PkceGenerator.mjs +1 -1
  28. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  29. package/dist/custom-auth-path/app/PublicClientApplication.mjs +1 -1
  30. package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  31. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  32. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  33. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  34. package/dist/custom-auth-path/cache/AccountManager.mjs +1 -1
  35. package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +1 -1
  36. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +1 -1
  37. package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
  38. package/dist/custom-auth-path/cache/CacheKeys.mjs +1 -1
  39. package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
  40. package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
  41. package/dist/custom-auth-path/cache/EncryptedData.mjs +1 -1
  42. package/dist/custom-auth-path/cache/LocalStorage.mjs +1 -1
  43. package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
  44. package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
  45. package/dist/custom-auth-path/cache/TokenCache.d.ts +7 -5
  46. package/dist/custom-auth-path/cache/TokenCache.d.ts.map +1 -1
  47. package/dist/custom-auth-path/config/Configuration.mjs +1 -1
  48. package/dist/custom-auth-path/controllers/StandardController.mjs +1 -1
  49. package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
  50. package/dist/custom-auth-path/crypto/CryptoOps.mjs +1 -1
  51. package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
  52. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +1 -1
  53. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -1
  54. package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
  55. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
  56. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  57. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
  58. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  59. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  60. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
  61. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
  62. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
  63. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
  64. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
  65. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
  66. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
  67. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
  68. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
  69. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
  70. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
  71. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
  72. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
  73. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
  74. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
  75. package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
  76. package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  77. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  78. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  79. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  80. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  81. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  82. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  83. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  84. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  85. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
  86. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  87. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  88. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  89. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
  90. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  91. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
  92. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
  93. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
  94. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
  95. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  96. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
  97. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
  98. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
  99. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  100. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
  101. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  102. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  103. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
  104. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  105. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  106. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
  107. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
  108. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
  109. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
  110. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  111. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  112. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  113. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  114. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  115. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  116. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  117. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
  118. package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
  119. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  120. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  121. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  122. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  123. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  124. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  125. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
  126. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  127. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  128. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
  129. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  130. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  131. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  132. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
  133. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  134. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
  135. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
  136. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
  137. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
  138. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  139. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
  140. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  141. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
  142. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  143. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
  144. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
  145. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  146. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  147. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  148. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  149. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  150. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  151. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
  152. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
  153. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  154. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  155. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
  156. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  157. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  158. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  159. package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
  160. package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
  161. package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
  162. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
  163. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
  164. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  165. package/dist/custom-auth-path/error/NativeAuthError.mjs +1 -1
  166. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
  167. package/dist/custom-auth-path/event/EventHandler.mjs +1 -1
  168. package/dist/custom-auth-path/event/EventType.mjs +1 -1
  169. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
  170. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  171. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  172. package/dist/custom-auth-path/interaction_client/PopupClient.mjs +1 -1
  173. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +1 -1
  174. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
  175. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
  176. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +1 -1
  177. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
  178. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
  179. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
  180. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +1 -1
  181. package/dist/custom-auth-path/log-strings-mapping.json +2 -2
  182. package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
  183. package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
  184. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
  185. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
  186. package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
  187. package/dist/custom-auth-path/packageMetadata.d.ts.map +1 -1
  188. package/dist/custom-auth-path/packageMetadata.mjs +2 -2
  189. package/dist/custom-auth-path/protocol/Authorize.mjs +1 -1
  190. package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts +18 -0
  191. package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts.map +1 -1
  192. package/dist/custom-auth-path/request/ClearCacheRequest.d.ts +6 -2
  193. package/dist/custom-auth-path/request/ClearCacheRequest.d.ts.map +1 -1
  194. package/dist/custom-auth-path/request/EndSessionPopupRequest.d.ts +12 -9
  195. package/dist/custom-auth-path/request/EndSessionPopupRequest.d.ts.map +1 -1
  196. package/dist/custom-auth-path/request/EndSessionRequest.d.ts +3 -6
  197. package/dist/custom-auth-path/request/EndSessionRequest.d.ts.map +1 -1
  198. package/dist/custom-auth-path/request/InitializeApplicationRequest.d.ts +3 -2
  199. package/dist/custom-auth-path/request/InitializeApplicationRequest.d.ts.map +1 -1
  200. package/dist/custom-auth-path/request/PopupRequest.d.ts +12 -24
  201. package/dist/custom-auth-path/request/PopupRequest.d.ts.map +1 -1
  202. package/dist/custom-auth-path/request/RedirectRequest.d.ts +6 -22
  203. package/dist/custom-auth-path/request/RedirectRequest.d.ts.map +1 -1
  204. package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
  205. package/dist/custom-auth-path/request/SilentRequest.d.ts +33 -13
  206. package/dist/custom-auth-path/request/SilentRequest.d.ts.map +1 -1
  207. package/dist/custom-auth-path/request/SsoSilentRequest.d.ts +0 -21
  208. package/dist/custom-auth-path/request/SsoSilentRequest.d.ts.map +1 -1
  209. package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
  210. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts +4 -0
  211. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
  212. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs +1 -1
  213. package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.d.ts +1 -0
  214. package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
  215. package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
  216. package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
  217. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
  218. package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
  219. package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
  220. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
  221. package/dist/custom_auth/CustomAuthConstants.d.ts +1 -1
  222. package/dist/encode/Base64Decode.mjs +1 -1
  223. package/dist/encode/Base64Encode.mjs +1 -1
  224. package/dist/error/BrowserAuthError.mjs +1 -1
  225. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  226. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  227. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  228. package/dist/error/NativeAuthError.mjs +1 -1
  229. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  230. package/dist/error/NestedAppAuthError.mjs +1 -1
  231. package/dist/event/EventHandler.mjs +1 -1
  232. package/dist/event/EventMessage.mjs +1 -1
  233. package/dist/event/EventType.mjs +1 -1
  234. package/dist/index.mjs +1 -1
  235. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  236. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  237. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  238. package/dist/interaction_client/PopupClient.mjs +1 -1
  239. package/dist/interaction_client/RedirectClient.mjs +1 -1
  240. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  241. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  242. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  243. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  244. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  245. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  246. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  247. package/dist/log-strings-mapping.json +2 -2
  248. package/dist/naa/BridgeError.mjs +1 -1
  249. package/dist/naa/BridgeProxy.mjs +1 -1
  250. package/dist/naa/BridgeStatusCode.mjs +1 -1
  251. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  252. package/dist/navigation/NavigationClient.mjs +1 -1
  253. package/dist/network/FetchClient.mjs +1 -1
  254. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  255. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  256. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  257. package/dist/packageMetadata.d.ts +1 -1
  258. package/dist/packageMetadata.d.ts.map +1 -1
  259. package/dist/packageMetadata.mjs +2 -2
  260. package/dist/protocol/Authorize.mjs +1 -1
  261. package/dist/redirect-bridge/cache/CacheKeys.mjs +1 -1
  262. package/dist/redirect-bridge/cache/TokenCache.d.ts +7 -5
  263. package/dist/redirect-bridge/cache/TokenCache.d.ts.map +1 -1
  264. package/dist/redirect-bridge/config/Configuration.mjs +1 -1
  265. package/dist/redirect-bridge/custom_auth/CustomAuthConstants.d.ts +1 -1
  266. package/dist/redirect-bridge/encode/Base64Decode.mjs +1 -1
  267. package/dist/redirect-bridge/error/BrowserAuthError.mjs +1 -1
  268. package/dist/redirect-bridge/error/BrowserAuthErrorCodes.mjs +1 -1
  269. package/dist/redirect-bridge/navigation/NavigationClient.mjs +1 -1
  270. package/dist/redirect-bridge/packageMetadata.d.ts +1 -1
  271. package/dist/redirect-bridge/packageMetadata.d.ts.map +1 -1
  272. package/dist/redirect-bridge/redirect_bridge/index.mjs +1 -1
  273. package/dist/redirect-bridge/request/AuthorizationCodeRequest.d.ts +18 -0
  274. package/dist/redirect-bridge/request/AuthorizationCodeRequest.d.ts.map +1 -1
  275. package/dist/redirect-bridge/request/ClearCacheRequest.d.ts +6 -2
  276. package/dist/redirect-bridge/request/ClearCacheRequest.d.ts.map +1 -1
  277. package/dist/redirect-bridge/request/EndSessionPopupRequest.d.ts +12 -9
  278. package/dist/redirect-bridge/request/EndSessionPopupRequest.d.ts.map +1 -1
  279. package/dist/redirect-bridge/request/EndSessionRequest.d.ts +3 -6
  280. package/dist/redirect-bridge/request/EndSessionRequest.d.ts.map +1 -1
  281. package/dist/redirect-bridge/request/InitializeApplicationRequest.d.ts +3 -2
  282. package/dist/redirect-bridge/request/InitializeApplicationRequest.d.ts.map +1 -1
  283. package/dist/redirect-bridge/request/PopupRequest.d.ts +12 -24
  284. package/dist/redirect-bridge/request/PopupRequest.d.ts.map +1 -1
  285. package/dist/redirect-bridge/request/RedirectRequest.d.ts +6 -22
  286. package/dist/redirect-bridge/request/RedirectRequest.d.ts.map +1 -1
  287. package/dist/redirect-bridge/request/SilentRequest.d.ts +33 -13
  288. package/dist/redirect-bridge/request/SilentRequest.d.ts.map +1 -1
  289. package/dist/redirect-bridge/request/SsoSilentRequest.d.ts +0 -21
  290. package/dist/redirect-bridge/request/SsoSilentRequest.d.ts.map +1 -1
  291. package/dist/redirect-bridge/telemetry/BrowserPerformanceEvents.d.ts +4 -0
  292. package/dist/redirect-bridge/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
  293. package/dist/redirect-bridge/telemetry/BrowserRootPerformanceEvents.d.ts +1 -0
  294. package/dist/redirect-bridge/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
  295. package/dist/redirect-bridge/utils/BrowserConstants.mjs +1 -1
  296. package/dist/redirect-bridge/utils/BrowserUtils.mjs +1 -1
  297. package/dist/request/AuthorizationCodeRequest.d.ts +18 -0
  298. package/dist/request/AuthorizationCodeRequest.d.ts.map +1 -1
  299. package/dist/request/ClearCacheRequest.d.ts +6 -2
  300. package/dist/request/ClearCacheRequest.d.ts.map +1 -1
  301. package/dist/request/EndSessionPopupRequest.d.ts +12 -9
  302. package/dist/request/EndSessionPopupRequest.d.ts.map +1 -1
  303. package/dist/request/EndSessionRequest.d.ts +3 -6
  304. package/dist/request/EndSessionRequest.d.ts.map +1 -1
  305. package/dist/request/InitializeApplicationRequest.d.ts +3 -2
  306. package/dist/request/InitializeApplicationRequest.d.ts.map +1 -1
  307. package/dist/request/PopupRequest.d.ts +12 -24
  308. package/dist/request/PopupRequest.d.ts.map +1 -1
  309. package/dist/request/RedirectRequest.d.ts +6 -22
  310. package/dist/request/RedirectRequest.d.ts.map +1 -1
  311. package/dist/request/RequestHelpers.mjs +1 -1
  312. package/dist/request/SilentRequest.d.ts +33 -13
  313. package/dist/request/SilentRequest.d.ts.map +1 -1
  314. package/dist/request/SsoSilentRequest.d.ts +0 -21
  315. package/dist/request/SsoSilentRequest.d.ts.map +1 -1
  316. package/dist/response/ResponseHandler.mjs +1 -1
  317. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  318. package/dist/telemetry/BrowserPerformanceEvents.d.ts +4 -0
  319. package/dist/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
  320. package/dist/telemetry/BrowserPerformanceEvents.mjs +7 -3
  321. package/dist/telemetry/BrowserPerformanceEvents.mjs.map +1 -1
  322. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  323. package/dist/telemetry/BrowserRootPerformanceEvents.d.ts +1 -0
  324. package/dist/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
  325. package/dist/telemetry/BrowserRootPerformanceEvents.mjs +5 -3
  326. package/dist/telemetry/BrowserRootPerformanceEvents.mjs.map +1 -1
  327. package/dist/utils/BrowserConstants.mjs +1 -1
  328. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  329. package/dist/utils/BrowserUtils.mjs +1 -1
  330. package/dist/utils/Helpers.mjs +1 -1
  331. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  332. package/lib/custom-auth-path/log-strings-mapping.json +2 -2
  333. package/lib/custom-auth-path/msal-custom-auth.cjs +77 -72
  334. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  335. package/lib/custom-auth-path/types/cache/TokenCache.d.ts +7 -5
  336. package/lib/custom-auth-path/types/cache/TokenCache.d.ts.map +1 -1
  337. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  338. package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
  339. package/lib/custom-auth-path/types/packageMetadata.d.ts.map +1 -1
  340. package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts +18 -0
  341. package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts.map +1 -1
  342. package/lib/custom-auth-path/types/request/ClearCacheRequest.d.ts +6 -2
  343. package/lib/custom-auth-path/types/request/ClearCacheRequest.d.ts.map +1 -1
  344. package/lib/custom-auth-path/types/request/EndSessionPopupRequest.d.ts +12 -9
  345. package/lib/custom-auth-path/types/request/EndSessionPopupRequest.d.ts.map +1 -1
  346. package/lib/custom-auth-path/types/request/EndSessionRequest.d.ts +3 -6
  347. package/lib/custom-auth-path/types/request/EndSessionRequest.d.ts.map +1 -1
  348. package/lib/custom-auth-path/types/request/InitializeApplicationRequest.d.ts +3 -2
  349. package/lib/custom-auth-path/types/request/InitializeApplicationRequest.d.ts.map +1 -1
  350. package/lib/custom-auth-path/types/request/PopupRequest.d.ts +12 -24
  351. package/lib/custom-auth-path/types/request/PopupRequest.d.ts.map +1 -1
  352. package/lib/custom-auth-path/types/request/RedirectRequest.d.ts +6 -22
  353. package/lib/custom-auth-path/types/request/RedirectRequest.d.ts.map +1 -1
  354. package/lib/custom-auth-path/types/request/SilentRequest.d.ts +33 -13
  355. package/lib/custom-auth-path/types/request/SilentRequest.d.ts.map +1 -1
  356. package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts +0 -21
  357. package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts.map +1 -1
  358. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts +4 -0
  359. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
  360. package/lib/custom-auth-path/types/telemetry/BrowserRootPerformanceEvents.d.ts +1 -0
  361. package/lib/custom-auth-path/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
  362. package/lib/log-strings-mapping.json +2 -2
  363. package/lib/msal-browser.cjs +128 -106
  364. package/lib/msal-browser.cjs.map +1 -1
  365. package/lib/msal-browser.js +128 -106
  366. package/lib/msal-browser.js.map +1 -1
  367. package/lib/msal-browser.min.js +2 -2
  368. package/lib/redirect-bridge/msal-redirect-bridge.js +10 -10
  369. package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
  370. package/lib/redirect-bridge/msal-redirect-bridge.min.js +1 -1
  371. package/lib/types/cache/TokenCache.d.ts +7 -5
  372. package/lib/types/cache/TokenCache.d.ts.map +1 -1
  373. package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  374. package/lib/types/packageMetadata.d.ts +1 -1
  375. package/lib/types/packageMetadata.d.ts.map +1 -1
  376. package/lib/types/request/AuthorizationCodeRequest.d.ts +18 -0
  377. package/lib/types/request/AuthorizationCodeRequest.d.ts.map +1 -1
  378. package/lib/types/request/ClearCacheRequest.d.ts +6 -2
  379. package/lib/types/request/ClearCacheRequest.d.ts.map +1 -1
  380. package/lib/types/request/EndSessionPopupRequest.d.ts +12 -9
  381. package/lib/types/request/EndSessionPopupRequest.d.ts.map +1 -1
  382. package/lib/types/request/EndSessionRequest.d.ts +3 -6
  383. package/lib/types/request/EndSessionRequest.d.ts.map +1 -1
  384. package/lib/types/request/InitializeApplicationRequest.d.ts +3 -2
  385. package/lib/types/request/InitializeApplicationRequest.d.ts.map +1 -1
  386. package/lib/types/request/PopupRequest.d.ts +12 -24
  387. package/lib/types/request/PopupRequest.d.ts.map +1 -1
  388. package/lib/types/request/RedirectRequest.d.ts +6 -22
  389. package/lib/types/request/RedirectRequest.d.ts.map +1 -1
  390. package/lib/types/request/SilentRequest.d.ts +33 -13
  391. package/lib/types/request/SilentRequest.d.ts.map +1 -1
  392. package/lib/types/request/SsoSilentRequest.d.ts +0 -21
  393. package/lib/types/request/SsoSilentRequest.d.ts.map +1 -1
  394. package/lib/types/telemetry/BrowserPerformanceEvents.d.ts +4 -0
  395. package/lib/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
  396. package/lib/types/telemetry/BrowserRootPerformanceEvents.d.ts +1 -0
  397. package/lib/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
  398. package/package.json +5 -4
  399. package/src/cache/TokenCache.ts +143 -95
  400. package/src/packageMetadata.ts +1 -1
  401. package/src/request/AuthorizationCodeRequest.ts +18 -0
  402. package/src/request/ClearCacheRequest.ts +6 -2
  403. package/src/request/EndSessionPopupRequest.ts +12 -9
  404. package/src/request/EndSessionRequest.ts +3 -6
  405. package/src/request/InitializeApplicationRequest.ts +3 -2
  406. package/src/request/PopupRequest.ts +12 -24
  407. package/src/request/RedirectRequest.ts +6 -22
  408. package/src/request/SilentRequest.ts +33 -13
  409. package/src/request/SsoSilentRequest.ts +0 -21
  410. package/src/telemetry/BrowserPerformanceEvents.ts +5 -0
  411. package/src/telemetry/BrowserRootPerformanceEvents.ts +2 -0
@@ -1,8 +1,8 @@
1
- /*! @azure/msal-browser v5.0.0-beta.0 2025-12-05 */
1
+ /*! @azure/msal-browser v5.0.1 2026-01-16 */
2
2
  'use strict';
3
3
  'use strict';
4
4
 
5
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
5
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
6
6
  /*
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.
8
8
  * Licensed under the MIT License.
@@ -234,7 +234,7 @@ const JsonWebTokenTypes$1 = {
234
234
  // Token renewal offset default in seconds
235
235
  const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
236
236
 
237
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
237
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
238
238
  /*
239
239
  * Copyright (c) Microsoft Corporation. All rights reserved.
240
240
  * Licensed under the MIT License.
@@ -284,7 +284,7 @@ const INSTANCE_AWARE = "instance_aware";
284
284
  const EAR_JWK = "ear_jwk";
285
285
  const EAR_JWE_CRYPTO = "ear_jwe_crypto";
286
286
 
287
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
287
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
288
288
  /*
289
289
  * Copyright (c) Microsoft Corporation. All rights reserved.
290
290
  * Licensed under the MIT License.
@@ -315,7 +315,7 @@ function createAuthError(code, additionalMessage) {
315
315
  return new AuthError(code, additionalMessage || getDefaultErrorMessage$1(code));
316
316
  }
317
317
 
318
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
318
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
319
319
 
320
320
  /*
321
321
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -335,7 +335,7 @@ function createClientConfigurationError(errorCode) {
335
335
  return new ClientConfigurationError(errorCode);
336
336
  }
337
337
 
338
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
338
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
339
339
  /*
340
340
  * Copyright (c) Microsoft Corporation. All rights reserved.
341
341
  * Licensed under the MIT License.
@@ -432,7 +432,7 @@ class StringUtils {
432
432
  }
433
433
  }
434
434
 
435
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
435
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
436
436
 
437
437
  /*
438
438
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -455,7 +455,7 @@ function createClientAuthError(errorCode, additionalMessage) {
455
455
  return new ClientAuthError(errorCode, additionalMessage);
456
456
  }
457
457
 
458
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
458
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
459
459
  /*
460
460
  * Copyright (c) Microsoft Corporation. All rights reserved.
461
461
  * Licensed under the MIT License.
@@ -509,7 +509,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
509
509
  urlParseError: urlParseError
510
510
  });
511
511
 
512
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
512
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
513
513
  /*
514
514
  * Copyright (c) Microsoft Corporation. All rights reserved.
515
515
  * Licensed under the MIT License.
@@ -593,7 +593,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
593
593
  userCanceled: userCanceled
594
594
  });
595
595
 
596
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
596
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
597
597
 
598
598
  /*
599
599
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -788,7 +788,7 @@ class ScopeSet {
788
788
  }
789
789
  }
790
790
 
791
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
791
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
792
792
 
793
793
  /*
794
794
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1155,7 +1155,7 @@ function addEARParameters(parameters, jwk) {
1155
1155
  parameters.set(EAR_JWE_CRYPTO, jweCryptoB64Encoded);
1156
1156
  }
1157
1157
 
1158
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
1158
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
1159
1159
 
1160
1160
  /*
1161
1161
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1264,7 +1264,7 @@ function normalizeUrlForComparison(url) {
1264
1264
  }
1265
1265
  }
1266
1266
 
1267
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
1267
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
1268
1268
 
1269
1269
  /*
1270
1270
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1303,7 +1303,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
1303
1303
  },
1304
1304
  };
1305
1305
 
1306
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
1306
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
1307
1307
  /*
1308
1308
  * Copyright (c) Microsoft Corporation. All rights reserved.
1309
1309
  * Licensed under the MIT License.
@@ -1578,12 +1578,12 @@ class Logger {
1578
1578
  }
1579
1579
  }
1580
1580
 
1581
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
1581
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
1582
1582
  /* eslint-disable header/header */
1583
1583
  const name$1 = "@azure/msal-common";
1584
- const version$1 = "16.0.0-beta.0";
1584
+ const version$1 = "16.0.1";
1585
1585
 
1586
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
1586
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
1587
1587
  /*
1588
1588
  * Copyright (c) Microsoft Corporation. All rights reserved.
1589
1589
  * Licensed under the MIT License.
@@ -1603,7 +1603,7 @@ const AzureCloudInstance = {
1603
1603
  AzureUsGovernment: "https://login.microsoftonline.us",
1604
1604
  };
1605
1605
 
1606
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
1606
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
1607
1607
  /*
1608
1608
  * Copyright (c) Microsoft Corporation. All rights reserved.
1609
1609
  * Licensed under the MIT License.
@@ -1685,7 +1685,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
1685
1685
  return updatedAccountInfo;
1686
1686
  }
1687
1687
 
1688
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
1688
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
1689
1689
 
1690
1690
  /*
1691
1691
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1765,7 +1765,7 @@ function checkMaxAge(authTime, maxAge) {
1765
1765
  }
1766
1766
  }
1767
1767
 
1768
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
1768
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
1769
1769
 
1770
1770
  /*
1771
1771
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1922,7 +1922,7 @@ class UrlString {
1922
1922
  }
1923
1923
  }
1924
1924
 
1925
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
1925
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
1926
1926
 
1927
1927
  /*
1928
1928
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2064,7 +2064,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
2064
2064
  return null;
2065
2065
  }
2066
2066
 
2067
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
2067
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
2068
2068
  /*
2069
2069
  * Copyright (c) Microsoft Corporation. All rights reserved.
2070
2070
  * Licensed under the MIT License.
@@ -2072,7 +2072,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
2072
2072
  const cacheQuotaExceeded = "cache_quota_exceeded";
2073
2073
  const cacheErrorUnknown = "cache_error_unknown";
2074
2074
 
2075
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
2075
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
2076
2076
 
2077
2077
  /*
2078
2078
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2110,7 +2110,7 @@ function createCacheError(e) {
2110
2110
  }
2111
2111
  }
2112
2112
 
2113
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
2113
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
2114
2114
 
2115
2115
  /*
2116
2116
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2148,7 +2148,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
2148
2148
  };
2149
2149
  }
2150
2150
 
2151
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
2151
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
2152
2152
  /*
2153
2153
  * Copyright (c) Microsoft Corporation. All rights reserved.
2154
2154
  * Licensed under the MIT License.
@@ -2163,7 +2163,7 @@ const AuthorityType = {
2163
2163
  Ciam: 3,
2164
2164
  };
2165
2165
 
2166
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
2166
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
2167
2167
  /*
2168
2168
  * Copyright (c) Microsoft Corporation. All rights reserved.
2169
2169
  * Licensed under the MIT License.
@@ -2185,7 +2185,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
2185
2185
  return null;
2186
2186
  }
2187
2187
 
2188
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
2188
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
2189
2189
  /*
2190
2190
  * Copyright (c) Microsoft Corporation. All rights reserved.
2191
2191
  * Licensed under the MIT License.
@@ -2209,7 +2209,7 @@ const ProtocolMode = {
2209
2209
  EAR: "EAR",
2210
2210
  };
2211
2211
 
2212
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
2212
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
2213
2213
  /**
2214
2214
  * Returns the AccountInfo interface for this account.
2215
2215
  */
@@ -2369,7 +2369,7 @@ function isAccountEntity(entity) {
2369
2369
  entity.hasOwnProperty("authorityType"));
2370
2370
  }
2371
2371
 
2372
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
2372
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
2373
2373
 
2374
2374
  /*
2375
2375
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3466,7 +3466,7 @@ class DefaultStorageClass extends CacheManager {
3466
3466
  }
3467
3467
  }
3468
3468
 
3469
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
3469
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
3470
3470
  /*
3471
3471
  * Copyright (c) Microsoft Corporation. All rights reserved.
3472
3472
  * Licensed under the MIT License.
@@ -3507,7 +3507,7 @@ const IntFields = new Set([
3507
3507
  "upgradedCacheCount",
3508
3508
  ]);
3509
3509
 
3510
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
3510
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
3511
3511
 
3512
3512
  /*
3513
3513
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3562,7 +3562,7 @@ class StubPerformanceClient {
3562
3562
  }
3563
3563
  }
3564
3564
 
3565
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
3565
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
3566
3566
 
3567
3567
  /*
3568
3568
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3656,7 +3656,7 @@ function isOidcProtocolMode(config) {
3656
3656
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
3657
3657
  }
3658
3658
 
3659
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
3659
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
3660
3660
 
3661
3661
  /*
3662
3662
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3675,7 +3675,7 @@ class ServerError extends AuthError {
3675
3675
  }
3676
3676
  }
3677
3677
 
3678
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
3678
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
3679
3679
  /*
3680
3680
  * Copyright (c) Microsoft Corporation. All rights reserved.
3681
3681
  * Licensed under the MIT License.
@@ -3703,7 +3703,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
3703
3703
  uxNotAllowed: uxNotAllowed
3704
3704
  });
3705
3705
 
3706
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
3706
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
3707
3707
 
3708
3708
  /*
3709
3709
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3769,7 +3769,7 @@ function createInteractionRequiredAuthError(errorCode, errorMessage) {
3769
3769
  return new InteractionRequiredAuthError(errorCode, errorMessage);
3770
3770
  }
3771
3771
 
3772
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
3772
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
3773
3773
 
3774
3774
  /*
3775
3775
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3837,7 +3837,7 @@ function parseRequestState(base64Decode, state) {
3837
3837
  }
3838
3838
  }
3839
3839
 
3840
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
3840
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
3841
3841
  /*
3842
3842
  * Copyright (c) Microsoft Corporation. All rights reserved.
3843
3843
  * Licensed under the MIT License.
@@ -3902,7 +3902,7 @@ function wasClockTurnedBack(cachedAt) {
3902
3902
  return cachedAtSec > nowSeconds();
3903
3903
  }
3904
3904
 
3905
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
3905
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
3906
3906
  /*
3907
3907
  * Copyright (c) Microsoft Corporation. All rights reserved.
3908
3908
  * Licensed under the MIT License.
@@ -3973,7 +3973,7 @@ const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
3973
3973
  const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
3974
3974
  const SetUserData = "setUserData";
3975
3975
 
3976
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
3976
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
3977
3977
  /*
3978
3978
  * Copyright (c) Microsoft Corporation. All rights reserved.
3979
3979
  * Licensed under the MIT License.
@@ -4068,7 +4068,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
4068
4068
  };
4069
4069
  };
4070
4070
 
4071
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
4071
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
4072
4072
 
4073
4073
  /*
4074
4074
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4148,7 +4148,7 @@ class PopTokenGenerator {
4148
4148
  }
4149
4149
  }
4150
4150
 
4151
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
4151
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
4152
4152
  /*
4153
4153
  * Copyright (c) Microsoft Corporation. All rights reserved.
4154
4154
  * Licensed under the MIT License.
@@ -4175,7 +4175,7 @@ class PopTokenGenerator {
4175
4175
  }
4176
4176
  }
4177
4177
 
4178
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
4178
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
4179
4179
 
4180
4180
  /*
4181
4181
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4434,7 +4434,7 @@ function isAuthorityMetadataExpired(metadata) {
4434
4434
  return metadata.expiresAt <= nowSeconds();
4435
4435
  }
4436
4436
 
4437
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
4437
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
4438
4438
 
4439
4439
  /*
4440
4440
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4625,6 +4625,7 @@ class ResponseHandler {
4625
4625
  ? parseInt(serverTokenResponse.refresh_token_expires_in, 10)
4626
4626
  : serverTokenResponse.refresh_token_expires_in;
4627
4627
  rtExpiresOn = reqTimestamp + rtExpiresIn;
4628
+ this.performanceClient?.addFields({ ntwkRtExpiresOnSeconds: rtExpiresOn }, request.correlationId);
4628
4629
  }
4629
4630
  cachedRefreshToken = createRefreshTokenEntity(this.homeAccountIdentifier, env, serverTokenResponse.refresh_token, this.clientId, serverTokenResponse.foci, userAssertionHash, rtExpiresOn);
4630
4631
  }
@@ -4764,7 +4765,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
4764
4765
  return baseAccount;
4765
4766
  }
4766
4767
 
4767
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
4768
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
4768
4769
  /*
4769
4770
  * Copyright (c) Microsoft Corporation. All rights reserved.
4770
4771
  * Licensed under the MIT License.
@@ -4774,7 +4775,7 @@ const CcsCredentialType = {
4774
4775
  UPN: "UPN",
4775
4776
  };
4776
4777
 
4777
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
4778
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
4778
4779
  /*
4779
4780
  * Copyright (c) Microsoft Corporation. All rights reserved.
4780
4781
  * Licensed under the MIT License.
@@ -4792,7 +4793,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
4792
4793
  }
4793
4794
  }
4794
4795
 
4795
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
4796
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
4796
4797
  /*
4797
4798
  * Copyright (c) Microsoft Corporation. All rights reserved.
4798
4799
  * Licensed under the MIT License.
@@ -4813,7 +4814,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
4813
4814
  };
4814
4815
  }
4815
4816
 
4816
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
4817
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
4817
4818
 
4818
4819
  /*
4819
4820
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4899,7 +4900,7 @@ class ThrottlingUtils {
4899
4900
  }
4900
4901
  }
4901
4902
 
4902
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
4903
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
4903
4904
 
4904
4905
  /*
4905
4906
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4930,7 +4931,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
4930
4931
  return new NetworkError(error, httpStatus, responseHeaders);
4931
4932
  }
4932
4933
 
4933
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
4934
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
4934
4935
 
4935
4936
  /*
4936
4937
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5044,7 +5045,7 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
5044
5045
  return response;
5045
5046
  }
5046
5047
 
5047
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
5048
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
5048
5049
  /*
5049
5050
  * Copyright (c) Microsoft Corporation. All rights reserved.
5050
5051
  * Licensed under the MIT License.
@@ -5056,7 +5057,7 @@ function isOpenIdConfigResponse(response) {
5056
5057
  response.hasOwnProperty("jwks_uri"));
5057
5058
  }
5058
5059
 
5059
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
5060
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
5060
5061
  /*
5061
5062
  * Copyright (c) Microsoft Corporation. All rights reserved.
5062
5063
  * Licensed under the MIT License.
@@ -5066,7 +5067,7 @@ function isCloudInstanceDiscoveryResponse(response) {
5066
5067
  response.hasOwnProperty("metadata"));
5067
5068
  }
5068
5069
 
5069
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
5070
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
5070
5071
  /*
5071
5072
  * Copyright (c) Microsoft Corporation. All rights reserved.
5072
5073
  * Licensed under the MIT License.
@@ -5076,7 +5077,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
5076
5077
  response.hasOwnProperty("error_description"));
5077
5078
  }
5078
5079
 
5079
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
5080
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
5080
5081
 
5081
5082
  /*
5082
5083
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5181,7 +5182,7 @@ RegionDiscovery.IMDS_OPTIONS = {
5181
5182
  },
5182
5183
  };
5183
5184
 
5184
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
5185
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
5185
5186
 
5186
5187
  /*
5187
5188
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6001,7 +6002,7 @@ function buildStaticAuthorityOptions(authOptions) {
6001
6002
  };
6002
6003
  }
6003
6004
 
6004
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
6005
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
6005
6006
 
6006
6007
  /*
6007
6008
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6035,7 +6036,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
6035
6036
  }
6036
6037
  }
6037
6038
 
6038
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
6039
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
6039
6040
 
6040
6041
  /*
6041
6042
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6295,7 +6296,7 @@ class AuthorizationCodeClient {
6295
6296
  }
6296
6297
  }
6297
6298
 
6298
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
6299
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
6299
6300
 
6300
6301
  /*
6301
6302
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6384,11 +6385,16 @@ class RefreshTokenClient {
6384
6385
  if (!refreshToken) {
6385
6386
  throw createInteractionRequiredAuthError(noTokensFound);
6386
6387
  }
6387
- if (refreshToken.expiresOn &&
6388
- isTokenExpired(refreshToken.expiresOn, request.refreshTokenExpirationOffsetSeconds ||
6389
- DEFAULT_REFRESH_TOKEN_EXPIRATION_OFFSET_SECONDS)) {
6390
- this.performanceClient?.addFields({ rtExpiresOnMs: Number(refreshToken.expiresOn) }, request.correlationId);
6391
- throw createInteractionRequiredAuthError(refreshTokenExpired);
6388
+ if (refreshToken.expiresOn) {
6389
+ const offset = request.refreshTokenExpirationOffsetSeconds ||
6390
+ DEFAULT_REFRESH_TOKEN_EXPIRATION_OFFSET_SECONDS;
6391
+ this.performanceClient?.addFields({
6392
+ cacheRtExpiresOnSeconds: Number(refreshToken.expiresOn),
6393
+ rtOffsetSeconds: offset,
6394
+ }, request.correlationId);
6395
+ if (isTokenExpired(refreshToken.expiresOn, offset)) {
6396
+ throw createInteractionRequiredAuthError(refreshTokenExpired);
6397
+ }
6392
6398
  }
6393
6399
  // attach cached RT size to the current measurement
6394
6400
  const refreshTokenRequest = {
@@ -6406,7 +6412,6 @@ class RefreshTokenClient {
6406
6412
  }
6407
6413
  catch (e) {
6408
6414
  if (e instanceof InteractionRequiredAuthError) {
6409
- this.performanceClient?.addFields({ rtExpiresOnMs: Number(refreshToken.expiresOn) }, request.correlationId);
6410
6415
  if (e.subError === badToken) {
6411
6416
  // Remove bad refresh token from cache
6412
6417
  this.logger.verbose("1pg3ap", request.correlationId);
@@ -6516,7 +6521,7 @@ class RefreshTokenClient {
6516
6521
  }
6517
6522
  }
6518
6523
 
6519
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
6524
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
6520
6525
 
6521
6526
  /*
6522
6527
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6625,7 +6630,7 @@ class SilentFlowClient {
6625
6630
  }
6626
6631
  }
6627
6632
 
6628
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
6633
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
6629
6634
 
6630
6635
  /*
6631
6636
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6640,7 +6645,7 @@ const StubbedNetworkModule = {
6640
6645
  },
6641
6646
  };
6642
6647
 
6643
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
6648
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
6644
6649
 
6645
6650
  /*
6646
6651
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6864,7 +6869,7 @@ function extractLoginHint(account) {
6864
6869
  return account.loginHint || account.idTokenClaims?.login_hint || null;
6865
6870
  }
6866
6871
 
6867
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
6872
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
6868
6873
 
6869
6874
  /*
6870
6875
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6922,7 +6927,7 @@ class AuthenticationHeaderParser {
6922
6927
  }
6923
6928
  }
6924
6929
 
6925
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
6930
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
6926
6931
  /*
6927
6932
  * Copyright (c) Microsoft Corporation. All rights reserved.
6928
6933
  * Licensed under the MIT License.
@@ -6939,7 +6944,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
6939
6944
  unexpectedError: unexpectedError
6940
6945
  });
6941
6946
 
6942
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
6947
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
6943
6948
 
6944
6949
  /*
6945
6950
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7200,7 +7205,7 @@ class ServerTelemetryManager {
7200
7205
  }
7201
7206
  }
7202
7207
 
7203
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
7208
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
7204
7209
 
7205
7210
  /*
7206
7211
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7221,7 +7226,7 @@ function createJoseHeaderError(code) {
7221
7226
  return new JoseHeaderError(code);
7222
7227
  }
7223
7228
 
7224
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
7229
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
7225
7230
  /*
7226
7231
  * Copyright (c) Microsoft Corporation. All rights reserved.
7227
7232
  * Licensed under the MIT License.
@@ -7229,7 +7234,7 @@ function createJoseHeaderError(code) {
7229
7234
  const missingKidError = "missing_kid_error";
7230
7235
  const missingAlgError = "missing_alg_error";
7231
7236
 
7232
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
7237
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
7233
7238
 
7234
7239
  /*
7235
7240
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7269,7 +7274,7 @@ class JoseHeader {
7269
7274
  }
7270
7275
  }
7271
7276
 
7272
- /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
7277
+ /*! @azure/msal-common v16.0.1 2026-01-16 */
7273
7278
 
7274
7279
  /*
7275
7280
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8928,7 +8933,11 @@ const UrlEncodeArr = "urlEncodeArr";
8928
8933
  const Encrypt = "encrypt";
8929
8934
  const Decrypt = "decrypt";
8930
8935
  const GenerateEarKey = "generateEarKey";
8931
- const DecryptEarResponse = "decryptEarResponse";
8936
+ const DecryptEarResponse = "decryptEarResponse";
8937
+ const LoadAccount = "loadAccount";
8938
+ const LoadIdToken = "loadIdToken";
8939
+ const LoadAccessToken = "loadAccessToken";
8940
+ const LoadRefreshToken = "loadRefreshToken";
8932
8941
 
8933
8942
  /*
8934
8943
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -9535,7 +9544,9 @@ const SsoSilent = "ssoSilent";
9535
9544
  // Initialize client application
9536
9545
  const InitializeClientApplication = "initializeClientApplication";
9537
9546
  // Update cache storage
9538
- const LocalStorageUpdated = "localStorageUpdated";
9547
+ const LocalStorageUpdated = "localStorageUpdated";
9548
+ // Load external tokens
9549
+ const LoadExternalTokens = "loadExternalTokens";
9539
9550
 
9540
9551
  var BrowserRootPerformanceEvents = /*#__PURE__*/Object.freeze({
9541
9552
  __proto__: null,
@@ -9545,6 +9556,7 @@ var BrowserRootPerformanceEvents = /*#__PURE__*/Object.freeze({
9545
9556
  AcquireTokenRedirect: AcquireTokenRedirect,
9546
9557
  AcquireTokenSilent: AcquireTokenSilent,
9547
9558
  InitializeClientApplication: InitializeClientApplication,
9559
+ LoadExternalTokens: LoadExternalTokens,
9548
9560
  LocalStorageUpdated: LocalStorageUpdated,
9549
9561
  SsoSilent: SsoSilent
9550
9562
  });
@@ -10063,7 +10075,7 @@ const EventType = {
10063
10075
 
10064
10076
  /* eslint-disable header/header */
10065
10077
  const name = "@azure/msal-browser";
10066
- const version = "5.0.0-beta.0";
10078
+ const version = "5.0.1";
10067
10079
 
10068
10080
  /*
10069
10081
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -17875,41 +17887,51 @@ const stubbedPublicClientApplication = {
17875
17887
  */
17876
17888
  /**
17877
17889
  * API to load tokens to msal-browser cache.
17878
- * @param request
17879
- * @param response
17880
- * @param options
17890
+ * @param config - Object to configure the MSAL app.
17891
+ * @param request - Silent request containing authority, scopes, and account.
17892
+ * @param response - External token response to load into the cache.
17893
+ * @param options - Options controlling how tokens are loaded into the cache.
17894
+ * @param performanceClient - Optional performance client used for telemetry measurements.
17881
17895
  * @returns `AuthenticationResult` for the response that was loaded.
17882
17896
  */
17883
- async function loadExternalTokens(config, request, response, options) {
17897
+ async function loadExternalTokens(config, request, response, options, performanceClient = new StubPerformanceClient()) {
17884
17898
  blockNonBrowserEnvironment();
17885
17899
  const browserConfig = buildConfiguration(config, true);
17886
17900
  const correlationId = request.correlationId || createNewGuid();
17887
- const idTokenClaims = response.id_token
17888
- ? extractTokenClaims(response.id_token, base64Decode)
17889
- : undefined;
17890
- const kmsi = isKmsi(idTokenClaims || {});
17891
- const authorityOptions = {
17892
- protocolMode: browserConfig.system.protocolMode,
17893
- knownAuthorities: browserConfig.auth.knownAuthorities,
17894
- cloudDiscoveryMetadata: browserConfig.auth.cloudDiscoveryMetadata,
17895
- authorityMetadata: browserConfig.auth.authorityMetadata,
17896
- };
17897
- const logger = new Logger(browserConfig.system.loggerOptions || {});
17898
- const cryptoOps = new CryptoOps(logger, browserConfig.telemetry.client);
17899
- const storage = new BrowserCacheManager(browserConfig.auth.clientId, browserConfig.cache, cryptoOps, logger, browserConfig.telemetry.client, new EventHandler(logger), buildStaticAuthorityOptions(browserConfig.auth));
17900
- const authority = request.authority
17901
- ? new Authority(Authority.generateAuthority(request.authority, request.azureCloudOptions), browserConfig.system.networkClient, storage, authorityOptions, logger, request.correlationId || createNewGuid(), browserConfig.telemetry.client)
17902
- : undefined;
17903
- const cacheRecordAccount = await loadAccount(request, options.clientInfo || response.client_info || "", correlationId, storage, logger, cryptoOps, idTokenClaims, authority);
17904
- const idToken = await loadIdToken(response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, cacheRecordAccount.realm, kmsi, correlationId, storage, logger, config.auth.clientId);
17905
- const accessToken = await loadAccessToken(request, response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, cacheRecordAccount.realm, kmsi, options, correlationId, storage, logger, config.auth.clientId);
17906
- const refreshToken = await loadRefreshToken(response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, kmsi, correlationId, storage, logger, config.auth.clientId);
17907
- return generateAuthenticationResult(request, {
17908
- account: cacheRecordAccount,
17909
- idToken,
17910
- accessToken,
17911
- refreshToken,
17912
- }, idTokenClaims, authority);
17901
+ const rootMeasurement = performanceClient.startMeasurement(LoadExternalTokens, correlationId);
17902
+ try {
17903
+ const idTokenClaims = response.id_token
17904
+ ? extractTokenClaims(response.id_token, base64Decode)
17905
+ : undefined;
17906
+ const kmsi = isKmsi(idTokenClaims || {});
17907
+ const authorityOptions = {
17908
+ protocolMode: browserConfig.system.protocolMode,
17909
+ knownAuthorities: browserConfig.auth.knownAuthorities,
17910
+ cloudDiscoveryMetadata: browserConfig.auth.cloudDiscoveryMetadata,
17911
+ authorityMetadata: browserConfig.auth.authorityMetadata,
17912
+ };
17913
+ const logger = new Logger(browserConfig.system.loggerOptions || {});
17914
+ const cryptoOps = new CryptoOps(logger, browserConfig.telemetry.client);
17915
+ const storage = new BrowserCacheManager(browserConfig.auth.clientId, browserConfig.cache, cryptoOps, logger, browserConfig.telemetry.client, new EventHandler(logger), buildStaticAuthorityOptions(browserConfig.auth));
17916
+ const authority = request.authority
17917
+ ? new Authority(Authority.generateAuthority(request.authority, request.azureCloudOptions), browserConfig.system.networkClient, storage, authorityOptions, logger, request.correlationId || createNewGuid(), browserConfig.telemetry.client)
17918
+ : undefined;
17919
+ const cacheRecordAccount = await invokeAsync(loadAccount, LoadAccount, logger, performanceClient, correlationId)(request, options.clientInfo || response.client_info || "", correlationId, storage, logger, cryptoOps, idTokenClaims, authority);
17920
+ const idToken = await invokeAsync(loadIdToken, LoadIdToken, logger, performanceClient, correlationId)(response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, cacheRecordAccount.realm, kmsi, correlationId, storage, logger, config.auth.clientId);
17921
+ const accessToken = await invokeAsync(loadAccessToken, LoadAccessToken, logger, performanceClient, correlationId)(request, response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, cacheRecordAccount.realm, kmsi, options, correlationId, storage, logger, config.auth.clientId);
17922
+ const refreshToken = await invokeAsync(loadRefreshToken, LoadRefreshToken, logger, performanceClient, correlationId)(response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, kmsi, correlationId, storage, logger, config.auth.clientId);
17923
+ rootMeasurement.end({ success: true }, undefined, getAccountInfo(cacheRecordAccount));
17924
+ return generateAuthenticationResult(request, {
17925
+ account: cacheRecordAccount,
17926
+ idToken,
17927
+ accessToken,
17928
+ refreshToken,
17929
+ }, idTokenClaims, authority);
17930
+ }
17931
+ catch (error) {
17932
+ rootMeasurement.end({ success: false }, error);
17933
+ throw error;
17934
+ }
17913
17935
  }
17914
17936
  /**
17915
17937
  * Helper function to load account to msal-browser cache