@azure/msal-browser 4.23.0 → 4.24.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 (520) 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.mjs +1 -1
  11. package/dist/cache/CacheHelpers.mjs +1 -1
  12. package/dist/cache/CacheKeys.mjs +1 -1
  13. package/dist/cache/CookieStorage.mjs +1 -1
  14. package/dist/cache/DatabaseStorage.mjs +1 -1
  15. package/dist/cache/EncryptedData.mjs +1 -1
  16. package/dist/cache/LocalStorage.mjs +1 -1
  17. package/dist/cache/MemoryStorage.mjs +1 -1
  18. package/dist/cache/SessionStorage.mjs +1 -1
  19. package/dist/cache/TokenCache.mjs +1 -1
  20. package/dist/config/Configuration.mjs +1 -1
  21. package/dist/controllers/ControllerFactory.mjs +1 -1
  22. package/dist/controllers/NestedAppAuthController.d.ts.map +1 -1
  23. package/dist/controllers/NestedAppAuthController.mjs +15 -15
  24. package/dist/controllers/NestedAppAuthController.mjs.map +1 -1
  25. package/dist/controllers/StandardController.d.ts.map +1 -1
  26. package/dist/controllers/StandardController.mjs +25 -51
  27. package/dist/controllers/StandardController.mjs.map +1 -1
  28. package/dist/controllers/UnknownOperatingContextController.mjs +1 -1
  29. package/dist/crypto/BrowserCrypto.mjs +1 -1
  30. package/dist/crypto/CryptoOps.mjs +1 -1
  31. package/dist/crypto/PkceGenerator.mjs +1 -1
  32. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  33. package/dist/custom-auth-path/app/PublicClientApplication.mjs +1 -1
  34. package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  35. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  36. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  37. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  38. package/dist/custom-auth-path/cache/AccountManager.mjs +1 -1
  39. package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +1 -1
  40. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +1 -1
  41. package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
  42. package/dist/custom-auth-path/cache/CacheKeys.mjs +1 -1
  43. package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
  44. package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
  45. package/dist/custom-auth-path/cache/EncryptedData.mjs +1 -1
  46. package/dist/custom-auth-path/cache/LocalStorage.mjs +1 -1
  47. package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
  48. package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
  49. package/dist/custom-auth-path/cache/TokenCache.mjs +1 -1
  50. package/dist/custom-auth-path/config/Configuration.mjs +1 -1
  51. package/dist/custom-auth-path/controllers/ControllerFactory.mjs +1 -1
  52. package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts.map +1 -1
  53. package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
  54. package/dist/custom-auth-path/controllers/StandardController.mjs +25 -51
  55. package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -1
  56. package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
  57. package/dist/custom-auth-path/crypto/CryptoOps.mjs +1 -1
  58. package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
  59. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +2 -1
  60. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts.map +1 -1
  61. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +2 -1
  62. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs.map +1 -1
  63. package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
  64. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
  65. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  66. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +2 -1
  67. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  68. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +11 -3
  69. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs.map +1 -1
  70. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  71. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  72. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +5 -0
  73. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
  74. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +9 -2
  75. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs.map +1 -1
  76. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
  77. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
  78. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
  79. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
  80. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
  81. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +22 -0
  82. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
  83. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +36 -0
  84. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
  85. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +30 -0
  86. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
  87. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +7 -0
  88. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
  89. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +7 -0
  90. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
  91. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +59 -0
  92. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
  93. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
  94. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
  95. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
  96. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
  97. package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
  98. package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  99. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  100. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  101. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  102. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  103. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  104. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  105. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  106. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  107. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
  108. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  109. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  110. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  111. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +2 -2
  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 +2 -8
  114. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
  115. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +4 -26
  116. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs.map +1 -1
  117. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +0 -1
  118. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
  119. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +2 -11
  120. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
  121. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +2 -9
  122. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs.map +1 -1
  123. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
  124. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
  125. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
  126. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
  127. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
  128. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
  129. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  130. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
  131. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +1 -0
  132. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
  133. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +3 -2
  134. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs.map +1 -1
  135. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
  136. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  137. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +7 -2
  138. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  139. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +14 -3
  140. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs.map +1 -1
  141. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  142. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  143. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +5 -0
  144. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  145. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +5 -1
  146. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
  147. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +1 -0
  148. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
  149. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +4 -3
  150. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs.map +1 -1
  151. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  152. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  153. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.d.ts +4 -3
  154. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
  155. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +4 -5
  156. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs.map +1 -1
  157. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
  158. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
  159. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
  160. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  161. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  162. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  163. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  164. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  165. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  166. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  167. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
  168. package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
  169. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  170. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  171. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  172. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  173. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  174. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  175. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
  176. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  177. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  178. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
  179. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  180. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  181. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  182. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
  183. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  184. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
  185. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
  186. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
  187. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  188. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +13 -4
  189. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs.map +1 -1
  190. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  191. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
  192. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  193. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
  194. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  195. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts +8 -6
  196. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  197. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +51 -29
  198. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs.map +1 -1
  199. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +6 -0
  200. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
  201. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +9 -2
  202. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs.map +1 -1
  203. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  204. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  205. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  206. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  207. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  208. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  209. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
  210. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
  211. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  212. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  213. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
  214. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  215. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  216. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  217. package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
  218. package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
  219. package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
  220. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
  221. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
  222. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  223. package/dist/custom-auth-path/error/NativeAuthError.d.ts.map +1 -1
  224. package/dist/custom-auth-path/error/NativeAuthError.mjs +3 -2
  225. package/dist/custom-auth-path/error/NativeAuthError.mjs.map +1 -1
  226. package/dist/custom-auth-path/error/NativeAuthErrorCodes.d.ts +1 -0
  227. package/dist/custom-auth-path/error/NativeAuthErrorCodes.d.ts.map +1 -1
  228. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +3 -2
  229. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs.map +1 -1
  230. package/dist/custom-auth-path/event/EventHandler.mjs +1 -1
  231. package/dist/custom-auth-path/event/EventType.mjs +1 -1
  232. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
  233. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  234. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  235. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +2 -1
  236. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  237. package/dist/custom-auth-path/interaction_client/PopupClient.mjs +1 -1
  238. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +1 -1
  239. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
  240. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
  241. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +1 -1
  242. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
  243. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
  244. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
  245. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +1 -1
  246. package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
  247. package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
  248. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
  249. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
  250. package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
  251. package/dist/custom-auth-path/packageMetadata.mjs +2 -2
  252. package/dist/custom-auth-path/protocol/Authorize.mjs +1 -1
  253. package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
  254. package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
  255. package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  256. package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
  257. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
  258. package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
  259. package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
  260. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
  261. package/dist/custom_auth/CustomAuthConstants.d.ts +2 -1
  262. package/dist/custom_auth/CustomAuthConstants.d.ts.map +1 -1
  263. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +2 -1
  264. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  265. package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +5 -0
  266. package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
  267. package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +22 -0
  268. package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
  269. package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +36 -0
  270. package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
  271. package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +30 -0
  272. package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
  273. package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +7 -0
  274. package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
  275. package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +7 -0
  276. package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
  277. package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +59 -0
  278. package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
  279. package/dist/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
  280. package/dist/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
  281. package/dist/custom_auth/core/interaction_client/jit/JitClient.d.ts +2 -8
  282. package/dist/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
  283. package/dist/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +0 -1
  284. package/dist/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
  285. package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +2 -11
  286. package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
  287. package/dist/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
  288. package/dist/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
  289. package/dist/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
  290. package/dist/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
  291. package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
  292. package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
  293. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +1 -0
  294. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
  295. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +7 -2
  296. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  297. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +5 -0
  298. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  299. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +5 -1
  300. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
  301. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +1 -0
  302. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
  303. package/dist/custom_auth/core/telemetry/PublicApiId.d.ts +4 -3
  304. package/dist/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
  305. package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  306. package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts +8 -6
  307. package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  308. package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +6 -0
  309. package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
  310. package/dist/encode/Base64Decode.mjs +1 -1
  311. package/dist/encode/Base64Encode.mjs +1 -1
  312. package/dist/error/BrowserAuthError.mjs +1 -1
  313. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  314. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  315. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  316. package/dist/error/NativeAuthError.d.ts.map +1 -1
  317. package/dist/error/NativeAuthError.mjs +3 -2
  318. package/dist/error/NativeAuthError.mjs.map +1 -1
  319. package/dist/error/NativeAuthErrorCodes.d.ts +1 -0
  320. package/dist/error/NativeAuthErrorCodes.d.ts.map +1 -1
  321. package/dist/error/NativeAuthErrorCodes.mjs +3 -2
  322. package/dist/error/NativeAuthErrorCodes.mjs.map +1 -1
  323. package/dist/error/NestedAppAuthError.mjs +1 -1
  324. package/dist/event/EventHandler.mjs +1 -1
  325. package/dist/event/EventMessage.mjs +1 -1
  326. package/dist/event/EventType.mjs +1 -1
  327. package/dist/index.mjs +1 -1
  328. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  329. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  330. package/dist/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  331. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +2 -1
  332. package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  333. package/dist/interaction_client/PopupClient.mjs +1 -1
  334. package/dist/interaction_client/RedirectClient.mjs +1 -1
  335. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  336. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  337. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  338. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  339. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  340. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  341. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  342. package/dist/naa/BridgeError.mjs +1 -1
  343. package/dist/naa/BridgeProxy.mjs +1 -1
  344. package/dist/naa/BridgeStatusCode.mjs +1 -1
  345. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  346. package/dist/navigation/NavigationClient.mjs +1 -1
  347. package/dist/network/FetchClient.mjs +1 -1
  348. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  349. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  350. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  351. package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
  352. package/dist/packageMetadata.d.ts +1 -1
  353. package/dist/packageMetadata.mjs +2 -2
  354. package/dist/protocol/Authorize.mjs +1 -1
  355. package/dist/request/RequestHelpers.mjs +1 -1
  356. package/dist/response/ResponseHandler.mjs +1 -1
  357. package/dist/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  358. package/dist/telemetry/BrowserPerformanceClient.mjs +3 -3
  359. package/dist/telemetry/BrowserPerformanceClient.mjs.map +1 -1
  360. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  361. package/dist/utils/BrowserConstants.mjs +1 -1
  362. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  363. package/dist/utils/BrowserUtils.mjs +1 -1
  364. package/dist/utils/Helpers.mjs +1 -1
  365. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  366. package/lib/custom-auth-path/msal-custom-auth.cjs +234 -215
  367. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  368. package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts.map +1 -1
  369. package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
  370. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +2 -1
  371. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts.map +1 -1
  372. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +2 -1
  373. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  374. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +5 -0
  375. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
  376. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +22 -0
  377. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
  378. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +36 -0
  379. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
  380. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +30 -0
  381. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
  382. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +7 -0
  383. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
  384. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +7 -0
  385. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
  386. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +59 -0
  387. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
  388. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
  389. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
  390. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +2 -8
  391. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
  392. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +0 -1
  393. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
  394. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +2 -11
  395. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
  396. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
  397. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
  398. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
  399. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
  400. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
  401. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
  402. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +1 -0
  403. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
  404. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +7 -2
  405. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  406. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +5 -0
  407. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  408. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +5 -1
  409. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
  410. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +1 -0
  411. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
  412. package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts +4 -3
  413. package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
  414. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  415. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +8 -6
  416. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  417. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +6 -0
  418. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
  419. package/lib/custom-auth-path/types/error/NativeAuthError.d.ts.map +1 -1
  420. package/lib/custom-auth-path/types/error/NativeAuthErrorCodes.d.ts +1 -0
  421. package/lib/custom-auth-path/types/error/NativeAuthErrorCodes.d.ts.map +1 -1
  422. package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  423. package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
  424. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  425. package/lib/msal-browser.cjs +137 -136
  426. package/lib/msal-browser.cjs.map +1 -1
  427. package/lib/msal-browser.js +137 -136
  428. package/lib/msal-browser.js.map +1 -1
  429. package/lib/msal-browser.min.js +60 -60
  430. package/lib/types/controllers/NestedAppAuthController.d.ts.map +1 -1
  431. package/lib/types/controllers/StandardController.d.ts.map +1 -1
  432. package/lib/types/custom_auth/CustomAuthConstants.d.ts +2 -1
  433. package/lib/types/custom_auth/CustomAuthConstants.d.ts.map +1 -1
  434. package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +2 -1
  435. package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  436. package/lib/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +5 -0
  437. package/lib/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
  438. package/lib/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +22 -0
  439. package/lib/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
  440. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +36 -0
  441. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
  442. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +30 -0
  443. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
  444. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +7 -0
  445. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
  446. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +7 -0
  447. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
  448. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +59 -0
  449. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
  450. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
  451. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
  452. package/lib/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +2 -8
  453. package/lib/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
  454. package/lib/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +0 -1
  455. package/lib/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
  456. package/lib/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +2 -11
  457. package/lib/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
  458. package/lib/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
  459. package/lib/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
  460. package/lib/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
  461. package/lib/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
  462. package/lib/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
  463. package/lib/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
  464. package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +1 -0
  465. package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
  466. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +7 -2
  467. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  468. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +5 -0
  469. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  470. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +5 -1
  471. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
  472. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +1 -0
  473. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
  474. package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts +4 -3
  475. package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
  476. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  477. package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +8 -6
  478. package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  479. package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +6 -0
  480. package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
  481. package/lib/types/error/NativeAuthError.d.ts.map +1 -1
  482. package/lib/types/error/NativeAuthErrorCodes.d.ts +1 -0
  483. package/lib/types/error/NativeAuthErrorCodes.d.ts.map +1 -1
  484. package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  485. package/lib/types/packageMetadata.d.ts +1 -1
  486. package/lib/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  487. package/package.json +2 -2
  488. package/src/controllers/NestedAppAuthController.ts +40 -23
  489. package/src/controllers/StandardController.ts +98 -79
  490. package/src/custom_auth/CustomAuthConstants.ts +1 -0
  491. package/src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts +15 -2
  492. package/src/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.ts +9 -1
  493. package/src/custom_auth/core/auth_flow/mfa/error_type/MfaError.ts +32 -0
  494. package/src/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.ts +59 -0
  495. package/src/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.ts +52 -0
  496. package/src/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.ts +11 -0
  497. package/src/custom_auth/core/auth_flow/mfa/state/MfaFailedState.ts +11 -0
  498. package/src/custom_auth/core/auth_flow/mfa/state/MfaState.ts +188 -0
  499. package/src/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.ts +28 -0
  500. package/src/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.ts +1 -1
  501. package/src/custom_auth/core/interaction_client/jit/JitClient.ts +1 -42
  502. package/src/custom_auth/core/interaction_client/jit/parameter/JitParams.ts +0 -2
  503. package/src/custom_auth/core/interaction_client/jit/result/JitActionResult.ts +2 -22
  504. package/src/custom_auth/core/interaction_client/mfa/MfaClient.ts +148 -0
  505. package/src/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.ts +20 -0
  506. package/src/custom_auth/core/interaction_client/mfa/result/MfaActionResult.ts +48 -0
  507. package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.ts +1 -0
  508. package/src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts +27 -1
  509. package/src/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.ts +6 -0
  510. package/src/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.ts +6 -1
  511. package/src/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.ts +1 -0
  512. package/src/custom_auth/core/telemetry/PublicApiId.ts +6 -3
  513. package/src/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.ts +22 -12
  514. package/src/custom_auth/sign_in/interaction_client/SignInClient.ts +123 -41
  515. package/src/custom_auth/sign_in/interaction_client/result/SignInActionResult.ts +15 -0
  516. package/src/error/NativeAuthError.ts +1 -0
  517. package/src/error/NativeAuthErrorCodes.ts +1 -0
  518. package/src/interaction_client/PlatformAuthInteractionClient.ts +1 -0
  519. package/src/packageMetadata.ts +1 -1
  520. package/src/telemetry/BrowserPerformanceClient.ts +5 -2
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.23.0 2025-09-17 */
1
+ /*! @azure/msal-browser v4.24.1 2025-09-30 */
2
2
  'use strict';
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
@@ -6,7 +6,7 @@
6
6
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.msal = {}));
7
7
  })(this, (function (exports) { 'use strict';
8
8
 
9
- /*! @azure/msal-common v15.12.0 2025-09-17 */
9
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
10
10
  /*
11
11
  * Copyright (c) Microsoft Corporation. All rights reserved.
12
12
  * Licensed under the MIT License.
@@ -283,7 +283,7 @@
283
283
  // Token renewal offset default in seconds
284
284
  const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
285
285
 
286
- /*! @azure/msal-common v15.12.0 2025-09-17 */
286
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
287
287
  /*
288
288
  * Copyright (c) Microsoft Corporation. All rights reserved.
289
289
  * Licensed under the MIT License.
@@ -300,7 +300,7 @@
300
300
  unexpectedError: unexpectedError
301
301
  });
302
302
 
303
- /*! @azure/msal-common v15.12.0 2025-09-17 */
303
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
304
304
 
305
305
  /*
306
306
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -349,7 +349,7 @@
349
349
  : AuthErrorMessages[code]);
350
350
  }
351
351
 
352
- /*! @azure/msal-common v15.12.0 2025-09-17 */
352
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
353
353
  /*
354
354
  * Copyright (c) Microsoft Corporation. All rights reserved.
355
355
  * Licensed under the MIT License.
@@ -447,7 +447,7 @@
447
447
  userTimeoutReached: userTimeoutReached
448
448
  });
449
449
 
450
- /*! @azure/msal-common v15.12.0 2025-09-17 */
450
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
451
451
 
452
452
  /*
453
453
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -699,7 +699,7 @@
699
699
  return new ClientAuthError(errorCode, additionalMessage);
700
700
  }
701
701
 
702
- /*! @azure/msal-common v15.12.0 2025-09-17 */
702
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
703
703
 
704
704
  /*
705
705
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -738,7 +738,7 @@
738
738
  },
739
739
  };
740
740
 
741
- /*! @azure/msal-common v15.12.0 2025-09-17 */
741
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
742
742
 
743
743
  /*
744
744
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -929,12 +929,12 @@
929
929
  }
930
930
  }
931
931
 
932
- /*! @azure/msal-common v15.12.0 2025-09-17 */
932
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
933
933
  /* eslint-disable header/header */
934
934
  const name$1 = "@azure/msal-common";
935
- const version$1 = "15.12.0";
935
+ const version$1 = "15.13.0";
936
936
 
937
- /*! @azure/msal-common v15.12.0 2025-09-17 */
937
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
938
938
  /*
939
939
  * Copyright (c) Microsoft Corporation. All rights reserved.
940
940
  * Licensed under the MIT License.
@@ -954,7 +954,7 @@
954
954
  AzureUsGovernment: "https://login.microsoftonline.us",
955
955
  };
956
956
 
957
- /*! @azure/msal-common v15.12.0 2025-09-17 */
957
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
958
958
  /*
959
959
  * Copyright (c) Microsoft Corporation. All rights reserved.
960
960
  * Licensed under the MIT License.
@@ -1010,7 +1010,7 @@
1010
1010
  urlParseError: urlParseError
1011
1011
  });
1012
1012
 
1013
- /*! @azure/msal-common v15.12.0 2025-09-17 */
1013
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
1014
1014
 
1015
1015
  /*
1016
1016
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1153,7 +1153,7 @@
1153
1153
  return new ClientConfigurationError(errorCode);
1154
1154
  }
1155
1155
 
1156
- /*! @azure/msal-common v15.12.0 2025-09-17 */
1156
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
1157
1157
  /*
1158
1158
  * Copyright (c) Microsoft Corporation. All rights reserved.
1159
1159
  * Licensed under the MIT License.
@@ -1250,7 +1250,7 @@
1250
1250
  }
1251
1251
  }
1252
1252
 
1253
- /*! @azure/msal-common v15.12.0 2025-09-17 */
1253
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
1254
1254
 
1255
1255
  /*
1256
1256
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1445,7 +1445,7 @@
1445
1445
  }
1446
1446
  }
1447
1447
 
1448
- /*! @azure/msal-common v15.12.0 2025-09-17 */
1448
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
1449
1449
  /*
1450
1450
  * Copyright (c) Microsoft Corporation. All rights reserved.
1451
1451
  * Licensed under the MIT License.
@@ -1527,7 +1527,7 @@
1527
1527
  return updatedAccountInfo;
1528
1528
  }
1529
1529
 
1530
- /*! @azure/msal-common v15.12.0 2025-09-17 */
1530
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
1531
1531
 
1532
1532
  /*
1533
1533
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1588,7 +1588,7 @@
1588
1588
  }
1589
1589
  }
1590
1590
 
1591
- /*! @azure/msal-common v15.12.0 2025-09-17 */
1591
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
1592
1592
 
1593
1593
  /*
1594
1594
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1704,7 +1704,7 @@
1704
1704
  }
1705
1705
  }
1706
1706
 
1707
- /*! @azure/msal-common v15.12.0 2025-09-17 */
1707
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
1708
1708
 
1709
1709
  /*
1710
1710
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1868,7 +1868,7 @@
1868
1868
  }
1869
1869
  }
1870
1870
 
1871
- /*! @azure/msal-common v15.12.0 2025-09-17 */
1871
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
1872
1872
 
1873
1873
  /*
1874
1874
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2007,7 +2007,7 @@
2007
2007
  return null;
2008
2008
  }
2009
2009
 
2010
- /*! @azure/msal-common v15.12.0 2025-09-17 */
2010
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
2011
2011
  /*
2012
2012
  * Copyright (c) Microsoft Corporation. All rights reserved.
2013
2013
  * Licensed under the MIT License.
@@ -2015,7 +2015,7 @@
2015
2015
  const cacheQuotaExceeded = "cache_quota_exceeded";
2016
2016
  const cacheErrorUnknown = "cache_error_unknown";
2017
2017
 
2018
- /*! @azure/msal-common v15.12.0 2025-09-17 */
2018
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
2019
2019
 
2020
2020
  /*
2021
2021
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2060,7 +2060,7 @@
2060
2060
  }
2061
2061
  }
2062
2062
 
2063
- /*! @azure/msal-common v15.12.0 2025-09-17 */
2063
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
2064
2064
 
2065
2065
  /*
2066
2066
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3169,7 +3169,7 @@
3169
3169
  }
3170
3170
  }
3171
3171
 
3172
- /*! @azure/msal-common v15.12.0 2025-09-17 */
3172
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
3173
3173
  /*
3174
3174
  * Copyright (c) Microsoft Corporation. All rights reserved.
3175
3175
  * Licensed under the MIT License.
@@ -3193,7 +3193,7 @@
3193
3193
  EAR: "EAR",
3194
3194
  };
3195
3195
 
3196
- /*! @azure/msal-common v15.12.0 2025-09-17 */
3196
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
3197
3197
  /*
3198
3198
  * Copyright (c) Microsoft Corporation. All rights reserved.
3199
3199
  * Licensed under the MIT License.
@@ -3715,7 +3715,7 @@
3715
3715
  "upgradedCacheCount",
3716
3716
  ]);
3717
3717
 
3718
- /*! @azure/msal-common v15.12.0 2025-09-17 */
3718
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
3719
3719
 
3720
3720
  /*
3721
3721
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3794,7 +3794,7 @@
3794
3794
  }
3795
3795
  }
3796
3796
 
3797
- /*! @azure/msal-common v15.12.0 2025-09-17 */
3797
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
3798
3798
 
3799
3799
  /*
3800
3800
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3894,7 +3894,7 @@
3894
3894
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
3895
3895
  }
3896
3896
 
3897
- /*! @azure/msal-common v15.12.0 2025-09-17 */
3897
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
3898
3898
  /*
3899
3899
  * Copyright (c) Microsoft Corporation. All rights reserved.
3900
3900
  * Licensed under the MIT License.
@@ -3904,7 +3904,7 @@
3904
3904
  UPN: "UPN",
3905
3905
  };
3906
3906
 
3907
- /*! @azure/msal-common v15.12.0 2025-09-17 */
3907
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
3908
3908
 
3909
3909
  /*
3910
3910
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3944,7 +3944,7 @@
3944
3944
  };
3945
3945
  }
3946
3946
 
3947
- /*! @azure/msal-common v15.12.0 2025-09-17 */
3947
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
3948
3948
  /*
3949
3949
  * Copyright (c) Microsoft Corporation. All rights reserved.
3950
3950
  * Licensed under the MIT License.
@@ -3994,7 +3994,7 @@
3994
3994
  const EAR_JWK = "ear_jwk";
3995
3995
  const EAR_JWE_CRYPTO = "ear_jwe_crypto";
3996
3996
 
3997
- /*! @azure/msal-common v15.12.0 2025-09-17 */
3997
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
3998
3998
 
3999
3999
  /*
4000
4000
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4374,7 +4374,7 @@
4374
4374
  });
4375
4375
  }
4376
4376
 
4377
- /*! @azure/msal-common v15.12.0 2025-09-17 */
4377
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
4378
4378
  /*
4379
4379
  * Copyright (c) Microsoft Corporation. All rights reserved.
4380
4380
  * Licensed under the MIT License.
@@ -4389,7 +4389,7 @@
4389
4389
  Ciam: 3,
4390
4390
  };
4391
4391
 
4392
- /*! @azure/msal-common v15.12.0 2025-09-17 */
4392
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
4393
4393
  /*
4394
4394
  * Copyright (c) Microsoft Corporation. All rights reserved.
4395
4395
  * Licensed under the MIT License.
@@ -4401,7 +4401,7 @@
4401
4401
  response.hasOwnProperty("jwks_uri"));
4402
4402
  }
4403
4403
 
4404
- /*! @azure/msal-common v15.12.0 2025-09-17 */
4404
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
4405
4405
  /*
4406
4406
  * Copyright (c) Microsoft Corporation. All rights reserved.
4407
4407
  * Licensed under the MIT License.
@@ -4411,7 +4411,7 @@
4411
4411
  response.hasOwnProperty("metadata"));
4412
4412
  }
4413
4413
 
4414
- /*! @azure/msal-common v15.12.0 2025-09-17 */
4414
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
4415
4415
  /*
4416
4416
  * Copyright (c) Microsoft Corporation. All rights reserved.
4417
4417
  * Licensed under the MIT License.
@@ -4421,7 +4421,7 @@
4421
4421
  response.hasOwnProperty("error_description"));
4422
4422
  }
4423
4423
 
4424
- /*! @azure/msal-common v15.12.0 2025-09-17 */
4424
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
4425
4425
  /*
4426
4426
  * Copyright (c) Microsoft Corporation. All rights reserved.
4427
4427
  * Licensed under the MIT License.
@@ -4517,7 +4517,7 @@
4517
4517
  };
4518
4518
  };
4519
4519
 
4520
- /*! @azure/msal-common v15.12.0 2025-09-17 */
4520
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
4521
4521
 
4522
4522
  /*
4523
4523
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4623,7 +4623,7 @@
4623
4623
  },
4624
4624
  };
4625
4625
 
4626
- /*! @azure/msal-common v15.12.0 2025-09-17 */
4626
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
4627
4627
  /*
4628
4628
  * Copyright (c) Microsoft Corporation. All rights reserved.
4629
4629
  * Licensed under the MIT License.
@@ -4688,7 +4688,7 @@
4688
4688
  return cachedAtSec > nowSeconds();
4689
4689
  }
4690
4690
 
4691
- /*! @azure/msal-common v15.12.0 2025-09-17 */
4691
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
4692
4692
 
4693
4693
  /*
4694
4694
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4950,7 +4950,7 @@
4950
4950
  return metadata.expiresAt <= nowSeconds();
4951
4951
  }
4952
4952
 
4953
- /*! @azure/msal-common v15.12.0 2025-09-17 */
4953
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
4954
4954
 
4955
4955
  /*
4956
4956
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5789,7 +5789,7 @@
5789
5789
  };
5790
5790
  }
5791
5791
 
5792
- /*! @azure/msal-common v15.12.0 2025-09-17 */
5792
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
5793
5793
 
5794
5794
  /*
5795
5795
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5820,7 +5820,7 @@
5820
5820
  }
5821
5821
  }
5822
5822
 
5823
- /*! @azure/msal-common v15.12.0 2025-09-17 */
5823
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
5824
5824
 
5825
5825
  /*
5826
5826
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5839,7 +5839,7 @@
5839
5839
  }
5840
5840
  }
5841
5841
 
5842
- /*! @azure/msal-common v15.12.0 2025-09-17 */
5842
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
5843
5843
  /*
5844
5844
  * Copyright (c) Microsoft Corporation. All rights reserved.
5845
5845
  * Licensed under the MIT License.
@@ -5860,7 +5860,7 @@
5860
5860
  };
5861
5861
  }
5862
5862
 
5863
- /*! @azure/msal-common v15.12.0 2025-09-17 */
5863
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
5864
5864
 
5865
5865
  /*
5866
5866
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5947,7 +5947,7 @@
5947
5947
  }
5948
5948
  }
5949
5949
 
5950
- /*! @azure/msal-common v15.12.0 2025-09-17 */
5950
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
5951
5951
 
5952
5952
  /*
5953
5953
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5978,7 +5978,7 @@
5978
5978
  return new NetworkError(error, httpStatus, responseHeaders);
5979
5979
  }
5980
5980
 
5981
- /*! @azure/msal-common v15.12.0 2025-09-17 */
5981
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
5982
5982
 
5983
5983
  /*
5984
5984
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6126,7 +6126,7 @@
6126
6126
  }
6127
6127
  }
6128
6128
 
6129
- /*! @azure/msal-common v15.12.0 2025-09-17 */
6129
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
6130
6130
  /*
6131
6131
  * Copyright (c) Microsoft Corporation. All rights reserved.
6132
6132
  * Licensed under the MIT License.
@@ -6148,7 +6148,7 @@
6148
6148
  return null;
6149
6149
  }
6150
6150
 
6151
- /*! @azure/msal-common v15.12.0 2025-09-17 */
6151
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
6152
6152
 
6153
6153
  /*
6154
6154
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6196,6 +6196,7 @@
6196
6196
  tenantProfiles: new Map((this.tenantProfiles || []).map((tenantProfile) => {
6197
6197
  return [tenantProfile.tenantId, tenantProfile];
6198
6198
  })),
6199
+ dataBoundary: this.dataBoundary,
6199
6200
  };
6200
6201
  }
6201
6202
  /**
@@ -6222,6 +6223,10 @@
6222
6223
  let clientInfo;
6223
6224
  if (accountDetails.clientInfo && base64Decode) {
6224
6225
  clientInfo = buildClientInfo(accountDetails.clientInfo, base64Decode);
6226
+ if (clientInfo.xms_tdbr) {
6227
+ account.dataBoundary =
6228
+ clientInfo.xms_tdbr === "EU" ? "EU" : "None";
6229
+ }
6225
6230
  }
6226
6231
  account.clientInfo = accountDetails.clientInfo;
6227
6232
  account.homeAccountId = accountDetails.homeAccountId;
@@ -6290,6 +6295,7 @@
6290
6295
  account.msGraphHost = msGraphHost;
6291
6296
  // Serialize tenant profiles map into an array
6292
6297
  account.tenantProfiles = Array.from(accountInfo.tenantProfiles?.values() || []);
6298
+ account.dataBoundary = accountInfo.dataBoundary;
6293
6299
  return account;
6294
6300
  }
6295
6301
  /**
@@ -6363,7 +6369,7 @@
6363
6369
  }
6364
6370
  }
6365
6371
 
6366
- /*! @azure/msal-common v15.12.0 2025-09-17 */
6372
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
6367
6373
  /*
6368
6374
  * Copyright (c) Microsoft Corporation. All rights reserved.
6369
6375
  * Licensed under the MIT License.
@@ -6391,7 +6397,7 @@
6391
6397
  uxNotAllowed: uxNotAllowed
6392
6398
  });
6393
6399
 
6394
- /*! @azure/msal-common v15.12.0 2025-09-17 */
6400
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
6395
6401
 
6396
6402
  /*
6397
6403
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6481,7 +6487,7 @@
6481
6487
  return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
6482
6488
  }
6483
6489
 
6484
- /*! @azure/msal-common v15.12.0 2025-09-17 */
6490
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
6485
6491
 
6486
6492
  /*
6487
6493
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6553,7 +6559,7 @@
6553
6559
  }
6554
6560
  }
6555
6561
 
6556
- /*! @azure/msal-common v15.12.0 2025-09-17 */
6562
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
6557
6563
 
6558
6564
  /*
6559
6565
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6635,7 +6641,7 @@
6635
6641
  }
6636
6642
  }
6637
6643
 
6638
- /*! @azure/msal-common v15.12.0 2025-09-17 */
6644
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
6639
6645
  /*
6640
6646
  * Copyright (c) Microsoft Corporation. All rights reserved.
6641
6647
  * Licensed under the MIT License.
@@ -6662,7 +6668,7 @@
6662
6668
  }
6663
6669
  }
6664
6670
 
6665
- /*! @azure/msal-common v15.12.0 2025-09-17 */
6671
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
6666
6672
 
6667
6673
  /*
6668
6674
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6993,7 +6999,7 @@
6993
6999
  return baseAccount;
6994
7000
  }
6995
7001
 
6996
- /*! @azure/msal-common v15.12.0 2025-09-17 */
7002
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
6997
7003
  /*
6998
7004
  * Copyright (c) Microsoft Corporation. All rights reserved.
6999
7005
  * Licensed under the MIT License.
@@ -7011,7 +7017,7 @@
7011
7017
  }
7012
7018
  }
7013
7019
 
7014
- /*! @azure/msal-common v15.12.0 2025-09-17 */
7020
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
7015
7021
 
7016
7022
  /*
7017
7023
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7246,7 +7252,7 @@
7246
7252
  }
7247
7253
  }
7248
7254
 
7249
- /*! @azure/msal-common v15.12.0 2025-09-17 */
7255
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
7250
7256
 
7251
7257
  /*
7252
7258
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7455,7 +7461,7 @@
7455
7461
  }
7456
7462
  }
7457
7463
 
7458
- /*! @azure/msal-common v15.12.0 2025-09-17 */
7464
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
7459
7465
 
7460
7466
  /*
7461
7467
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7553,7 +7559,7 @@
7553
7559
  }
7554
7560
  }
7555
7561
 
7556
- /*! @azure/msal-common v15.12.0 2025-09-17 */
7562
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
7557
7563
 
7558
7564
  /*
7559
7565
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7568,7 +7574,7 @@
7568
7574
  },
7569
7575
  };
7570
7576
 
7571
- /*! @azure/msal-common v15.12.0 2025-09-17 */
7577
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
7572
7578
 
7573
7579
  /*
7574
7580
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7792,7 +7798,7 @@
7792
7798
  return account.loginHint || account.idTokenClaims?.login_hint || null;
7793
7799
  }
7794
7800
 
7795
- /*! @azure/msal-common v15.12.0 2025-09-17 */
7801
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
7796
7802
 
7797
7803
  /*
7798
7804
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7850,7 +7856,7 @@
7850
7856
  }
7851
7857
  }
7852
7858
 
7853
- /*! @azure/msal-common v15.12.0 2025-09-17 */
7859
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
7854
7860
 
7855
7861
  /*
7856
7862
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8113,7 +8119,7 @@
8113
8119
  }
8114
8120
  }
8115
8121
 
8116
- /*! @azure/msal-common v15.12.0 2025-09-17 */
8122
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
8117
8123
  /*
8118
8124
  * Copyright (c) Microsoft Corporation. All rights reserved.
8119
8125
  * Licensed under the MIT License.
@@ -8121,7 +8127,7 @@
8121
8127
  const missingKidError = "missing_kid_error";
8122
8128
  const missingAlgError = "missing_alg_error";
8123
8129
 
8124
- /*! @azure/msal-common v15.12.0 2025-09-17 */
8130
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
8125
8131
 
8126
8132
  /*
8127
8133
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8146,7 +8152,7 @@
8146
8152
  return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
8147
8153
  }
8148
8154
 
8149
- /*! @azure/msal-common v15.12.0 2025-09-17 */
8155
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
8150
8156
 
8151
8157
  /*
8152
8158
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8186,7 +8192,7 @@
8186
8192
  }
8187
8193
  }
8188
8194
 
8189
- /*! @azure/msal-common v15.12.0 2025-09-17 */
8195
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
8190
8196
 
8191
8197
  /*
8192
8198
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8368,6 +8374,19 @@
8368
8374
  }
8369
8375
  return line.trimStart();
8370
8376
  }
8377
+ function getAccountType(account) {
8378
+ const idTokenClaims = account?.idTokenClaims;
8379
+ if (idTokenClaims?.tfp || idTokenClaims?.acr) {
8380
+ return "B2C";
8381
+ }
8382
+ if (!idTokenClaims?.tid) {
8383
+ return undefined;
8384
+ }
8385
+ else if (idTokenClaims?.tid === "9188040d-6c67-4c5b-b112-36a304b66dad") {
8386
+ return "MSA";
8387
+ }
8388
+ return "AAD";
8389
+ }
8371
8390
  class PerformanceClient {
8372
8391
  /**
8373
8392
  * Creates an instance of PerformanceClient,
@@ -8535,13 +8554,13 @@
8535
8554
  startContext(inProgressEvent, this.abbreviations, this.eventStack.get(eventCorrelationId));
8536
8555
  // Return the event and functions the caller can use to properly end/flush the measurement
8537
8556
  return {
8538
- end: (event, error) => {
8557
+ end: (event, error, account) => {
8539
8558
  return this.endMeasurement({
8540
8559
  // Initial set of event properties
8541
8560
  ...inProgressEvent,
8542
8561
  // Properties set when event ends
8543
8562
  ...event,
8544
- }, error);
8563
+ }, error, account);
8545
8564
  },
8546
8565
  discard: () => {
8547
8566
  return this.discardMeasurements(inProgressEvent.correlationId);
@@ -8564,9 +8583,10 @@
8564
8583
  *
8565
8584
  * @param {PerformanceEvent} event
8566
8585
  * @param {unknown} error
8586
+ * @param {AccountInfo?} account
8567
8587
  * @returns {(PerformanceEvent | null)}
8568
8588
  */
8569
- endMeasurement(event, error) {
8589
+ endMeasurement(event, error, account) {
8570
8590
  const rootEvent = this.eventsByCorrelationId.get(event.correlationId);
8571
8591
  if (!rootEvent) {
8572
8592
  this.logger.trace(`PerformanceClient: Measurement not found for ${event.eventId}`, event.correlationId);
@@ -8620,6 +8640,10 @@
8620
8640
  incompleteSubsCount,
8621
8641
  context,
8622
8642
  };
8643
+ if (account) {
8644
+ finalEvent.accountType = getAccountType(account);
8645
+ finalEvent.dataBoundary = account.dataBoundary;
8646
+ }
8623
8647
  this.truncateIntegralFields(finalEvent);
8624
8648
  this.emitEvents([finalEvent], event.correlationId);
8625
8649
  return finalEvent;
@@ -10284,7 +10308,7 @@
10284
10308
 
10285
10309
  /* eslint-disable header/header */
10286
10310
  const name = "@azure/msal-browser";
10287
- const version = "4.23.0";
10311
+ const version = "4.24.1";
10288
10312
 
10289
10313
  /*
10290
10314
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -13675,6 +13699,7 @@
13675
13699
  * Licensed under the MIT License.
13676
13700
  */
13677
13701
  const contentError = "ContentError";
13702
+ const pageException = "PageException";
13678
13703
  const userSwitch = "user_switch";
13679
13704
 
13680
13705
  /*
@@ -13721,6 +13746,7 @@
13721
13746
  }
13722
13747
  switch (error.errorCode) {
13723
13748
  case contentError:
13749
+ case pageException:
13724
13750
  return true;
13725
13751
  default:
13726
13752
  return false;
@@ -14380,6 +14406,7 @@
14380
14406
  case PromptValue.NONE:
14381
14407
  case PromptValue.CONSENT:
14382
14408
  case PromptValue.LOGIN:
14409
+ case PromptValue.SELECT_ACCOUNT:
14383
14410
  this.logger.trace("initializeNativeRequest: prompt is compatible with native flow");
14384
14411
  return prompt;
14385
14412
  default:
@@ -16763,25 +16790,12 @@
16763
16790
  * Copyright (c) Microsoft Corporation. All rights reserved.
16764
16791
  * Licensed under the MIT License.
16765
16792
  */
16766
- function getAccountType(account) {
16767
- const idTokenClaims = account?.idTokenClaims;
16768
- if (idTokenClaims?.tfp || idTokenClaims?.acr) {
16769
- return "B2C";
16770
- }
16771
- if (!idTokenClaims?.tid) {
16772
- return undefined;
16773
- }
16774
- else if (idTokenClaims?.tid === "9188040d-6c67-4c5b-b112-36a304b66dad") {
16775
- return "MSA";
16776
- }
16777
- return "AAD";
16778
- }
16779
- function preflightCheck(initialized, performanceEvent) {
16793
+ function preflightCheck(initialized, performanceEvent, account) {
16780
16794
  try {
16781
16795
  preflightCheck$1(initialized);
16782
16796
  }
16783
16797
  catch (e) {
16784
- performanceEvent.end({ success: false }, e);
16798
+ performanceEvent.end({ success: false }, e, account);
16785
16799
  throw e;
16786
16800
  }
16787
16801
  }
@@ -17012,8 +17026,7 @@
17012
17026
  }
17013
17027
  rootMeasurement.end({
17014
17028
  success: true,
17015
- accountType: getAccountType(result.account),
17016
- });
17029
+ }, undefined, result.account);
17017
17030
  }
17018
17031
  else {
17019
17032
  /*
@@ -17021,7 +17034,7 @@
17021
17034
  * is empty and the error code is missing.
17022
17035
  */
17023
17036
  if (rootMeasurement.event.errorCode) {
17024
- rootMeasurement.end({ success: false });
17037
+ rootMeasurement.end({ success: false }, undefined);
17025
17038
  }
17026
17039
  else {
17027
17040
  rootMeasurement.discard();
@@ -17062,7 +17075,6 @@
17062
17075
  this.logger.verbose("acquireTokenRedirect called", correlationId);
17063
17076
  const atrMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenPreRedirect, correlationId);
17064
17077
  atrMeasurement.add({
17065
- accountType: getAccountType(request.account),
17066
17078
  scenarioId: request.scenarioId,
17067
17079
  });
17068
17080
  // Override on request only if set, as onRedirectNavigate field is deprecated
@@ -17076,8 +17088,7 @@
17076
17088
  navigateCallbackResult: navigate !== false,
17077
17089
  });
17078
17090
  atrMeasurement.event =
17079
- atrMeasurement.end({ success: true }) ||
17080
- atrMeasurement.event;
17091
+ atrMeasurement.end({ success: true }, undefined, request.account) || atrMeasurement.event;
17081
17092
  return navigate;
17082
17093
  };
