@azure/msal-browser 4.27.0 → 4.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (376) hide show
  1. package/dist/app/IPublicClientApplication.mjs +1 -1
  2. package/dist/app/PublicClientApplication.mjs +1 -1
  3. package/dist/app/PublicClientNext.mjs +1 -1
  4. package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  5. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  6. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  7. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  8. package/dist/cache/AccountManager.mjs +1 -1
  9. package/dist/cache/AsyncMemoryStorage.mjs +1 -1
  10. package/dist/cache/BrowserCacheManager.d.ts +3 -3
  11. package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
  12. package/dist/cache/BrowserCacheManager.mjs +10 -6
  13. package/dist/cache/BrowserCacheManager.mjs.map +1 -1
  14. package/dist/cache/CacheHelpers.mjs +1 -1
  15. package/dist/cache/CacheKeys.mjs +1 -1
  16. package/dist/cache/CookieStorage.mjs +1 -1
  17. package/dist/cache/DatabaseStorage.mjs +1 -1
  18. package/dist/cache/EncryptedData.mjs +1 -1
  19. package/dist/cache/LocalStorage.mjs +1 -1
  20. package/dist/cache/MemoryStorage.mjs +1 -1
  21. package/dist/cache/SessionStorage.mjs +1 -1
  22. package/dist/cache/TokenCache.d.ts +3 -2
  23. package/dist/cache/TokenCache.d.ts.map +1 -1
  24. package/dist/cache/TokenCache.mjs +39 -29
  25. package/dist/cache/TokenCache.mjs.map +1 -1
  26. package/dist/config/Configuration.mjs +1 -1
  27. package/dist/controllers/ControllerFactory.mjs +1 -1
  28. package/dist/controllers/NestedAppAuthController.d.ts.map +1 -1
  29. package/dist/controllers/NestedAppAuthController.mjs +3 -3
  30. package/dist/controllers/NestedAppAuthController.mjs.map +1 -1
  31. package/dist/controllers/StandardController.d.ts.map +1 -1
  32. package/dist/controllers/StandardController.mjs +3 -3
  33. package/dist/controllers/StandardController.mjs.map +1 -1
  34. package/dist/controllers/UnknownOperatingContextController.mjs +1 -1
  35. package/dist/crypto/BrowserCrypto.mjs +1 -1
  36. package/dist/crypto/CryptoOps.mjs +1 -1
  37. package/dist/crypto/PkceGenerator.mjs +1 -1
  38. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  39. package/dist/custom-auth-path/app/PublicClientApplication.mjs +1 -1
  40. package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  41. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  42. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  43. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  44. package/dist/custom-auth-path/cache/AccountManager.mjs +1 -1
  45. package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +1 -1
  46. package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts +3 -3
  47. package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts.map +1 -1
  48. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +10 -6
  49. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs.map +1 -1
  50. package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
  51. package/dist/custom-auth-path/cache/CacheKeys.mjs +1 -1
  52. package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
  53. package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
  54. package/dist/custom-auth-path/cache/EncryptedData.mjs +1 -1
  55. package/dist/custom-auth-path/cache/LocalStorage.mjs +1 -1
  56. package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
  57. package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
  58. package/dist/custom-auth-path/cache/TokenCache.d.ts +3 -2
  59. package/dist/custom-auth-path/cache/TokenCache.d.ts.map +1 -1
  60. package/dist/custom-auth-path/cache/TokenCache.mjs +39 -29
  61. package/dist/custom-auth-path/cache/TokenCache.mjs.map +1 -1
  62. package/dist/custom-auth-path/config/Configuration.mjs +1 -1
  63. package/dist/custom-auth-path/controllers/ControllerFactory.mjs +1 -1
  64. package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts.map +1 -1
  65. package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
  66. package/dist/custom-auth-path/controllers/StandardController.mjs +3 -3
  67. package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -1
  68. package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
  69. package/dist/custom-auth-path/crypto/CryptoOps.mjs +1 -1
  70. package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
  71. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +1 -1
  72. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -1
  73. package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
  74. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
  75. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  76. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
  77. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  78. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  79. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
  80. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
  81. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
  82. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
  83. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
  84. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
  85. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
  86. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
  87. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
  88. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
  89. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
  90. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
  91. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
  92. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
  93. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
  94. package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
  95. package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  96. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  97. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  98. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  99. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  100. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  101. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  102. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  103. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  104. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
  105. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  106. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  107. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  108. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +1 -1
  109. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
  110. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +3 -3
  111. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs.map +1 -1
  112. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  113. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
  114. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +2 -2
  115. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs.map +1 -1
  116. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
  117. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -1
  118. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.mjs +2 -2
  119. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.mjs.map +1 -1
  120. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
  121. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  122. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
  123. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
  124. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
  125. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  126. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
  127. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  128. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  129. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
  130. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  131. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  132. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
  133. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
  134. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
  135. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
  136. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  137. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  138. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  139. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  140. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  141. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  142. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  143. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
  144. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +2 -2
  145. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs.map +1 -1
  146. package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
  147. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  148. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  149. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  150. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  151. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  152. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  153. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
  154. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  155. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  156. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
  157. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  158. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  159. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  160. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
  161. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  162. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
  163. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
  164. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
  165. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
  166. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  167. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
  168. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  169. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
  170. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  171. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  172. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +6 -6
  173. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs.map +1 -1
  174. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
  175. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  176. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  177. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  178. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  179. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  180. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  181. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
  182. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
  183. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  184. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  185. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
  186. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  187. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  188. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  189. package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
  190. package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
  191. package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
  192. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
  193. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
  194. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  195. package/dist/custom-auth-path/error/NativeAuthError.mjs +1 -1
  196. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
  197. package/dist/custom-auth-path/event/EventHandler.mjs +1 -1
  198. package/dist/custom-auth-path/event/EventType.mjs +1 -1
  199. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
  200. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  201. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  202. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +3 -3
  203. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  204. package/dist/custom-auth-path/interaction_client/PopupClient.mjs +1 -1
  205. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +1 -1
  206. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
  207. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +2 -2
  208. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs.map +1 -1
  209. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
  210. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +1 -1
  211. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.d.ts.map +1 -1
  212. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +2 -2
  213. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs.map +1 -1
  214. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
  215. package/dist/custom-auth-path/interaction_handler/InteractionHandler.d.ts +3 -2
  216. package/dist/custom-auth-path/interaction_handler/InteractionHandler.d.ts.map +1 -1
  217. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +5 -5
  218. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs.map +1 -1
  219. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +1 -1
  220. package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
  221. package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
  222. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
  223. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
  224. package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
  225. package/dist/custom-auth-path/packageMetadata.mjs +2 -2
  226. package/dist/custom-auth-path/protocol/Authorize.d.ts.map +1 -1
  227. package/dist/custom-auth-path/protocol/Authorize.mjs +3 -3
  228. package/dist/custom-auth-path/protocol/Authorize.mjs.map +1 -1
  229. package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
  230. package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
  231. package/dist/custom-auth-path/utils/BrowserConstants.d.ts +20 -1
  232. package/dist/custom-auth-path/utils/BrowserConstants.d.ts.map +1 -1
  233. package/dist/custom-auth-path/utils/BrowserConstants.mjs +27 -3
  234. package/dist/custom-auth-path/utils/BrowserConstants.mjs.map +1 -1
  235. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
  236. package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
  237. package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
  238. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
  239. package/dist/custom_auth/CustomAuthConstants.d.ts +1 -1
  240. package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +1 -1
  241. package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
  242. package/dist/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
  243. package/dist/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -1
  244. package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
  245. package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  246. package/dist/encode/Base64Decode.mjs +1 -1
  247. package/dist/encode/Base64Encode.mjs +1 -1
  248. package/dist/error/BrowserAuthError.mjs +1 -1
  249. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  250. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  251. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  252. package/dist/error/NativeAuthError.mjs +1 -1
  253. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  254. package/dist/error/NestedAppAuthError.mjs +1 -1
  255. package/dist/event/EventHandler.mjs +1 -1
  256. package/dist/event/EventMessage.mjs +1 -1
  257. package/dist/event/EventType.mjs +1 -1
  258. package/dist/index.mjs +1 -1
  259. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  260. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  261. package/dist/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  262. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +3 -3
  263. package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  264. package/dist/interaction_client/PopupClient.mjs +1 -1
  265. package/dist/interaction_client/RedirectClient.mjs +1 -1
  266. package/dist/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
  267. package/dist/interaction_client/SilentAuthCodeClient.mjs +2 -2
  268. package/dist/interaction_client/SilentAuthCodeClient.mjs.map +1 -1
  269. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  270. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  271. package/dist/interaction_client/SilentRefreshClient.d.ts.map +1 -1
  272. package/dist/interaction_client/SilentRefreshClient.mjs +2 -2
  273. package/dist/interaction_client/SilentRefreshClient.mjs.map +1 -1
  274. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  275. package/dist/interaction_handler/InteractionHandler.d.ts +3 -2
  276. package/dist/interaction_handler/InteractionHandler.d.ts.map +1 -1
  277. package/dist/interaction_handler/InteractionHandler.mjs +5 -5
  278. package/dist/interaction_handler/InteractionHandler.mjs.map +1 -1
  279. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  280. package/dist/naa/BridgeError.mjs +1 -1
  281. package/dist/naa/BridgeProxy.mjs +1 -1
  282. package/dist/naa/BridgeStatusCode.mjs +1 -1
  283. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  284. package/dist/navigation/NavigationClient.mjs +1 -1
  285. package/dist/network/FetchClient.mjs +1 -1
  286. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  287. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  288. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  289. package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
  290. package/dist/packageMetadata.d.ts +1 -1
  291. package/dist/packageMetadata.mjs +2 -2
  292. package/dist/protocol/Authorize.d.ts.map +1 -1
  293. package/dist/protocol/Authorize.mjs +3 -3
  294. package/dist/protocol/Authorize.mjs.map +1 -1
  295. package/dist/request/RequestHelpers.mjs +1 -1
  296. package/dist/response/ResponseHandler.mjs +1 -1
  297. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  298. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  299. package/dist/utils/BrowserConstants.d.ts +20 -1
  300. package/dist/utils/BrowserConstants.d.ts.map +1 -1
  301. package/dist/utils/BrowserConstants.mjs +27 -3
  302. package/dist/utils/BrowserConstants.mjs.map +1 -1
  303. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  304. package/dist/utils/BrowserUtils.mjs +1 -1
  305. package/dist/utils/Helpers.mjs +1 -1
  306. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  307. package/lib/custom-auth-path/msal-custom-auth.cjs +190 -140
  308. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  309. package/lib/custom-auth-path/msal-custom-auth.js +22608 -0
  310. package/lib/custom-auth-path/msal-custom-auth.js.map +1 -0
  311. package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts +3 -3
  312. package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts.map +1 -1
  313. package/lib/custom-auth-path/types/cache/TokenCache.d.ts +3 -2
  314. package/lib/custom-auth-path/types/cache/TokenCache.d.ts.map +1 -1
  315. package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts.map +1 -1
  316. package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
  317. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  318. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +1 -1
  319. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
  320. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
  321. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -1
  322. package/lib/custom-auth-path/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
  323. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  324. package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  325. package/lib/custom-auth-path/types/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
  326. package/lib/custom-auth-path/types/interaction_client/SilentRefreshClient.d.ts.map +1 -1
  327. package/lib/custom-auth-path/types/interaction_handler/InteractionHandler.d.ts +3 -2
  328. package/lib/custom-auth-path/types/interaction_handler/InteractionHandler.d.ts.map +1 -1
  329. package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
  330. package/lib/custom-auth-path/types/protocol/Authorize.d.ts.map +1 -1
  331. package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts +20 -1
  332. package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts.map +1 -1
  333. package/lib/msal-browser.cjs +183 -133
  334. package/lib/msal-browser.cjs.map +1 -1
  335. package/lib/msal-browser.js +183 -133
  336. package/lib/msal-browser.js.map +1 -1
  337. package/lib/msal-browser.min.js +63 -63
  338. package/lib/types/cache/BrowserCacheManager.d.ts +3 -3
  339. package/lib/types/cache/BrowserCacheManager.d.ts.map +1 -1
  340. package/lib/types/cache/TokenCache.d.ts +3 -2
  341. package/lib/types/cache/TokenCache.d.ts.map +1 -1
  342. package/lib/types/controllers/NestedAppAuthController.d.ts.map +1 -1
  343. package/lib/types/controllers/StandardController.d.ts.map +1 -1
  344. package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  345. package/lib/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +1 -1
  346. package/lib/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
  347. package/lib/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
  348. package/lib/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -1
  349. package/lib/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
  350. package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  351. package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  352. package/lib/types/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
  353. package/lib/types/interaction_client/SilentRefreshClient.d.ts.map +1 -1
  354. package/lib/types/interaction_handler/InteractionHandler.d.ts +3 -2
  355. package/lib/types/interaction_handler/InteractionHandler.d.ts.map +1 -1
  356. package/lib/types/packageMetadata.d.ts +1 -1
  357. package/lib/types/protocol/Authorize.d.ts.map +1 -1
  358. package/lib/types/utils/BrowserConstants.d.ts +20 -1
  359. package/lib/types/utils/BrowserConstants.d.ts.map +1 -1
  360. package/package.json +2 -2
  361. package/src/cache/BrowserCacheManager.ts +16 -2
  362. package/src/cache/TokenCache.ts +122 -72
  363. package/src/controllers/NestedAppAuthController.ts +2 -1
  364. package/src/controllers/StandardController.ts +4 -2
  365. package/src/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.ts +4 -2
  366. package/src/custom_auth/core/interaction_client/jit/JitClient.ts +2 -1
  367. package/src/custom_auth/core/interaction_client/mfa/MfaClient.ts +2 -1
  368. package/src/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.ts +2 -1
  369. package/src/custom_auth/sign_in/interaction_client/SignInClient.ts +10 -5
  370. package/src/interaction_client/PlatformAuthInteractionClient.ts +3 -1
  371. package/src/interaction_client/SilentAuthCodeClient.ts +1 -0
  372. package/src/interaction_client/SilentRefreshClient.ts +7 -5
  373. package/src/interaction_handler/InteractionHandler.ts +10 -3
  374. package/src/packageMetadata.ts +1 -1
  375. package/src/protocol/Authorize.ts +2 -1
  376. package/src/utils/BrowserConstants.ts +27 -1