17083
17094
  }
@@ -17091,8 +17102,7 @@
17091
17102
  navigateCallbackResult: navigate !== false,
17092
17103
  });
17093
17104
  atrMeasurement.event =
17094
- atrMeasurement.end({ success: true }) ||
17095
- atrMeasurement.event;
17105
+ atrMeasurement.end({ success: true }, undefined, request.account) || atrMeasurement.event;
17096
17106
  return navigate;
17097
17107
  };
17098
17108
  }
@@ -17147,10 +17157,10 @@
17147
17157
  if (atrMeasurement.event.status === 2) {
17148
17158
  this.performanceClient
17149
17159
  .startMeasurement(PerformanceEvents.AcquireTokenRedirect, correlationId)
17150
- .end({ success: false }, e);
17160
+ .end({ success: false }, e, request.account);
17151
17161
  }
17152
17162
  else {
17153
- atrMeasurement.end({ success: false }, e);
17163
+ atrMeasurement.end({ success: false }, e, request.account);
17154
17164
  }
17155
17165
  if (isLoggedIn) {
17156
17166
  this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, exports.InteractionType.Redirect, null, e);
@@ -17175,11 +17185,10 @@
17175
17185
  const atPopupMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenPopup, correlationId);
17176
17186
  atPopupMeasurement.add({
17177
17187
  scenarioId: request.scenarioId,
17178
- accountType: getAccountType(request.account),
17179
17188
  });
17180
17189
  try {
17181
17190
  this.logger.verbose("acquireTokenPopup called", correlationId);
17182
- preflightCheck(this.initialized, atPopupMeasurement);
17191
+ preflightCheck(this.initialized, atPopupMeasurement, request.account);
17183
17192
  this.browserStorage.setInteractionInProgress(true, INTERACTION_TYPE.SIGNIN);
17184
17193
  }
17185
17194
  catch (e) {
@@ -17207,8 +17216,7 @@
17207
17216
  .then((response) => {
17208
17217
  atPopupMeasurement.end({
17209
17218
  success: true,
17210
- accountType: getAccountType(response.account),
17211
- });
17219
+ }, undefined, response.account);
17212
17220
  return response;
17213
17221
  })
17214
17222
  .catch((e) => {
@@ -17250,8 +17258,7 @@
17250
17258
  success: true,
17251
17259
  accessTokenSize: result.accessToken.length,
17252
17260
  idTokenSize: result.idToken.length,
17253
- accountType: getAccountType(result.account),
17254
- });
17261
+ }, undefined, result.account);
17255
17262
  return result;
17256
17263
  })
17257
17264
  .catch((e) => {
@@ -17263,7 +17270,7 @@
17263
17270
  }
17264
17271
  atPopupMeasurement.end({
17265
17272
  success: false,
17266
- }, e);
17273
+ }, e, request.account);
17267
17274
  // Since this function is syncronous we need to reject