@@ -1,8 +1,8 @@
1
- /*! @azure/msal-browser v4.27.0 2025-12-04 */
1
+ /*! @azure/msal-browser v4.28.0 2026-01-13 */
2
2
  'use strict';
3
3
  'use strict';
4
4
 
5
- /*! @azure/msal-common v15.13.3 2025-12-04 */
5
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
6
6
  /*
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.
8
8
  * Licensed under the MIT License.
@@ -279,7 +279,7 @@ const JsonWebTokenTypes = {
279
279
  // Token renewal offset default in seconds
280
280
  const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
281
281
 
282
- /*! @azure/msal-common v15.13.3 2025-12-04 */
282
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
283
283
  /*
284
284
  * Copyright (c) Microsoft Corporation. All rights reserved.
285
285
  * Licensed under the MIT License.
@@ -296,7 +296,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
296
296
  unexpectedError: unexpectedError
297
297
  });
298
298
 
299
- /*! @azure/msal-common v15.13.3 2025-12-04 */
299
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
300
300
 
301
301
  /*
302
302
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -345,7 +345,7 @@ function createAuthError(code, additionalMessage) {
345
345
  : AuthErrorMessages[code]);
346
346
  }
347
347
 
348
- /*! @azure/msal-common v15.13.3 2025-12-04 */
348
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
349
349
  /*
350
350
  * Copyright (c) Microsoft Corporation. All rights reserved.
351
351
  * Licensed under the MIT License.
@@ -445,7 +445,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
445
445
  userTimeoutReached: userTimeoutReached
446
446
  });
447
447
 
448
- /*! @azure/msal-common v15.13.3 2025-12-04 */
448
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
449
449
 
450
450
  /*
451
451
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -702,7 +702,7 @@ function createClientAuthError(errorCode, additionalMessage) {
702
702
  return new ClientAuthError(errorCode, additionalMessage);
703
703
  }
704
704
 
705
- /*! @azure/msal-common v15.13.3 2025-12-04 */
705
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
706
706
 
707
707
  /*
708
708
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -741,7 +741,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
741
741
  },
742
742
  };
743
743
 
744
- /*! @azure/msal-common v15.13.3 2025-12-04 */
744
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
745
745
 
746
746
  /*
747
747
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -932,12 +932,12 @@ class Logger {
932
932
  }
933
933
  }
934
934
 
935
- /*! @azure/msal-common v15.13.3 2025-12-04 */
935
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
936
936
  /* eslint-disable header/header */
937
937
  const name$1 = "@azure/msal-common";
938
- const version$1 = "15.13.3";
938
+ const version$1 = "15.14.0";
939
939
 
940
- /*! @azure/msal-common v15.13.3 2025-12-04 */
940
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
941
941
  /*
942
942
  * Copyright (c) Microsoft Corporation. All rights reserved.
943
943
  * Licensed under the MIT License.
@@ -957,7 +957,7 @@ const AzureCloudInstance = {
957
957
  AzureUsGovernment: "https://login.microsoftonline.us",
958
958
  };
959
959
 
960
- /*! @azure/msal-common v15.13.3 2025-12-04 */
960
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
961
961
  /*
962
962
  * Copyright (c) Microsoft Corporation. All rights reserved.
963
963
  * Licensed under the MIT License.
@@ -1015,7 +1015,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
1015
1015
  urlParseError: urlParseError
1016
1016
  });
1017
1017
 
1018
- /*! @azure/msal-common v15.13.3 2025-12-04 */
1018
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
1019
1019
 