17268
17275
  return Promise.reject(e);
17269
17276
  })
@@ -17313,9 +17320,8 @@
17313
17320
  this.ssoSilentMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.SsoSilent, correlationId);
17314
17321
  this.ssoSilentMeasurement?.add({
17315
17322
  scenarioId: request.scenarioId,
17316
- accountType: getAccountType(request.account),
17317
17323
  });
17318
- preflightCheck(this.initialized, this.ssoSilentMeasurement);
17324
+ preflightCheck(this.initialized, this.ssoSilentMeasurement, request.account);
17319
17325
  this.ssoSilentMeasurement?.increment({
17320
17326
  visibilityChangeCount: 0,
17321
17327
  });
@@ -17352,15 +17358,14 @@
17352
17358
  success: true,
17353
17359
  accessTokenSize: response.accessToken.length,
17354
17360
  idTokenSize: response.idToken.length,
17355
- accountType: getAccountType(response.account),
17356
- });
17361
+ }, undefined, response.account);
17357
17362
  return response;
17358
17363
  })
17359
17364
  .catch((e) => {
17360
17365
  this.eventHandler.emitEvent(EventType.SSO_SILENT_FAILURE, exports.InteractionType.Silent, null, e);
17361
17366
  this.ssoSilentMeasurement?.end({
17362
17367
  success: false,
17363
- }, e);
17368
+ }, e, request.account);
17364
17369
  throw e;
17365
17370
  })
17366
17371
  .finally(() => {
@@ -17405,8 +17410,7 @@
17405
17410
  success: true,
17406
17411
  accessTokenSize: result.accessToken.length,
17407
17412
  idTokenSize: result.idToken.length,
17408
- accountType: getAccountType(result.account),
17409
- });
17413
+ }, undefined, result.account);
17410
17414
  return result;
17411
17415
  })
17412
17416
  .catch((error) => {
@@ -17446,9 +17450,8 @@
17446
17450
  throw e;
17447
17451
  });
17448
17452
  atbcMeasurement.end({
17449
- accountType: getAccountType(result.account),
17450
17453
  success: true,
17451
- });
17454
+ }, undefined, result.account);
17452
17455
  return result;
17453
17456
  }
17454
17457
  else {
@@ -17730,6 +17733,7 @@
17730
17733
  case PromptValue.NONE:
17731
17734
  case PromptValue.CONSENT:
17732
17735
  case PromptValue.LOGIN:
17736
+ case PromptValue.SELECT_ACCOUNT:
17733
17737
  this.logger.trace("canUsePlatformBroker: prompt is compatible with platform broker flow");
17734
17738
  break;
17735
17739
  default:
@@ -17972,13 +17976,12 @@
17972
17976
  cacheLookupPolicy: request.cacheLookupPolicy,
17973
17977
  scenarioId: request.scenarioId,
17974
17978
  });