1020
1020
  /*
1021
1021
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1163,7 +1163,7 @@ function createClientConfigurationError(errorCode) {
1163
1163
  return new ClientConfigurationError(errorCode);
1164
1164
  }
1165
1165
 
1166
- /*! @azure/msal-common v15.13.3 2025-12-04 */
1166
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
1167
1167
  /*
1168
1168
  * Copyright (c) Microsoft Corporation. All rights reserved.
1169
1169
  * Licensed under the MIT License.
@@ -1260,7 +1260,7 @@ class StringUtils {
1260
1260
  }
1261
1261
  }
1262
1262
 
1263
- /*! @azure/msal-common v15.13.3 2025-12-04 */
1263
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
1264
1264
 
1265
1265
  /*
1266
1266
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1455,7 +1455,7 @@ class ScopeSet {
1455
1455
  }
1456
1456
  }
1457
1457
 
1458
- /*! @azure/msal-common v15.13.3 2025-12-04 */
1458
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
1459
1459
 
1460
1460
  /*
1461
1461
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1495,7 +1495,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
1495
1495
  };
1496
1496
  }
1497
1497
 
1498
- /*! @azure/msal-common v15.13.3 2025-12-04 */
1498
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
1499
1499
  /*
1500
1500
  * Copyright (c) Microsoft Corporation. All rights reserved.
1501
1501
  * Licensed under the MIT License.
@@ -1577,7 +1577,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
1577
1577
  return updatedAccountInfo;
1578
1578
  }
1579
1579
 
1580
- /*! @azure/msal-common v15.13.3 2025-12-04 */
1580
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
1581
1581
  /*
1582
1582
  * Copyright (c) Microsoft Corporation. All rights reserved.
1583
1583
  * Licensed under the MIT License.
@@ -1592,7 +1592,7 @@ const AuthorityType = {
1592
1592
  Ciam: 3,
1593
1593
  };
1594
1594
 
1595
- /*! @azure/msal-common v15.13.3 2025-12-04 */
1595
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
1596
1596
  /*
1597
1597
  * Copyright (c) Microsoft Corporation. All rights reserved.
1598
1598
  * Licensed under the MIT License.
@@ -1614,7 +1614,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
1614
1614
  return null;
1615
1615
  }
1616
1616
 
1617
- /*! @azure/msal-common v15.13.3 2025-12-04 */
1617
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
1618
1618
  /*
1619
1619
  * Copyright (c) Microsoft Corporation. All rights reserved.
1620
1620
  * Licensed under the MIT License.
@@ -1638,7 +1638,7 @@ const ProtocolMode = {
1638
1638
  EAR: "EAR",
1639
1639
  };
1640
1640
 
1641
- /*! @azure/msal-common v15.13.3 2025-12-04 */
1641
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
1642
1642
 
1643
1643
  /*
1644
1644
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1859,7 +1859,7 @@ class AccountEntity {
1859
1859
  }
1860
1860
  }
1861
1861
 
1862
- /*! @azure/msal-common v15.13.3 2025-12-04 */
1862
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
1863
1863
 
1864
1864
  /*
1865
1865
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1940,7 +1940,7 @@ function checkMaxAge(authTime, maxAge) {
1940
1940
  }
1941
1941
  }
1942
1942
 
1943
- /*! @azure/msal-common v15.13.3 2025-12-04 */
1943
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
1944
1944
 
1945
1945
  /*
1946
1946
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2056,7 +2056,7 @@ function normalizeUrlForComparison(url) {
2056
2056
  }
2057
2057
  }
2058
2058
 
2059
- /*! @azure/msal-common v15.13.3 2025-12-04 */
2059
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
2060
2060
 
2061
2061
  /*
2062
2062
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2220,7 +2220,7 @@ class UrlString {
2220
2220
  }
2221
2221
  }
2222
2222
 
2223
- /*! @azure/msal-common v15.13.3 2025-12-04 */
2223
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
2224
2224
 
2225
2225
  /*
2226
2226
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2359,7 +2359,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
2359
2359
  return null;
2360
2360
  }
2361
2361
 
2362
- /*! @azure/msal-common v15.13.3 2025-12-04 */
2362
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
2363
2363
  /*
2364
2364
  * Copyright (c) Microsoft Corporation. All rights reserved.
2365
2365
  * Licensed under the MIT License.
@@ -2367,7 +2367,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
2367
2367
  const cacheQuotaExceeded = "cache_quota_exceeded";
2368
2368
  const cacheErrorUnknown = "cache_error_unknown";
2369
2369
 
2370
- /*! @azure/msal-common v15.13.3 2025-12-04 */
2370
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
2371
2371
 
2372
2372
  /*
2373
2373
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2412,7 +2412,7 @@ function createCacheError(e) {
2412
2412
  }
2413
2413
  }
2414
2414
 
2415
- /*! @azure/msal-common v15.13.3 2025-12-04 */
2415
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
2416
2416
 
2417
2417
  /*
2418
2418
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2582,15 +2582,16 @@ class CacheManager {
2582
2582
  * @param cacheRecord {CacheRecord}
2583
2583
  * @param correlationId {?string} correlation id
2584
2584
  * @param kmsi - Keep Me Signed In
2585
+ * @param apiId - API identifier for telemetry tracking
2585
2586
  * @param storeInCache {?StoreInCache}
2586
2587
  */