17975
- preflightCheck(this.initialized, atsMeasurement);
17979
+ preflightCheck(this.initialized, atsMeasurement, request.account);
17976
17980
  this.logger.verbose("acquireTokenSilent called", correlationId);
17977
17981
  const account = request.account || this.getActiveAccount();
17978
17982
  if (!account) {
17979
17983
  throw createBrowserAuthError(noAccountError);
17980
17984
  }
17981
- atsMeasurement.add({ accountType: getAccountType(account) });
17982
17985
  return this.acquireTokenSilentDeduped(request, account, correlationId)
17983
17986
  .then((result) => {
17984
17987
  atsMeasurement.end({
@@ -17986,7 +17989,7 @@
17986
17989
  fromCache: result.fromCache,
17987
17990
  accessTokenSize: result.accessToken.length,
17988
17991
  idTokenSize: result.idToken.length,
17989
- });
17992
+ }, undefined, result.account);
17990
17993
  return {
17991
17994
  ...result,
17992
17995
  state: request.state,
@@ -18000,7 +18003,7 @@
18000
18003
  }
18001
18004
  atsMeasurement.end({
18002
18005
  success: false,
18003
- }, error);
18006
+ }, error, account);
18004
18007
  throw error;
18005
18008
  });
18006
18009
  }
@@ -18113,11 +18116,9 @@
18113
18116
  return result
18114
18117
  .then((response) => {
18115
18118
  this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, exports.InteractionType.Silent, response);
18116
- if (request.correlationId) {
18117
- this.performanceClient.addFields({
18118
- fromCache: response.fromCache,
18119
- }, request.correlationId);
18120
- }
18119
+ this.performanceClient.addFields({
18120
+ fromCache: response.fromCache,
18121
+ }, request.correlationId);
18121
18122
  return response;
18122
18123
  })
18123
18124
  .catch((tokenRenewalError) => {
@@ -18526,7 +18527,7 @@
18526
18527
  const validRequest = this.ensureValidRequest(request);
18527
18528
  this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, exports.InteractionType.Popup, validRequest);
18528
18529
  const atPopupMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenPopup, validRequest.correlationId);
18529
- atPopupMeasurement?.add({ nestedAppAuthRequest: true });
18530
+ atPopupMeasurement.add({ nestedAppAuthRequest: true });
18530
18531
  try {
18531
18532
  const naaRequest = this.nestedAppAuthAdapter.toNaaTokenRequest(validRequest);
18532
18533
  const reqTimestamp = nowSeconds();
@@ -18556,7 +18557,7 @@
18556
18557
  atPopupMeasurement.end({
18557
18558
  success: true,
18558
18559
  requestId: result.requestId,
18559
- });
18560
+ }, undefined, result.account);
18560
18561
  return result;