2587
- async saveCacheRecord(cacheRecord, correlationId, kmsi, storeInCache) {
2588
+ async saveCacheRecord(cacheRecord, correlationId, kmsi, apiId, storeInCache) {
2588
2589
  if (!cacheRecord) {
2589
2590
  throw createClientAuthError(invalidCacheRecord);
2590
2591
  }
2591
2592
  try {
2592
2593
  if (!!cacheRecord.account) {
2593
- await this.setAccount(cacheRecord.account, correlationId, kmsi);
2594
+ await this.setAccount(cacheRecord.account, correlationId, kmsi, apiId);
2594
2595
  }
2595
2596
  if (!!cacheRecord.idToken && storeInCache?.idToken !== false) {
2596
2597
  await this.setIdTokenCredential(cacheRecord.idToken, correlationId, kmsi);
@@ -3522,7 +3523,7 @@ class DefaultStorageClass extends CacheManager {
3522
3523
  }
3523
3524
  }
3524
3525
 
3525
- /*! @azure/msal-common v15.13.3 2025-12-04 */
3526
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
3526
3527
  /*
3527
3528
  * Copyright (c) Microsoft Corporation. All rights reserved.
3528
3529
  * Licensed under the MIT License.
@@ -3779,6 +3780,11 @@ const PerformanceEvents = {
3779
3780
  Decrypt: "decrypt",
3780
3781
  GenerateEarKey: "generateEarKey",
3781
3782
  DecryptEarResponse: "decryptEarResponse",
3783
+ LoadExternalTokens: "LoadExternalTokens",
3784
+ LoadAccount: "loadAccount",
3785
+ LoadIdToken: "loadIdToken",
3786
+ LoadAccessToken: "loadAccessToken",
3787
+ LoadRefreshToken: "loadRefreshToken",
3782
3788
  };
3783
3789
  const PerformanceEventAbbreviations = new Map([
3784
3790
  [PerformanceEvents.AcquireTokenByCode, "ATByCode"],
@@ -4044,7 +4050,7 @@ const IntFields = new Set([
4044
4050
  "upgradedCacheCount",
4045
4051
  ]);
4046
4052
 
4047
- /*! @azure/msal-common v15.13.3 2025-12-04 */
4053
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
4048
4054
 
4049
4055
  /*
4050
4056
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4123,7 +4129,7 @@ class StubPerformanceClient {
4123
4129
  }
4124
4130
  }
4125
4131
 
4126
- /*! @azure/msal-common v15.13.3 2025-12-04 */
4132
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
4127
4133
 
4128
4134
  /*
4129
4135
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4223,7 +4229,7 @@ function isOidcProtocolMode(config) {
4223
4229
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
4224
4230
  }
4225
4231
 
4226
- /*! @azure/msal-common v15.13.3 2025-12-04 */
4232
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
4227
4233
  /*
4228
4234
  * Copyright (c) Microsoft Corporation. All rights reserved.
4229
4235
  * Licensed under the MIT License.
@@ -4233,7 +4239,7 @@ const CcsCredentialType = {
4233
4239
  UPN: "UPN",
4234
4240
  };
4235
4241
 
4236
- /*! @azure/msal-common v15.13.3 2025-12-04 */
4242
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
4237
4243
  /*
4238
4244
  * Copyright (c) Microsoft Corporation. All rights reserved.
4239
4245
  * Licensed under the MIT License.
@@ -4283,7 +4289,7 @@ const INSTANCE_AWARE = "instance_aware";
4283
4289
  const EAR_JWK = "ear_jwk";
4284
4290
  const EAR_JWE_CRYPTO = "ear_jwe_crypto";
4285
4291
 
4286
- /*! @azure/msal-common v15.13.3 2025-12-04 */
4292
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
4287
4293
 
4288
4294
  /*
4289
4295
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4663,7 +4669,7 @@ function addPostBodyParameters(parameters, bodyParameters) {
4663
4669
  });
4664
4670
  }
4665
4671
 
4666
- /*! @azure/msal-common v15.13.3 2025-12-04 */
4672
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
4667
4673
  /*
4668
4674
  * Copyright (c) Microsoft Corporation. All rights reserved.
4669
4675
  * Licensed under the MIT License.
@@ -4675,7 +4681,7 @@ function isOpenIdConfigResponse(response) {
4675
4681
  response.hasOwnProperty("jwks_uri"));
4676
4682
  }
4677
4683
 
4678
- /*! @azure/msal-common v15.13.3 2025-12-04 */
4684
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
4679
4685
  /*
4680
4686
  * Copyright (c) Microsoft Corporation. All rights reserved.
4681
4687
  * Licensed under the MIT License.
@@ -4685,7 +4691,7 @@ function isCloudInstanceDiscoveryResponse(response) {
4685
4691
  response.hasOwnProperty("metadata"));
4686
4692
  }
4687
4693
 
4688
- /*! @azure/msal-common v15.13.3 2025-12-04 */
4694
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
4689
4695
  /*
4690
4696
  * Copyright (c) Microsoft Corporation. All rights reserved.
4691
4697
  * Licensed under the MIT License.
@@ -4695,7 +4701,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
4695
4701
  response.hasOwnProperty("error_description"));
4696
4702
  }
4697
4703
 
4698
- /*! @azure/msal-common v15.13.3 2025-12-04 */
4704
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
4699
4705
  /*
4700
4706
  * Copyright (c) Microsoft Corporation. All rights reserved.
4701
4707
  * Licensed under the MIT License.
@@ -4791,7 +4797,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
4791
4797
  };
4792
4798
  };
4793
4799
 
4794
- /*! @azure/msal-common v15.13.3 2025-12-04 */
4800
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
4795
4801
 
4796
4802
  /*
4797
4803
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4897,7 +4903,7 @@ RegionDiscovery.IMDS_OPTIONS = {
4897
4903
  },
4898
4904
  };
4899
4905
 
4900
- /*! @azure/msal-common v15.13.3 2025-12-04 */
4906
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
4901
4907
  /*
4902
4908
  * Copyright (c) Microsoft Corporation. All rights reserved.
4903
4909
  * Licensed under the MIT License.
@@ -4962,7 +4968,7 @@ function wasClockTurnedBack(cachedAt) {
4962
4968
  return cachedAtSec > nowSeconds();
4963
4969
  }
4964
4970
 
4965
- /*! @azure/msal-common v15.13.3 2025-12-04 */
4971
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
4966
4972
 
4967
4973
  /*
4968
4974
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5224,7 +5230,7 @@ function isAuthorityMetadataExpired(metadata) {
5224
5230
  return metadata.expiresAt <= nowSeconds();
5225
5231
  }
5226
5232
 
5227
- /*! @azure/msal-common v15.13.3 2025-12-04 */
5233
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
5228
5234
 
5229
5235
  /*
5230
5236
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6063,7 +6069,7 @@ function buildStaticAuthorityOptions(authOptions) {
6063
6069
  };
6064
6070
  }
6065
6071
 
6066
- /*! @azure/msal-common v15.13.3 2025-12-04 */
6072
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
6067
6073
 
6068
6074
  /*
6069
6075
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6094,7 +6100,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
6094
6100
  }
6095
6101
  }
6096
6102
 
6097
- /*! @azure/msal-common v15.13.3 2025-12-04 */
6103
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
6098
6104
 
6099
6105
  /*
6100
6106
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6113,7 +6119,7 @@ class ServerError extends AuthError {
6113
6119
  }
6114
6120
  }
6115
6121
 
6116
- /*! @azure/msal-common v15.13.3 2025-12-04 */
6122
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
6117
6123
  /*
6118
6124
  * Copyright (c) Microsoft Corporation. All rights reserved.
6119
6125
  * Licensed under the MIT License.
@@ -6134,7 +6140,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
6134
6140
  };
6135
6141
  }
6136
6142
 
6137
- /*! @azure/msal-common v15.13.3 2025-12-04 */
6143
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
6138
6144
 
6139
6145
  /*
6140
6146
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6221,7 +6227,7 @@ class ThrottlingUtils {
6221
6227
  }
6222
6228
  }
6223
6229
 
6224
- /*! @azure/msal-common v15.13.3 2025-12-04 */
6230
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
6225
6231
 
6226
6232
  /*
6227
6233
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6252,7 +6258,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
6252
6258
  return new NetworkError(error, httpStatus, responseHeaders);
6253
6259
  }
6254
6260
 
6255
- /*! @azure/msal-common v15.13.3 2025-12-04 */
6261
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
6256
6262
 
6257
6263
  /*
6258
6264
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6400,7 +6406,7 @@ class BaseClient {
6400
6406
  }
6401
6407
  }
6402
6408
 
6403
- /*! @azure/msal-common v15.13.3 2025-12-04 */
6409
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
6404
6410
  /*
6405
6411
  * Copyright (c) Microsoft Corporation. All rights reserved.
6406
6412
  * Licensed under the MIT License.
@@ -6428,7 +6434,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
6428
6434
  uxNotAllowed: uxNotAllowed
6429
6435
  });
6430
6436
 
6431
- /*! @azure/msal-common v15.13.3 2025-12-04 */
6437
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
6432
6438
 
6433
6439
  /*
6434
6440
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6518,7 +6524,7 @@ function createInteractionRequiredAuthError(errorCode) {
6518
6524
  return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
6519
6525
  }
6520
6526
 
6521
- /*! @azure/msal-common v15.13.3 2025-12-04 */
6527
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
6522
6528
 
6523
6529
  /*
6524
6530
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6590,7 +6596,7 @@ class ProtocolUtils {
6590
6596
  }
6591
6597
  }
6592
6598
 
6593
- /*! @azure/msal-common v15.13.3 2025-12-04 */
6599
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
6594
6600
 
6595
6601
  /*
6596
6602
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6672,7 +6678,7 @@ class PopTokenGenerator {
6672
6678
  }
6673
6679
  }
6674
6680
 
6675
- /*! @azure/msal-common v15.13.3 2025-12-04 */
6681
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
6676
6682
  /*
6677
6683
  * Copyright (c) Microsoft Corporation. All rights reserved.
6678
6684
  * Licensed under the MIT License.
@@ -6699,7 +6705,7 @@ class PopTokenGenerator {
6699
6705
  }
6700
6706
  }
6701
6707
 
6702
- /*! @azure/msal-common v15.13.3 2025-12-04 */
6708
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
6703
6709
 
6704
6710
  /*
6705
6711
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6763,7 +6769,7 @@ class ResponseHandler {
6763
6769
  * @param serverTokenResponse
6764
6770
  * @param authority
6765
6771
  */
6766
- async handleServerTokenResponse(serverTokenResponse, authority, reqTimestamp, request, authCodePayload, userAssertionHash, handlingRefreshTokenResponse, forceCacheRefreshTokenResponse, serverRequestId) {
6772
+ async handleServerTokenResponse(serverTokenResponse, authority, reqTimestamp, request, apiId, authCodePayload, userAssertionHash, handlingRefreshTokenResponse, forceCacheRefreshTokenResponse, serverRequestId) {
6767
6773
  this.performanceClient?.addQueueMeasurement(PerformanceEvents.HandleServerTokenResponse, serverTokenResponse.correlation_id);
6768
6774
  // create an idToken object (not entity)
6769
6775
  let idTokenClaims;
@@ -6818,7 +6824,7 @@ class ResponseHandler {
6818
6824
  return await ResponseHandler.generateAuthenticationResult(this.cryptoObj, authority, cacheRecord, false, request, idTokenClaims, requestStateObj, undefined, serverRequestId);
6819
6825
  }
6820
6826
  }
6821
- await this.cacheStorage.saveCacheRecord(cacheRecord, request.correlationId, isKmsi(idTokenClaims || {}), request.storeInCache);
6827
+ await this.cacheStorage.saveCacheRecord(cacheRecord, request.correlationId, isKmsi(idTokenClaims || {}), apiId, request.storeInCache);
6822
6828
  }
6823
6829
  finally {
6824
6830
  if (this.persistencePlugin &&
@@ -6888,6 +6894,9 @@ class ResponseHandler {
6888
6894
  ? parseInt(serverTokenResponse.refresh_token_expires_in, 10)
6889
6895
  : serverTokenResponse.refresh_token_expires_in;
6890
6896
  rtExpiresOn = reqTimestamp + rtExpiresIn;
6897
+ this.performanceClient?.addFields({
6898
+ ntwkRtExpiresOnSeconds: rtExpiresOn,
6899
+ }, request.correlationId);
6891
6900
  }
6892
6901
  cachedRefreshToken = createRefreshTokenEntity(this.homeAccountIdentifier, env, serverTokenResponse.refresh_token, this.clientId, serverTokenResponse.foci, userAssertionHash, rtExpiresOn);
6893
6902
  }
@@ -7030,7 +7039,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
7030
7039
  return baseAccount;
7031
7040
  }
7032
7041
 
7033
- /*! @azure/msal-common v15.13.3 2025-12-04 */
7042
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
7034
7043
  /*
7035
7044
  * Copyright (c) Microsoft Corporation. All rights reserved.
7036
7045
  * Licensed under the MIT License.
@@ -7048,7 +7057,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
7048
7057
  }
7049
7058
  }
7050
7059
 
7051
- /*! @azure/msal-common v15.13.3 2025-12-04 */
7060
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
7052
7061
 
7053
7062
  /*
7054
7063
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7070,8 +7079,9 @@ class AuthorizationCodeClient extends BaseClient {
7070
7079
  * API to acquire a token in exchange of 'authorization_code` acquired by the user in the first leg of the
7071
7080
  * authorization_code_grant
7072
7081
  * @param request
7082
+ * @param apiId - API identifier for telemetry tracking
7073
7083
  */
7074
- async acquireToken(request, authCodePayload) {
7084
+ async acquireToken(request, apiId, authCodePayload) {
7075
7085
  this.performanceClient?.addQueueMeasurement(PerformanceEvents.AuthClientAcquireToken, request.correlationId);
7076
7086
  if (!request.code) {
7077
7087
  throw createClientAuthError(requestCannotBeMade);
@@ -7083,7 +7093,7 @@ class AuthorizationCodeClient extends BaseClient {
7083
7093
  const responseHandler = new ResponseHandler(this.config.authOptions.clientId, this.cacheManager, this.cryptoUtils, this.logger, this.config.serializableCache, this.config.persistencePlugin, this.performanceClient);
7084
7094
  // Validate response. This function throws a server error if an error is returned by the server.
7085
7095
  responseHandler.validateTokenResponse(response.body);
7086
- return invokeAsync(responseHandler.handleServerTokenResponse.bind(responseHandler), PerformanceEvents.HandleServerTokenResponse, this.logger, this.performanceClient, request.correlationId)(response.body, this.authority, reqTimestamp, request, authCodePayload, undefined, undefined, undefined, requestId);
7096
+ return invokeAsync(responseHandler.handleServerTokenResponse.bind(responseHandler), PerformanceEvents.HandleServerTokenResponse, this.logger, this.performanceClient, request.correlationId)(response.body, this.authority, reqTimestamp, request, apiId, authCodePayload, undefined, undefined, undefined, requestId);
7087
7097
  }
7088
7098
  /**
7089
7099
  * Used to log out the current user, and redirect the user to the postLogoutRedirectUri.
@@ -7283,7 +7293,7 @@ class AuthorizationCodeClient extends BaseClient {
7283
7293
  }
7284
7294
  }
7285
7295
 
7286
- /*! @azure/msal-common v15.13.3 2025-12-04 */
7296
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
7287
7297
 
7288
7298
  /*
7289
7299
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7298,7 +7308,7 @@ class RefreshTokenClient extends BaseClient {
7298
7308
  constructor(configuration, performanceClient) {
7299
7309
  super(configuration, performanceClient);
7300
7310
  }
7301
- async acquireToken(request) {
7311
+ async acquireToken(request, apiId) {
7302
7312
  this.performanceClient?.addQueueMeasurement(PerformanceEvents.RefreshTokenClientAcquireToken, request.correlationId);
7303
7313
  const reqTimestamp = nowSeconds();
7304
7314
  const response = await invokeAsync(this.executeTokenRequest.bind(this), PerformanceEvents.RefreshTokenClientExecuteTokenRequest, this.logger, this.performanceClient, request.correlationId)(request, this.authority);
@@ -7306,13 +7316,13 @@ class RefreshTokenClient extends BaseClient {
7306
7316
  const requestId = response.headers?.[HeaderNames.X_MS_REQUEST_ID];
7307
7317
  const responseHandler = new ResponseHandler(this.config.authOptions.clientId, this.cacheManager, this.cryptoUtils, this.logger, this.config.serializableCache, this.config.persistencePlugin);
7308
7318
  responseHandler.validateTokenResponse(response.body);
7309
- return invokeAsync(responseHandler.handleServerTokenResponse.bind(responseHandler), PerformanceEvents.HandleServerTokenResponse, this.logger, this.performanceClient, request.correlationId)(response.body, this.authority, reqTimestamp, request, undefined, undefined, true, request.forceCache, requestId);
7319
+ return invokeAsync(responseHandler.handleServerTokenResponse.bind(responseHandler), PerformanceEvents.HandleServerTokenResponse, this.logger, this.performanceClient, request.correlationId)(response.body, this.authority, reqTimestamp, request, apiId, undefined, undefined, true, request.forceCache, requestId);
7310
7320
  }
7311
7321
  /**
7312
7322
  * Gets cached refresh token and attaches to request, then calls acquireToken API
7313
7323
  * @param request
7314
7324
  */
7315
- async acquireTokenByRefreshToken(request) {
7325
+ async acquireTokenByRefreshToken(request, apiId) {
7316
7326
  // Cannot renew token if no request object is given.
7317
7327
  if (!request) {
7318
7328
  throw createClientConfigurationError(tokenRequestEmpty);
@@ -7327,7 +7337,7 @@ class RefreshTokenClient extends BaseClient {
7327
7337
  // if the app is part of the family, retrive a Family refresh token if present and make a refreshTokenRequest
7328
7338
  if (isFOCI) {
7329
7339
  try {
7330
- return await invokeAsync(this.acquireTokenWithCachedRefreshToken.bind(this), PerformanceEvents.RefreshTokenClientAcquireTokenWithCachedRefreshToken, this.logger, this.performanceClient, request.correlationId)(request, true);
7340
+ return await invokeAsync(this.acquireTokenWithCachedRefreshToken.bind(this), PerformanceEvents.RefreshTokenClientAcquireTokenWithCachedRefreshToken, this.logger, this.performanceClient, request.correlationId)(request, true, apiId);
7331
7341
  }
7332
7342
  catch (e) {
7333
7343
  const noFamilyRTInCache = e instanceof InteractionRequiredAuthError &&
@@ -7338,7 +7348,7 @@ class RefreshTokenClient extends BaseClient {
7338
7348
  e.subError === Errors.CLIENT_MISMATCH_ERROR;
7339
7349
  // if family Refresh Token (FRT) cache acquisition fails or if client_mismatch error is seen with FRT, reattempt with application Refresh Token (ART)
7340
7350
  if (noFamilyRTInCache || clientMismatchErrorWithFamilyRT) {
7341
- return invokeAsync(this.acquireTokenWithCachedRefreshToken.bind(this), PerformanceEvents.RefreshTokenClientAcquireTokenWithCachedRefreshToken, this.logger, this.performanceClient, request.correlationId)(request, false);
7351
+ return invokeAsync(this.acquireTokenWithCachedRefreshToken.bind(this), PerformanceEvents.RefreshTokenClientAcquireTokenWithCachedRefreshToken, this.logger, this.performanceClient, request.correlationId)(request, false, apiId);
7342
7352
  // throw in all other cases
7343
7353
  }
7344
7354
  else {
@@ -7347,26 +7357,30 @@ class RefreshTokenClient extends BaseClient {
7347
7357
  }
7348
7358
  }
7349
7359
  // fall back to application refresh token acquisition
7350
- return invokeAsync(this.acquireTokenWithCachedRefreshToken.bind(this), PerformanceEvents.RefreshTokenClientAcquireTokenWithCachedRefreshToken, this.logger, this.performanceClient, request.correlationId)(request, false);
7360
+ return invokeAsync(this.acquireTokenWithCachedRefreshToken.bind(this), PerformanceEvents.RefreshTokenClientAcquireTokenWithCachedRefreshToken, this.logger, this.performanceClient, request.correlationId)(request, false, apiId);
7351
7361
  }
7352
7362
  /**
7353
7363
  * makes a network call to acquire tokens by exchanging RefreshToken available in userCache; throws if refresh token is not cached
7354
7364
  * @param request
7355
7365
  */
7356
- async acquireTokenWithCachedRefreshToken(request, foci) {
7366
+ async acquireTokenWithCachedRefreshToken(request, foci, apiId) {
7357
7367
  this.performanceClient?.addQueueMeasurement(PerformanceEvents.RefreshTokenClientAcquireTokenWithCachedRefreshToken, request.correlationId);
7358
7368
  // fetches family RT or application RT based on FOCI value
7359
7369
  const refreshToken = invoke(this.cacheManager.getRefreshToken.bind(this.cacheManager), PerformanceEvents.CacheManagerGetRefreshToken, this.logger, this.performanceClient, request.correlationId)(request.account, foci, request.correlationId, undefined, this.performanceClient);
7360
7370
  if (!refreshToken) {
7361
7371
  throw createInteractionRequiredAuthError(noTokensFound);
7362
7372
  }
7363
- if (refreshToken.expiresOn &&
7364
- isTokenExpired(refreshToken.expiresOn, request.refreshTokenExpirationOffsetSeconds ||
7365
- DEFAULT_REFRESH_TOKEN_EXPIRATION_OFFSET_SECONDS)) {
7366
- this.performanceClient?.addFields({ rtExpiresOnMs: Number(refreshToken.expiresOn) }, request.correlationId);
7367
- throw createInteractionRequiredAuthError(refreshTokenExpired);
7373
+ if (refreshToken.expiresOn) {
7374
+ const offset = request.refreshTokenExpirationOffsetSeconds ||
7375
+ DEFAULT_REFRESH_TOKEN_EXPIRATION_OFFSET_SECONDS;
7376
+ this.performanceClient?.addFields({
7377
+ cacheRtExpiresOnSeconds: Number(refreshToken.expiresOn),
7378
+ rtOffsetSeconds: offset,
7379
+ }, request.correlationId);
7380
+ if (isTokenExpired(refreshToken.expiresOn, offset)) {
7381
+ throw createInteractionRequiredAuthError(refreshTokenExpired);
7382
+ }
7368
7383
  }
7369
- // attach cached RT size to the current measurement
7370
7384
  const refreshTokenRequest = {
7371
7385
  ...request,
7372
7386
  refreshToken: refreshToken.secret,
@@ -7377,11 +7391,10 @@ class RefreshTokenClient extends BaseClient {
7377
7391
  },
7378
7392
  };
7379
7393
  try {
7380
- return await invokeAsync(this.acquireToken.bind(this), PerformanceEvents.RefreshTokenClientAcquireToken, this.logger, this.performanceClient, request.correlationId)(refreshTokenRequest);
7394
+ return await invokeAsync(this.acquireToken.bind(this), PerformanceEvents.RefreshTokenClientAcquireToken, this.logger, this.performanceClient, request.correlationId)(refreshTokenRequest, apiId);
7381
7395
  }
7382
7396
  catch (e) {
7383
7397
  if (e instanceof InteractionRequiredAuthError) {
7384
- this.performanceClient?.addFields({ rtExpiresOnMs: Number(refreshToken.expiresOn) }, request.correlationId);
7385
7398
  if (e.subError === badToken) {
7386
7399
  // Remove bad refresh token from cache
7387
7400
  this.logger.verbose("acquireTokenWithRefreshToken: bad refresh token, removing from cache");
@@ -7492,7 +7505,7 @@ class RefreshTokenClient extends BaseClient {
7492
7505
  }
7493
7506
  }
7494
7507
 
7495
- /*! @azure/msal-common v15.13.3 2025-12-04 */
7508
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
7496
7509
 
7497
7510
  /*
7498
7511
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7590,7 +7603,7 @@ class SilentFlowClient extends BaseClient {
7590
7603
  }
7591
7604
  }
7592
7605
 
7593
- /*! @azure/msal-common v15.13.3 2025-12-04 */
7606
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
7594
7607
 
7595
7608
  /*
7596
7609
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7605,7 +7618,7 @@ const StubbedNetworkModule = {
7605
7618
  },
7606
7619
  };
7607
7620
 
7608
- /*! @azure/msal-common v15.13.3 2025-12-04 */
7621
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
7609
7622
 
7610
7623
  /*
7611
7624
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7829,7 +7842,7 @@ function extractLoginHint(account) {
7829
7842
  return account.loginHint || account.idTokenClaims?.login_hint || null;
7830
7843
  }
7831
7844
 
7832
- /*! @azure/msal-common v15.13.3 2025-12-04 */
7845
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
7833
7846
 
7834
7847
  /*
7835
7848
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7887,7 +7900,7 @@ class AuthenticationHeaderParser {
7887
7900
  }
7888
7901
  }
7889
7902
 
7890
- /*! @azure/msal-common v15.13.3 2025-12-04 */
7903
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
7891
7904
 
7892
7905
  /*
7893
7906
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8150,7 +8163,7 @@ class ServerTelemetryManager {
8150
8163
  }
8151
8164
  }
8152
8165
 
8153
- /*! @azure/msal-common v15.13.3 2025-12-04 */
8166
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
8154
8167
  /*
8155
8168
  * Copyright (c) Microsoft Corporation. All rights reserved.
8156
8169
  * Licensed under the MIT License.
@@ -8158,7 +8171,7 @@ class ServerTelemetryManager {
8158
8171
  const missingKidError = "missing_kid_error";
8159
8172
  const missingAlgError = "missing_alg_error";
8160
8173
 
8161
- /*! @azure/msal-common v15.13.3 2025-12-04 */
8174
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
8162
8175
 
8163
8176
  /*
8164
8177
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8183,7 +8196,7 @@ function createJoseHeaderError(code) {
8183
8196
  return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
8184
8197
  }
8185
8198
 
8186
- /*! @azure/msal-common v15.13.3 2025-12-04 */
8199
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
8187
8200
 
8188
8201
  /*
8189
8202
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8223,7 +8236,7 @@ class JoseHeader {
8223
8236
  }
8224
8237
  }
8225
8238
 
8226
- /*! @azure/msal-common v15.13.3 2025-12-04 */
8239
+ /*! @azure/msal-common v15.14.0 2026-01-13 */
8227
8240
 
8228
8241
  /*
8229
8242
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -9311,9 +9324,9 @@ const InMemoryCacheKeys = {
9311
9324
  };
9312
9325
  /**
9313
9326
  * API Codes for Telemetry purposes.
9314
- * Before adding a new code you must claim it in the MSAL Telemetry tracker as these number spaces are shared across all MSALs
9315
9327
  * 0-99 Silent Flow
9316
9328
  * 800-899 Auth Code Flow
9329
+ * 900-999 Miscellaneous
9317
9330
  */
9318
9331
  const ApiId = {
9319
9332
  acquireTokenRedirect: 861,
@@ -9325,6 +9338,30 @@ const ApiId = {
9325
9338
  acquireTokenSilent_silentFlow: 61,
9326
9339
  logout: 961,
9327
9340
  logoutPopup: 962,
9341
+ hydrateCache: 963,
9342
+ loadExternalTokens: 964,
9343
+ };
9344
+ /**
9345
+ * API Names for Telemetry purposes.
9346
+ */
9347
+ const ApiName = {
9348
+ 861: "acquireTokenRedirect",
9349
+ 862: "acquireTokenPopup",
9350
+ 863: "ssoSilent",
9351
+ 864: "acquireTokenSilent_authCode",
9352
+ 865: "handleRedirectPromise",
9353
+ 866: "acquireTokenByCode",
9354
+ 61: "acquireTokenSilent_silentFlow",
9355
+ 961: "logout",
9356
+ 962: "logoutPopup",
9357
+ 963: "hydrateCache",
9358
+ 964: "loadExternalTokens",
9359
+ };
9360
+ const apiIdToName = (id) => {
9361
+ if (typeof id === "number" && id in ApiName) {
9362
+ return ApiName[id];
9363
+ }
9364
+ return "unknown";
9328
9365
  };
9329
9366
  /*
9330
9367
  * Interaction type of the API - used for state and telemetry
@@ -10340,7 +10377,7 @@ function buildConfiguration({ auth: userInputAuth, cache: userInputCache, system
10340
10377
 
10341
10378
  /* eslint-disable header/header */
10342
10379
  const name = "@azure/msal-browser";
10343
- const version = "4.27.0";
10380
+ const version = "4.28.0";
10344
10381
 
10345
10382
  /*
10346
10383
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -12360,17 +12397,21 @@ class BrowserCacheManager extends CacheManager {
12360
12397
  if (!parsedAccount || !AccountEntity.isAccountEntity(parsedAccount)) {
12361
12398
  return null;
12362
12399
  }
12400
+ this.performanceClient.addFields({
12401
+ accountCachedBy: apiIdToName(parsedAccount.cachedByApiId),
12402
+ }, correlationId);
12363
12403
  return CacheManager.toObject(new AccountEntity(), parsedAccount);
12364
12404
  }
12365
12405
  /**
12366
12406
  * set account entity in the platform cache
12367
12407
  * @param account
12368
12408
  */
12369
- async setAccount(account, correlationId, kmsi) {
12409
+ async setAccount(account, correlationId, kmsi, apiId) {
12370
12410
  this.logger.trace("BrowserCacheManager.setAccount called");
12371
12411
  const key = this.generateAccountKey(AccountEntity.getAccountInfo(account));
12372
12412
  const timestamp = Date.now().toString();
12373
12413
  account.lastUpdatedAt = timestamp;
12414
+ account.cachedByApiId = apiId;
12374
12415
  await this.setUserData(key, JSON.stringify(account), correlationId, timestamp, kmsi);
12375
12416
  const wasAdded = this.addAccountKeyToMap(key, correlationId);
12376
12417
  this.performanceClient.addFields({ kmsi: kmsi }, correlationId);
@@ -13150,7 +13191,7 @@ class BrowserCacheManager extends CacheManager {
13150
13191
  idToken: idTokenEntity,
13151
13192
  accessToken: accessTokenEntity,
13152
13193
  };
13153
- return this.saveCacheRecord(cacheRecord, result.correlationId, isKmsi(extractTokenClaims(result.idToken, base64Decode)));
13194
+ return this.saveCacheRecord(cacheRecord, result.correlationId, isKmsi(extractTokenClaims(result.idToken, base64Decode)), ApiId.hydrateCache);
13154
13195
  }
13155
13196
  /**
13156
13197
  * saves a cache record
@@ -13158,9 +13199,9 @@ class BrowserCacheManager extends CacheManager {
13158
13199
  * @param storeInCache {?StoreInCache}
13159
13200
  * @param correlationId {?string} correlation id
13160
13201
  */
13161
- async saveCacheRecord(cacheRecord, correlationId, kmsi, storeInCache) {
13202
+ async saveCacheRecord(cacheRecord, correlationId, kmsi, apiId, storeInCache) {
13162
13203
  try {
13163
- await super.saveCacheRecord(cacheRecord, correlationId, kmsi, storeInCache);
13204
+ await super.saveCacheRecord(cacheRecord, correlationId, kmsi, apiId, storeInCache);
13164
13205
  }
13165
13206
  catch (e) {
13166
13207
  if (e instanceof CacheError &&
@@ -13919,7 +13960,7 @@ class InteractionHandler {
13919
13960
  * Function to handle response parameters from hash.
13920
13961
  * @param locationHash
13921
13962
  */
13922
- async handleCodeResponse(response, request) {
13963
+ async handleCodeResponse(response, request, apiId) {
13923
13964
  this.performanceClient.addQueueMeasurement(PerformanceEvents.HandleCodeResponse, request.correlationId);
13924
13965
  let authCodeResponse;
13925
13966
  try {
@@ -13935,7 +13976,7 @@ class InteractionHandler {
13935
13976
  throw e;
13936
13977
  }
13937
13978
  }
13938
- return invokeAsync(this.handleCodeResponseFromServer.bind(this), PerformanceEvents.HandleCodeResponseFromServer, this.logger, this.performanceClient, request.correlationId)(authCodeResponse, request);
13979
+ return invokeAsync(this.handleCodeResponseFromServer.bind(this), PerformanceEvents.HandleCodeResponseFromServer, this.logger, this.performanceClient, request.correlationId)(authCodeResponse, request, apiId);
13939
13980
  }
13940
13981
  /**
13941
13982
  * Process auth code response from AAD
@@ -13945,7 +13986,7 @@ class InteractionHandler {
13945
13986
  * @param networkModule
13946
13987
  * @returns
13947
13988
  */
13948
- async handleCodeResponseFromServer(authCodeResponse, request, validateNonce = true) {
13989
+ async handleCodeResponseFromServer(authCodeResponse, request, apiId, validateNonce = true) {
13949
13990
  this.performanceClient.addQueueMeasurement(PerformanceEvents.HandleCodeResponseFromServer, request.correlationId);
13950
13991
  this.logger.trace("InteractionHandler.handleCodeResponseFromServer called");
13951
13992
  // Assign code to request
@@ -13971,7 +14012,7 @@ class InteractionHandler {
13971
14012
  }
13972
14013
  }
13973
14014
  // Acquire token with retrieved code.
13974
- const tokenResponse = (await invokeAsync(this.authModule.acquireToken.bind(this.authModule), PerformanceEvents.AuthClientAcquireToken, this.logger, this.performanceClient, request.correlationId)(this.authCodeRequest, authCodeResponse));
14015
+ const tokenResponse = (await invokeAsync(this.authModule.acquireToken.bind(this.authModule), PerformanceEvents.AuthClientAcquireToken, this.logger, this.performanceClient, request.correlationId)(this.authCodeRequest, apiId, authCodeResponse));
13975
14016
  return tokenResponse;
13976
14017
  }
13977
14018
  /**
@@ -14519,7 +14560,7 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
14519
14560
  */
14520
14561
  async cacheAccount(accountEntity, correlationId, kmsi) {
14521
14562
  // Store the account info and hence `nativeAccountId` in browser cache
14522
- await this.browserStorage.setAccount(accountEntity, this.correlationId, kmsi);
14563
+ await this.browserStorage.setAccount(accountEntity, this.correlationId, kmsi, this.apiId);
14523
14564
  // Remove any existing cached tokens for this account in browser storage
14524
14565
  this.browserStorage.removeAccountContext(AccountEntity.getAccountInfo(accountEntity), correlationId);
14525
14566
  }
@@ -14548,7 +14589,7 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
14548
14589
  idToken: cachedIdToken,
14549
14590
  accessToken: cachedAccessToken,
14550
14591
  };
14551
- return this.nativeStorageManager.saveCacheRecord(nativeCacheRecord, this.correlationId, isKmsi(idTokenClaims), request.storeInCache);
14592
+ return this.nativeStorageManager.saveCacheRecord(nativeCacheRecord, this.correlationId, isKmsi(idTokenClaims), this.apiId, request.storeInCache);
14552
14593
  }
14553
14594
  getExpiresInValue(tokenType, expiresIn) {
14554
14595
  return tokenType === AuthenticationScheme.POP
@@ -14923,7 +14964,7 @@ async function handleResponseCode(request, response, codeVerifier, apiId, config
14923
14964
  // Create popup interaction handler.
14924
14965
  const interactionHandler = new InteractionHandler(authClient, browserStorage, authCodeRequest, logger, performanceClient);
14925
14966
  // Handle response from hash string.
14926
- const result = await invokeAsync(interactionHandler.handleCodeResponse.bind(interactionHandler), PerformanceEvents.HandleCodeResponse, logger, performanceClient, request.correlationId)(response, request);
14967
+ const result = await invokeAsync(interactionHandler.handleCodeResponse.bind(interactionHandler), PerformanceEvents.HandleCodeResponse, logger, performanceClient, request.correlationId)(response, request, apiId);
14927
14968
  return result;
14928
14969
  }
14929
14970
  /**
@@ -14970,7 +15011,7 @@ async function handleResponseEAR(request, response, apiId, config, authority, br
14970
15011
  cloud_instance_name: decryptedData.cloud_instance_name,
14971
15012
  msgraph_host: decryptedData.msgraph_host,
14972
15013
  };
14973
- return (await invokeAsync(responseHandler.handleServerTokenResponse.bind(responseHandler), PerformanceEvents.HandleServerTokenResponse, logger, performanceClient, request.correlationId)(decryptedData, authority, nowSeconds(), request, additionalData, undefined, undefined, undefined, undefined));
15014
+ return (await invokeAsync(responseHandler.handleServerTokenResponse.bind(responseHandler), PerformanceEvents.HandleServerTokenResponse, logger, performanceClient, request.correlationId)(decryptedData, authority, nowSeconds(), request, apiId, additionalData, undefined, undefined, undefined, undefined));
14974
15015
  }
14975
15016
 
14976
15017
  /*
@@ -16784,7 +16825,7 @@ class SilentRefreshClient extends StandardInteractionClient {
16784
16825
  account: silentRequest.account,
16785
16826
  });
16786
16827
  // Send request to renew token. Auth module will throw errors if token cannot be renewed.
16787
- return invokeAsync(refreshTokenClient.acquireTokenByRefreshToken.bind(refreshTokenClient), PerformanceEvents.RefreshTokenClientAcquireTokenByRefreshToken, this.logger, this.performanceClient, request.correlationId)(silentRequest).catch((e) => {
16828
+ return invokeAsync(refreshTokenClient.acquireTokenByRefreshToken.bind(refreshTokenClient), PerformanceEvents.RefreshTokenClientAcquireTokenByRefreshToken, this.logger, this.performanceClient, request.correlationId)(silentRequest, ApiId.acquireTokenSilent_silentFlow).catch((e) => {
16788
16829
  e.setCorrelationId(this.correlationId);
16789
16830
  serverTelemetryManager.cacheFailedRequest(e);
16790
16831
  throw e;
@@ -16828,12 +16869,13 @@ class SilentRefreshClient extends StandardInteractionClient {
16828
16869
  * Token cache manager
16829
16870
  */
16830
16871
  class TokenCache {
16831
- constructor(configuration, storage, logger, cryptoObj) {
16872
+ constructor(configuration, storage, logger, cryptoObj, performanceClient) {
16832
16873
  this.isBrowserEnvironment = typeof window !== "undefined";
16833
16874
  this.config = configuration;
16834
16875
  this.storage = storage;
16835
16876
  this.logger = logger;
16836
16877
  this.cryptoObj = cryptoObj;
16878
+ this.performanceClient = performanceClient;
16837
16879
  }
16838
16880
  // Move getAllAccounts here and cache utility APIs
16839
16881
  /**
@@ -16848,30 +16890,38 @@ class TokenCache {
16848
16890
  throw createBrowserAuthError(nonBrowserEnvironment);
16849
16891
  }
16850
16892
  const correlationId = request.correlationId || createNewGuid();
16851
- const idTokenClaims = response.id_token
16852
- ? extractTokenClaims(response.id_token, base64Decode)
16853
- : undefined;
16854
- const kmsi = isKmsi(idTokenClaims || {});
16855
- const authorityOptions = {
16856
- protocolMode: this.config.auth.protocolMode,
16857
- knownAuthorities: this.config.auth.knownAuthorities,
16858
- cloudDiscoveryMetadata: this.config.auth.cloudDiscoveryMetadata,
16859
- authorityMetadata: this.config.auth.authorityMetadata,
16860
- skipAuthorityMetadataCache: this.config.auth.skipAuthorityMetadataCache,
16861
- };
16862
- const authority = request.authority
16863
- ? new Authority(Authority.generateAuthority(request.authority, request.azureCloudOptions), this.config.system.networkClient, this.storage, authorityOptions, this.logger, request.correlationId || createNewGuid())
16864
- : undefined;
16865
- const cacheRecordAccount = await this.loadAccount(request, options.clientInfo || response.client_info || "", correlationId, idTokenClaims, authority);
16866
- const idToken = await this.loadIdToken(response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, cacheRecordAccount.realm, correlationId, kmsi);
16867
- const accessToken = await this.loadAccessToken(request, response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, cacheRecordAccount.realm, options, correlationId, kmsi);
16868
- const refreshToken = await this.loadRefreshToken(response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, correlationId, kmsi);
16869
- return this.generateAuthenticationResult(request, {
16870
- account: cacheRecordAccount,
16871
- idToken,
16872
- accessToken,
16873
- refreshToken,
16874
- }, idTokenClaims, authority);
16893
+ const rootMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.LoadExternalTokens, correlationId);
16894
+ try {
16895
+ const idTokenClaims = response.id_token
16896
+ ? extractTokenClaims(response.id_token, base64Decode)
16897
+ : undefined;
16898
+ const kmsi = isKmsi(idTokenClaims || {});
16899
+ const authorityOptions = {
16900
+ protocolMode: this.config.auth.protocolMode,
16901
+ knownAuthorities: this.config.auth.knownAuthorities,
16902
+ cloudDiscoveryMetadata: this.config.auth.cloudDiscoveryMetadata,
16903
+ authorityMetadata: this.config.auth.authorityMetadata,
16904
+ skipAuthorityMetadataCache: this.config.auth.skipAuthorityMetadataCache,
16905
+ };
16906
+ const authority = request.authority
16907
+ ? new Authority(Authority.generateAuthority(request.authority, request.azureCloudOptions), this.config.system.networkClient, this.storage, authorityOptions, this.logger, request.correlationId || createNewGuid())
16908
+ : undefined;
16909
+ const cacheRecordAccount = await invokeAsync(this.loadAccount.bind(this), PerformanceEvents.LoadAccount, this.logger, this.performanceClient, correlationId)(request, options.clientInfo || response.client_info || "", correlationId, idTokenClaims, authority);
16910
+ const idToken = await invokeAsync(this.loadIdToken.bind(this), PerformanceEvents.LoadIdToken, this.logger, this.performanceClient, correlationId)(response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, cacheRecordAccount.realm, correlationId, kmsi);
16911
+ const accessToken = await invokeAsync(this.loadAccessToken.bind(this), PerformanceEvents.LoadAccessToken, this.logger, this.performanceClient, correlationId)(request, response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, cacheRecordAccount.realm, options, correlationId, kmsi);
16912
+ const refreshToken = await invokeAsync(this.loadRefreshToken.bind(this), PerformanceEvents.LoadRefreshToken, this.logger, this.performanceClient, correlationId)(response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, correlationId, kmsi);
16913
+ rootMeasurement.end({ success: true }, undefined, AccountEntity.getAccountInfo(cacheRecordAccount));
16914
+ return this.generateAuthenticationResult(request, {
16915
+ account: cacheRecordAccount,
16916
+ idToken,
16917
+ accessToken,
16918
+ refreshToken,
16919
+ }, idTokenClaims, authority);
16920
+ }
16921
+ catch (error) {
16922
+ rootMeasurement.end({ success: false }, error);
16923
+ throw error;
16924
+ }
16875
16925
  }
16876
16926
  /**
16877
16927
  * Helper function to load account to msal-browser cache
@@ -16886,7 +16936,7 @@ class TokenCache {
16886
16936
  this.logger.verbose("TokenCache - loading account");
16887
16937
  if (request.account) {
16888
16938
  const accountEntity = AccountEntity.createFromAccountInfo(request.account);
16889
- await this.storage.setAccount(accountEntity, correlationId, isKmsi(idTokenClaims || {}));
16939
+ await this.storage.setAccount(accountEntity, correlationId, isKmsi(idTokenClaims || {}), ApiId.loadExternalTokens);
16890
16940
  return accountEntity;
16891
16941
  }
16892
16942
  else if (!authority || (!clientInfo && !idTokenClaims)) {
@@ -16898,7 +16948,7 @@ class TokenCache {
16898
16948
  const cachedAccount = buildAccountToCache(this.storage, authority, homeAccountId, base64Decode, correlationId, idTokenClaims, clientInfo, authority.hostnameAndPort, claimsTenantId, undefined, // authCodePayload
16899
16949
  undefined, // nativeAccountId
16900
16950
  this.logger);
16901
- await this.storage.setAccount(cachedAccount, correlationId, isKmsi(idTokenClaims || {}));
16951
+ await this.storage.setAccount(cachedAccount, correlationId, isKmsi(idTokenClaims || {}), ApiId.loadExternalTokens);
16902
16952
  return cachedAccount;
16903
16953
  }
16904
16954
  /**
@@ -17074,7 +17124,7 @@ class SilentAuthCodeClient extends StandardInteractionClient {
17074
17124
  msgraph_host: request.msGraphHost,
17075
17125
  cloud_graph_host_name: request.cloudGraphHostName,
17076
17126
  cloud_instance_host_name: request.cloudInstanceHostName,
17077
- }, silentRequest, false);
17127
+ }, silentRequest, this.apiId, false);
17078
17128
  }
17079
17129
  catch (e) {
17080
17130
  if (e instanceof AuthError) {
@@ -17187,7 +17237,7 @@ class StandardController {
17187
17237
  };
17188
17238
  this.nativeInternalStorage = new BrowserCacheManager(this.config.auth.clientId, nativeCacheOptions, this.browserCrypto, this.logger, this.performanceClient, this.eventHandler);
17189
17239
  // Initialize the token cache
17190
- this.tokenCache = new TokenCache(this.config, this.browserStorage, this.logger, this.browserCrypto);
17240
+ this.tokenCache = new TokenCache(this.config, this.browserStorage, this.logger, this.browserCrypto, this.performanceClient);
17191
17241
  this.activeSilentTokenRequests = new Map();
17192
17242
  // Register listener functions
17193
17243
  this.trackPageVisibility = this.trackPageVisibility.bind(this);
@@ -18017,7 +18067,7 @@ class StandardController {
18017
18067
  this.logger.verbose("hydrateCache called");
18018
18068
  // Account gets saved to browser storage regardless of native or not
18019
18069
  const accountEntity = AccountEntity.createFromAccountInfo(result.account, result.cloudGraphHostName, result.msGraphHost);
18020
- await this.browserStorage.setAccount(accountEntity, result.correlationId, isKmsi(result.idTokenClaims));
18070
+ await this.browserStorage.setAccount(accountEntity, result.correlationId, isKmsi(result.idTokenClaims), ApiId.hydrateCache);
18021
18071
  if (result.fromNativeBroker) {
18022
18072
  this.logger.verbose("Response was from native broker, storing in-memory");
18023
18073
  // Tokens from native broker are stored in-memory
@@ -19295,7 +19345,7 @@ class NestedAppAuthController {
19295
19345
  async hydrateCache(result, request) {
19296
19346
  this.logger.verbose("hydrateCache called");
19297
19347
  const accountEntity = AccountEntity.createFromAccountInfo(result.account, result.cloudGraphHostName, result.msGraphHost);
19298
- await this.browserStorage.setAccount(accountEntity, result.correlationId, isKmsi(result.idTokenClaims));
19348
+ await this.browserStorage.setAccount(accountEntity, result.correlationId, isKmsi(result.idTokenClaims), ApiId.hydrateCache);
19299
19349
  return this.browserStorage.hydrateCache(result, request);
19300
19350
  }
19301
19351
  }