18561
18562
  }
18562
18563
  catch (e) {
@@ -18566,7 +18567,7 @@
18566
18567
  this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, exports.InteractionType.Popup, null, e);
18567
18568
  atPopupMeasurement.end({
18568
18569
  success: false,
18569
- }, e);
18570
+ }, e, request.account);
18570
18571
  throw error;
18571
18572
  }
18572
18573
  }
@@ -18586,10 +18587,10 @@
18586
18587
  }
18587
18588
  // proceed with acquiring tokens via the host
18588
18589
  const ssoSilentMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.SsoSilent, validRequest.correlationId);
18589
- ssoSilentMeasurement?.increment({
18590
+ ssoSilentMeasurement.increment({
18590
18591
  visibilityChangeCount: 0,
18591
18592
  });
18592
- ssoSilentMeasurement?.add({
18593
+ ssoSilentMeasurement.add({
18593
18594
  nestedAppAuthRequest: true,
18594
18595
  });
18595
18596
  try {
@@ -18620,7 +18621,7 @@
18620
18621
  ssoSilentMeasurement?.end({
18621
18622
  success: true,
18622
18623
  requestId: result.requestId,
18623
- });
18624
+ }, undefined, result.account);
18624
18625
  return result;
18625
18626
  }
18626
18627
  catch (e) {
@@ -18630,7 +18631,7 @@
18630
18631
  this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, exports.InteractionType.Silent, null, e);
18631
18632
  ssoSilentMeasurement?.end({
18632
18633
  success: false,
18633
- }, e);
18634
+ }, e, request.account);
18634
18635
  throw error;
18635
18636
  }
18636
18637
  }
@@ -18670,20 +18671,20 @@
18670
18671
  }
18671
18672
  if (result) {
18672
18673
  this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, exports.InteractionType.Silent, result);
18673
- atsMeasurement?.add({
18674
- accessTokenSize: result?.accessToken.length,
18675
- idTokenSize: result?.idToken.length,
18674
+ atsMeasurement.add({
18675
+ accessTokenSize: result.accessToken.length,
18676
+ idTokenSize: result.idToken.length,
18676
18677
  });
18677
- atsMeasurement?.end({
18678
+ atsMeasurement.end({
18678
18679
  success: true,
18679
- });
18680
+ }, undefined, result.account);
18680
18681
  return result;
18681
18682
  }
18682
18683
  this.logger.warning("Cached tokens are not found for the account, proceeding with silent token request.");
18683
18684
  this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, exports.InteractionType.Silent, null);
18684
- atsMeasurement?.end({
18685
+ atsMeasurement.end({
18685
18686
  success: false,
18686
- });
18687
+ }, undefined, request.account);
18687
18688
  return null;
18688
18689
  }
18689
18690
  /**
@@ -20340,13 +20341,13 @@
20340
20341
  void browserMeasurement?.then((measurement) => measurement.startMeasurement());
20341
20342
  return {
20342
20343
  ...inProgressEvent,
20343
- end: (event, error) => {
20344
+ end: (event, error, account) => {
20344
20345
  const res = inProgressEvent.end({
20345
20346
  ...event,
20346
20347
  startPageVisibility,
20347
20348
  endPageVisibility: this.getPageVisibility(),
20348
20349
  durationMs: getPerfDurationMs(startTime),
20349
- }, error);
20350
+ }, error, account);
20350
20351
  void browserMeasurement?.then((measurement) => measurement.endMeasurement());
20351
20352
  this.deleteIncompleteSubMeasurements(inProgressEvent);
20352
20353
  return res;