@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,8 +1,8 @@
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
  'use strict';
4
4
 
5
- /*! @azure/msal-common v15.12.0 2025-09-17 */
5
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
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.12.0 2025-09-17 */
282
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
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.12.0 2025-09-17 */
299
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
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.12.0 2025-09-17 */
348
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
349
349
  /*
350
350
  * Copyright (c) Microsoft Corporation. All rights reserved.
351
351
  * Licensed under the MIT License.
@@ -443,7 +443,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
443
443
  userTimeoutReached: userTimeoutReached
444
444
  });
445
445
 
446
- /*! @azure/msal-common v15.12.0 2025-09-17 */
446
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
447
447
 
448
448
  /*
449
449
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -695,7 +695,7 @@ function createClientAuthError(errorCode, additionalMessage) {
695
695
  return new ClientAuthError(errorCode, additionalMessage);
696
696
  }
697
697
 
698
- /*! @azure/msal-common v15.12.0 2025-09-17 */
698
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
699
699
 
700
700
  /*
701
701
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -734,7 +734,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
734
734
  },
735
735
  };
736
736
 
737
- /*! @azure/msal-common v15.12.0 2025-09-17 */
737
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
738
738
 
739
739
  /*
740
740
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -925,12 +925,12 @@ class Logger {
925
925
  }
926
926
  }
927
927
 
928
- /*! @azure/msal-common v15.12.0 2025-09-17 */
928
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
929
929
  /* eslint-disable header/header */
930
930
  const name$1 = "@azure/msal-common";
931
- const version$1 = "15.12.0";
931
+ const version$1 = "15.13.0";
932
932
 
933
- /*! @azure/msal-common v15.12.0 2025-09-17 */
933
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
934
934
  /*
935
935
  * Copyright (c) Microsoft Corporation. All rights reserved.
936
936
  * Licensed under the MIT License.
@@ -950,7 +950,7 @@ const AzureCloudInstance = {
950
950
  AzureUsGovernment: "https://login.microsoftonline.us",
951
951
  };
952
952
 
953
- /*! @azure/msal-common v15.12.0 2025-09-17 */
953
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
954
954
  /*
955
955
  * Copyright (c) Microsoft Corporation. All rights reserved.
956
956
  * Licensed under the MIT License.
@@ -1006,7 +1006,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
1006
1006
  urlParseError: urlParseError
1007
1007
  });
1008
1008
 
1009
- /*! @azure/msal-common v15.12.0 2025-09-17 */
1009
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
1010
1010
 
1011
1011
  /*
1012
1012
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1149,7 +1149,7 @@ function createClientConfigurationError(errorCode) {
1149
1149
  return new ClientConfigurationError(errorCode);
1150
1150
  }
1151
1151
 
1152
- /*! @azure/msal-common v15.12.0 2025-09-17 */
1152
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
1153
1153
  /*
1154
1154
  * Copyright (c) Microsoft Corporation. All rights reserved.
1155
1155
  * Licensed under the MIT License.
@@ -1246,7 +1246,7 @@ class StringUtils {
1246
1246
  }
1247
1247
  }
1248
1248
 
1249
- /*! @azure/msal-common v15.12.0 2025-09-17 */
1249
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
1250
1250
 
1251
1251
  /*
1252
1252
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1441,7 +1441,7 @@ class ScopeSet {
1441
1441
  }
1442
1442
  }
1443
1443
 
1444
- /*! @azure/msal-common v15.12.0 2025-09-17 */
1444
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
1445
1445
  /*
1446
1446
  * Copyright (c) Microsoft Corporation. All rights reserved.
1447
1447
  * Licensed under the MIT License.
@@ -1523,7 +1523,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
1523
1523
  return updatedAccountInfo;
1524
1524
  }
1525
1525
 
1526
- /*! @azure/msal-common v15.12.0 2025-09-17 */
1526
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
1527
1527
 
1528
1528
  /*
1529
1529
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1584,7 +1584,7 @@ function checkMaxAge(authTime, maxAge) {
1584
1584
  }
1585
1585
  }
1586
1586
 
1587
- /*! @azure/msal-common v15.12.0 2025-09-17 */
1587
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
1588
1588
 
1589
1589
  /*
1590
1590
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1700,7 +1700,7 @@ function normalizeUrlForComparison(url) {
1700
1700
  }
1701
1701
  }
1702
1702
 
1703
- /*! @azure/msal-common v15.12.0 2025-09-17 */
1703
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
1704
1704
 
1705
1705
  /*
1706
1706
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1864,7 +1864,7 @@ class UrlString {
1864
1864
  }
1865
1865
  }
1866
1866
 
1867
- /*! @azure/msal-common v15.12.0 2025-09-17 */
1867
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
1868
1868
 
1869
1869
  /*
1870
1870
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2003,7 +2003,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
2003
2003
  return null;
2004
2004
  }
2005
2005
 
2006
- /*! @azure/msal-common v15.12.0 2025-09-17 */
2006
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
2007
2007
  /*
2008
2008
  * Copyright (c) Microsoft Corporation. All rights reserved.
2009
2009
  * Licensed under the MIT License.
@@ -2011,7 +2011,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
2011
2011
  const cacheQuotaExceeded = "cache_quota_exceeded";
2012
2012
  const cacheErrorUnknown = "cache_error_unknown";
2013
2013
 
2014
- /*! @azure/msal-common v15.12.0 2025-09-17 */
2014
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
2015
2015
 
2016
2016
  /*
2017
2017
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2056,7 +2056,7 @@ function createCacheError(e) {
2056
2056
  }
2057
2057
  }
2058
2058
 
2059
- /*! @azure/msal-common v15.12.0 2025-09-17 */
2059
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
2060
2060
 
2061
2061
  /*
2062
2062
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3165,7 +3165,7 @@ class DefaultStorageClass extends CacheManager {
3165
3165
  }
3166
3166
  }
3167
3167
 
3168
- /*! @azure/msal-common v15.12.0 2025-09-17 */
3168
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
3169
3169
  /*
3170
3170
  * Copyright (c) Microsoft Corporation. All rights reserved.
3171
3171
  * Licensed under the MIT License.
@@ -3189,7 +3189,7 @@ const ProtocolMode = {
3189
3189
  EAR: "EAR",
3190
3190
  };
3191
3191
 
3192
- /*! @azure/msal-common v15.12.0 2025-09-17 */
3192
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
3193
3193
  /*
3194
3194
  * Copyright (c) Microsoft Corporation. All rights reserved.
3195
3195
  * Licensed under the MIT License.
@@ -3711,7 +3711,7 @@ const IntFields = new Set([
3711
3711
  "upgradedCacheCount",
3712
3712
  ]);
3713
3713
 
3714
- /*! @azure/msal-common v15.12.0 2025-09-17 */
3714
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
3715
3715
 
3716
3716
  /*
3717
3717
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3790,7 +3790,7 @@ class StubPerformanceClient {
3790
3790
  }
3791
3791
  }
3792
3792
 
3793
- /*! @azure/msal-common v15.12.0 2025-09-17 */
3793
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
3794
3794
 
3795
3795
  /*
3796
3796
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3890,7 +3890,7 @@ function isOidcProtocolMode(config) {
3890
3890
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
3891
3891
  }
3892
3892
 
3893
- /*! @azure/msal-common v15.12.0 2025-09-17 */
3893
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
3894
3894
  /*
3895
3895
  * Copyright (c) Microsoft Corporation. All rights reserved.
3896
3896
  * Licensed under the MIT License.
@@ -3900,7 +3900,7 @@ const CcsCredentialType = {
3900
3900
  UPN: "UPN",
3901
3901
  };
3902
3902
 
3903
- /*! @azure/msal-common v15.12.0 2025-09-17 */
3903
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
3904
3904
 
3905
3905
  /*
3906
3906
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3940,7 +3940,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
3940
3940
  };
3941
3941
  }
3942
3942
 
3943
- /*! @azure/msal-common v15.12.0 2025-09-17 */
3943
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
3944
3944
  /*
3945
3945
  * Copyright (c) Microsoft Corporation. All rights reserved.
3946
3946
  * Licensed under the MIT License.
@@ -3990,7 +3990,7 @@ const INSTANCE_AWARE = "instance_aware";
3990
3990
  const EAR_JWK = "ear_jwk";
3991
3991
  const EAR_JWE_CRYPTO = "ear_jwe_crypto";
3992
3992
 
3993
- /*! @azure/msal-common v15.12.0 2025-09-17 */
3993
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
3994
3994
 
3995
3995
  /*
3996
3996
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4370,7 +4370,7 @@ function addPostBodyParameters(parameters, bodyParameters) {
4370
4370
  });
4371
4371
  }
4372
4372
 
4373
- /*! @azure/msal-common v15.12.0 2025-09-17 */
4373
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
4374
4374
  /*
4375
4375
  * Copyright (c) Microsoft Corporation. All rights reserved.
4376
4376
  * Licensed under the MIT License.
@@ -4385,7 +4385,7 @@ const AuthorityType = {
4385
4385
  Ciam: 3,
4386
4386
  };
4387
4387
 
4388
- /*! @azure/msal-common v15.12.0 2025-09-17 */
4388
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
4389
4389
  /*
4390
4390
  * Copyright (c) Microsoft Corporation. All rights reserved.
4391
4391
  * Licensed under the MIT License.
@@ -4397,7 +4397,7 @@ function isOpenIdConfigResponse(response) {
4397
4397
  response.hasOwnProperty("jwks_uri"));
4398
4398
  }
4399
4399
 
4400
- /*! @azure/msal-common v15.12.0 2025-09-17 */
4400
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
4401
4401
  /*
4402
4402
  * Copyright (c) Microsoft Corporation. All rights reserved.
4403
4403
  * Licensed under the MIT License.
@@ -4407,7 +4407,7 @@ function isCloudInstanceDiscoveryResponse(response) {
4407
4407
  response.hasOwnProperty("metadata"));
4408
4408
  }
4409
4409
 
4410
- /*! @azure/msal-common v15.12.0 2025-09-17 */
4410
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
4411
4411
  /*
4412
4412
  * Copyright (c) Microsoft Corporation. All rights reserved.
4413
4413
  * Licensed under the MIT License.
@@ -4417,7 +4417,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
4417
4417
  response.hasOwnProperty("error_description"));
4418
4418
  }
4419
4419
 
4420
- /*! @azure/msal-common v15.12.0 2025-09-17 */
4420
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
4421
4421
  /*
4422
4422
  * Copyright (c) Microsoft Corporation. All rights reserved.
4423
4423
  * Licensed under the MIT License.
@@ -4513,7 +4513,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
4513
4513
  };
4514
4514
  };
4515
4515
 
4516
- /*! @azure/msal-common v15.12.0 2025-09-17 */
4516
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
4517
4517
 
4518
4518
  /*
4519
4519
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4619,7 +4619,7 @@ RegionDiscovery.IMDS_OPTIONS = {
4619
4619
  },
4620
4620
  };
4621
4621
 
4622
- /*! @azure/msal-common v15.12.0 2025-09-17 */
4622
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
4623
4623
  /*
4624
4624
  * Copyright (c) Microsoft Corporation. All rights reserved.
4625
4625
  * Licensed under the MIT License.
@@ -4684,7 +4684,7 @@ function wasClockTurnedBack(cachedAt) {
4684
4684
  return cachedAtSec > nowSeconds();
4685
4685
  }
4686
4686
 
4687
- /*! @azure/msal-common v15.12.0 2025-09-17 */
4687
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
4688
4688
 
4689
4689
  /*
4690
4690
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4946,7 +4946,7 @@ function isAuthorityMetadataExpired(metadata) {
4946
4946
  return metadata.expiresAt <= nowSeconds();
4947
4947
  }
4948
4948
 
4949
- /*! @azure/msal-common v15.12.0 2025-09-17 */
4949
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
4950
4950
 
4951
4951
  /*
4952
4952
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5785,7 +5785,7 @@ function buildStaticAuthorityOptions(authOptions) {
5785
5785
  };
5786
5786
  }
5787
5787
 
5788
- /*! @azure/msal-common v15.12.0 2025-09-17 */
5788
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
5789
5789
 
5790
5790
  /*
5791
5791
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5816,7 +5816,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
5816
5816
  }
5817
5817
  }
5818
5818
 
5819
- /*! @azure/msal-common v15.12.0 2025-09-17 */
5819
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
5820
5820
 
5821
5821
  /*
5822
5822
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5835,7 +5835,7 @@ class ServerError extends AuthError {
5835
5835
  }
5836
5836
  }
5837
5837
 
5838
- /*! @azure/msal-common v15.12.0 2025-09-17 */
5838
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
5839
5839
  /*
5840
5840
  * Copyright (c) Microsoft Corporation. All rights reserved.
5841
5841
  * Licensed under the MIT License.
@@ -5856,7 +5856,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
5856
5856
  };
5857
5857
  }
5858
5858
 
5859
- /*! @azure/msal-common v15.12.0 2025-09-17 */
5859
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
5860
5860
 
5861
5861
  /*
5862
5862
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5943,7 +5943,7 @@ class ThrottlingUtils {
5943
5943
  }
5944
5944
  }
5945
5945
 
5946
- /*! @azure/msal-common v15.12.0 2025-09-17 */
5946
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
5947
5947
 
5948
5948
  /*
5949
5949
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5974,7 +5974,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
5974
5974
  return new NetworkError(error, httpStatus, responseHeaders);
5975
5975
  }
5976
5976
 
5977
- /*! @azure/msal-common v15.12.0 2025-09-17 */
5977
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
5978
5978
 
5979
5979
  /*
5980
5980
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6122,7 +6122,7 @@ class BaseClient {
6122
6122
  }
6123
6123
  }
6124
6124
 
6125
- /*! @azure/msal-common v15.12.0 2025-09-17 */
6125
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
6126
6126
  /*
6127
6127
  * Copyright (c) Microsoft Corporation. All rights reserved.
6128
6128
  * Licensed under the MIT License.
@@ -6144,7 +6144,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
6144
6144
  return null;
6145
6145
  }
6146
6146
 
6147
- /*! @azure/msal-common v15.12.0 2025-09-17 */
6147
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
6148
6148
 
6149
6149
  /*
6150
6150
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6192,6 +6192,7 @@ class AccountEntity {
6192
6192
  tenantProfiles: new Map((this.tenantProfiles || []).map((tenantProfile) => {
6193
6193
  return [tenantProfile.tenantId, tenantProfile];
6194
6194
  })),
6195
+ dataBoundary: this.dataBoundary,
6195
6196
  };
6196
6197
  }
6197
6198
  /**
@@ -6218,6 +6219,10 @@ class AccountEntity {
6218
6219
  let clientInfo;
6219
6220
  if (accountDetails.clientInfo && base64Decode) {
6220
6221
  clientInfo = buildClientInfo(accountDetails.clientInfo, base64Decode);
6222
+ if (clientInfo.xms_tdbr) {
6223
+ account.dataBoundary =
6224
+ clientInfo.xms_tdbr === "EU" ? "EU" : "None";
6225
+ }
6221
6226
  }
6222
6227
  account.clientInfo = accountDetails.clientInfo;
6223
6228
  account.homeAccountId = accountDetails.homeAccountId;
@@ -6286,6 +6291,7 @@ class AccountEntity {
6286
6291
  account.msGraphHost = msGraphHost;
6287
6292
  // Serialize tenant profiles map into an array
6288
6293
  account.tenantProfiles = Array.from(accountInfo.tenantProfiles?.values() || []);
6294
+ account.dataBoundary = accountInfo.dataBoundary;
6289
6295
  return account;
6290
6296
  }
6291
6297
  /**
@@ -6359,7 +6365,7 @@ class AccountEntity {
6359
6365
  }
6360
6366
  }
6361
6367
 
6362
- /*! @azure/msal-common v15.12.0 2025-09-17 */
6368
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
6363
6369
  /*
6364
6370
  * Copyright (c) Microsoft Corporation. All rights reserved.
6365
6371
  * Licensed under the MIT License.
@@ -6387,7 +6393,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
6387
6393
  uxNotAllowed: uxNotAllowed
6388
6394
  });
6389
6395
 
6390
- /*! @azure/msal-common v15.12.0 2025-09-17 */
6396
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
6391
6397
 
6392
6398
  /*
6393
6399
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6477,7 +6483,7 @@ function createInteractionRequiredAuthError(errorCode) {
6477
6483
  return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
6478
6484
  }
6479
6485
 
6480
- /*! @azure/msal-common v15.12.0 2025-09-17 */
6486
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
6481
6487
 
6482
6488
  /*
6483
6489
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6549,7 +6555,7 @@ class ProtocolUtils {
6549
6555
  }
6550
6556
  }
6551
6557
 
6552
- /*! @azure/msal-common v15.12.0 2025-09-17 */
6558
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
6553
6559
 
6554
6560
  /*
6555
6561
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6631,7 +6637,7 @@ class PopTokenGenerator {
6631
6637
  }
6632
6638
  }
6633
6639
 
6634
- /*! @azure/msal-common v15.12.0 2025-09-17 */
6640
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
6635
6641
  /*
6636
6642
  * Copyright (c) Microsoft Corporation. All rights reserved.
6637
6643
  * Licensed under the MIT License.
@@ -6658,7 +6664,7 @@ class PopTokenGenerator {
6658
6664
  }
6659
6665
  }
6660
6666
 
6661
- /*! @azure/msal-common v15.12.0 2025-09-17 */
6667
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
6662
6668
 
6663
6669
  /*
6664
6670
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6989,7 +6995,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
6989
6995
  return baseAccount;
6990
6996
  }
6991
6997
 
6992
- /*! @azure/msal-common v15.12.0 2025-09-17 */
6998
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
6993
6999
  /*
6994
7000
  * Copyright (c) Microsoft Corporation. All rights reserved.
6995
7001
  * Licensed under the MIT License.
@@ -7007,7 +7013,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
7007
7013
  }
7008
7014
  }
7009
7015
 
7010
- /*! @azure/msal-common v15.12.0 2025-09-17 */
7016
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
7011
7017
 
7012
7018
  /*
7013
7019
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7242,7 +7248,7 @@ class AuthorizationCodeClient extends BaseClient {
7242
7248
  }
7243
7249
  }
7244
7250
 
7245
- /*! @azure/msal-common v15.12.0 2025-09-17 */
7251
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
7246
7252
 
7247
7253
  /*
7248
7254
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7451,7 +7457,7 @@ class RefreshTokenClient extends BaseClient {
7451
7457
  }
7452
7458
  }
7453
7459
 
7454
- /*! @azure/msal-common v15.12.0 2025-09-17 */
7460
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
7455
7461
 
7456
7462
  /*
7457
7463
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7549,7 +7555,7 @@ class SilentFlowClient extends BaseClient {
7549
7555
  }
7550
7556
  }
7551
7557
 
7552
- /*! @azure/msal-common v15.12.0 2025-09-17 */
7558
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
7553
7559
 
7554
7560
  /*
7555
7561
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7564,7 +7570,7 @@ const StubbedNetworkModule = {
7564
7570
  },
7565
7571
  };
7566
7572
 
7567
- /*! @azure/msal-common v15.12.0 2025-09-17 */
7573
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
7568
7574
 
7569
7575
  /*
7570
7576
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7788,7 +7794,7 @@ function extractLoginHint(account) {
7788
7794
  return account.loginHint || account.idTokenClaims?.login_hint || null;
7789
7795
  }
7790
7796
 
7791
- /*! @azure/msal-common v15.12.0 2025-09-17 */
7797
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
7792
7798
 
7793
7799
  /*
7794
7800
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7846,7 +7852,7 @@ class AuthenticationHeaderParser {
7846
7852
  }
7847
7853
  }
7848
7854
 
7849
- /*! @azure/msal-common v15.12.0 2025-09-17 */
7855
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
7850
7856
 
7851
7857
  /*
7852
7858
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8109,7 +8115,7 @@ class ServerTelemetryManager {
8109
8115
  }
8110
8116
  }
8111
8117
 
8112
- /*! @azure/msal-common v15.12.0 2025-09-17 */
8118
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
8113
8119
  /*
8114
8120
  * Copyright (c) Microsoft Corporation. All rights reserved.
8115
8121
  * Licensed under the MIT License.
@@ -8117,7 +8123,7 @@ class ServerTelemetryManager {
8117
8123
  const missingKidError = "missing_kid_error";
8118
8124
  const missingAlgError = "missing_alg_error";
8119
8125
 
8120
- /*! @azure/msal-common v15.12.0 2025-09-17 */
8126
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
8121
8127
 
8122
8128
  /*
8123
8129
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8142,7 +8148,7 @@ function createJoseHeaderError(code) {
8142
8148
  return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
8143
8149
  }
8144
8150
 
8145
- /*! @azure/msal-common v15.12.0 2025-09-17 */
8151
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
8146
8152
 
8147
8153
  /*
8148
8154
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8182,7 +8188,7 @@ class JoseHeader {
8182
8188
  }
8183
8189
  }
8184
8190
 
8185
- /*! @azure/msal-common v15.12.0 2025-09-17 */
8191
+ /*! @azure/msal-common v15.13.0 2025-09-30 */
8186
8192
 
8187
8193
  /*
8188
8194
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8364,6 +8370,19 @@ function compactStackLine(line) {
8364
8370
  }
8365
8371
  return line.trimStart();
8366
8372
  }
8373
+ function getAccountType(account) {
8374
+ const idTokenClaims = account?.idTokenClaims;
8375
+ if (idTokenClaims?.tfp || idTokenClaims?.acr) {
8376
+ return "B2C";
8377
+ }
8378
+ if (!idTokenClaims?.tid) {
8379
+ return undefined;
8380
+ }
8381
+ else if (idTokenClaims?.tid === "9188040d-6c67-4c5b-b112-36a304b66dad") {
8382
+ return "MSA";
8383
+ }
8384
+ return "AAD";
8385
+ }
8367
8386
  class PerformanceClient {
8368
8387
  /**
8369
8388
  * Creates an instance of PerformanceClient,
@@ -8531,13 +8550,13 @@ class PerformanceClient {
8531
8550
  startContext(inProgressEvent, this.abbreviations, this.eventStack.get(eventCorrelationId));
8532
8551
  // Return the event and functions the caller can use to properly end/flush the measurement
8533
8552
  return {
8534
- end: (event, error) => {
8553
+ end: (event, error, account) => {
8535
8554
  return this.endMeasurement({
8536
8555
  // Initial set of event properties
8537
8556
  ...inProgressEvent,
8538
8557
  // Properties set when event ends
8539
8558
  ...event,
8540
- }, error);
8559
+ }, error, account);
8541
8560
  },
8542
8561
  discard: () => {
8543
8562
  return this.discardMeasurements(inProgressEvent.correlationId);
@@ -8560,9 +8579,10 @@ class PerformanceClient {
8560
8579
  *
8561
8580
  * @param {PerformanceEvent} event
8562
8581
  * @param {unknown} error
8582
+ * @param {AccountInfo?} account
8563
8583
  * @returns {(PerformanceEvent | null)}
8564
8584
  */
8565
- endMeasurement(event, error) {
8585
+ endMeasurement(event, error, account) {
8566
8586
  const rootEvent = this.eventsByCorrelationId.get(event.correlationId);
8567
8587
  if (!rootEvent) {
8568
8588
  this.logger.trace(`PerformanceClient: Measurement not found for ${event.eventId}`, event.correlationId);
@@ -8616,6 +8636,10 @@ class PerformanceClient {
8616
8636
  incompleteSubsCount,
8617
8637
  context,
8618
8638
  };
8639
+ if (account) {
8640
+ finalEvent.accountType = getAccountType(account);
8641
+ finalEvent.dataBoundary = account.dataBoundary;
8642
+ }
8619
8643
  this.truncateIntegralFields(finalEvent);
8620
8644
  this.emitEvents([finalEvent], event.correlationId);
8621
8645
  return finalEvent;
@@ -10280,7 +10304,7 @@ function buildConfiguration({ auth: userInputAuth, cache: userInputCache, system
10280
10304
 
10281
10305
  /* eslint-disable header/header */
10282
10306
  const name = "@azure/msal-browser";
10283
- const version = "4.23.0";
10307
+ const version = "4.24.1";
10284
10308
 
10285
10309
  /*
10286
10310
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -13671,6 +13695,7 @@ class InteractionHandler {
13671
13695
  * Licensed under the MIT License.
13672
13696
  */
13673
13697
  const contentError = "ContentError";
13698
+ const pageException = "PageException";
13674
13699
  const userSwitch = "user_switch";
13675
13700
 
13676
13701
  /*
@@ -13717,6 +13742,7 @@ function isFatalNativeAuthError(error) {
13717
13742
  }
13718
13743
  switch (error.errorCode) {
13719
13744
  case contentError:
13745
+ case pageException:
13720
13746
  return true;
13721
13747
  default:
13722
13748
  return false;
@@ -14376,6 +14402,7 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
14376
14402
  case PromptValue.NONE:
14377
14403
  case PromptValue.CONSENT:
14378
14404
  case PromptValue.LOGIN:
14405
+ case PromptValue.SELECT_ACCOUNT:
14379
14406
  this.logger.trace("initializeNativeRequest: prompt is compatible with native flow");
14380
14407
  return prompt;
14381
14408
  default:
@@ -16759,25 +16786,12 @@ function collectInstanceStats(currentClientId, performanceEvent, logger) {
16759
16786
  * Copyright (c) Microsoft Corporation. All rights reserved.
16760
16787
  * Licensed under the MIT License.
16761
16788
  */
16762
- function getAccountType(account) {
16763
- const idTokenClaims = account?.idTokenClaims;
16764
- if (idTokenClaims?.tfp || idTokenClaims?.acr) {
16765
- return "B2C";
16766
- }
16767
- if (!idTokenClaims?.tid) {
16768
- return undefined;
16769
- }
16770
- else if (idTokenClaims?.tid === "9188040d-6c67-4c5b-b112-36a304b66dad") {
16771
- return "MSA";
16772
- }
16773
- return "AAD";
16774
- }
16775
- function preflightCheck(initialized, performanceEvent) {
16789
+ function preflightCheck(initialized, performanceEvent, account) {
16776
16790
  try {
16777
16791
  preflightCheck$1(initialized);
16778
16792
  }
16779
16793
  catch (e) {
16780
- performanceEvent.end({ success: false }, e);
16794
+ performanceEvent.end({ success: false }, e, account);
16781
16795
  throw e;
16782
16796
  }
16783
16797
  }
@@ -17008,8 +17022,7 @@ class StandardController {
17008
17022
  }
17009
17023
  rootMeasurement.end({
17010
17024
  success: true,
17011
- accountType: getAccountType(result.account),
17012
- });
17025
+ }, undefined, result.account);
17013
17026
  }
17014
17027
  else {
17015
17028
  /*
@@ -17017,7 +17030,7 @@ class StandardController {
17017
17030
  * is empty and the error code is missing.
17018
17031
  */
17019
17032
  if (rootMeasurement.event.errorCode) {
17020
- rootMeasurement.end({ success: false });
17033
+ rootMeasurement.end({ success: false }, undefined);
17021
17034
  }
17022
17035
  else {
17023
17036
  rootMeasurement.discard();
@@ -17058,7 +17071,6 @@ class StandardController {
17058
17071
  this.logger.verbose("acquireTokenRedirect called", correlationId);
17059
17072
  const atrMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenPreRedirect, correlationId);
17060
17073
  atrMeasurement.add({
17061
- accountType: getAccountType(request.account),
17062
17074
  scenarioId: request.scenarioId,
17063
17075
  });
17064
17076
  // Override on request only if set, as onRedirectNavigate field is deprecated
@@ -17072,8 +17084,7 @@ class StandardController {
17072
17084
  navigateCallbackResult: navigate !== false,
17073
17085
  });
17074
17086
  atrMeasurement.event =
17075
- atrMeasurement.end({ success: true }) ||
17076
- atrMeasurement.event;
17087
+ atrMeasurement.end({ success: true }, undefined, request.account) || atrMeasurement.event;
17077
17088
  return navigate;
17078
17089
  };
17079
17090
  }
@@ -17087,8 +17098,7 @@ class StandardController {
17087
17098
  navigateCallbackResult: navigate !== false,
17088
17099
  });
17089
17100
  atrMeasurement.event =
17090
- atrMeasurement.end({ success: true }) ||
17091
- atrMeasurement.event;
17101
+ atrMeasurement.end({ success: true }, undefined, request.account) || atrMeasurement.event;
17092
17102
  return navigate;
17093
17103
  };
17094
17104
  }
@@ -17143,10 +17153,10 @@ class StandardController {
17143
17153
  if (atrMeasurement.event.status === 2) {
17144
17154
  this.performanceClient
17145
17155
  .startMeasurement(PerformanceEvents.AcquireTokenRedirect, correlationId)
17146
- .end({ success: false }, e);
17156
+ .end({ success: false }, e, request.account);
17147
17157
  }
17148
17158
  else {
17149
- atrMeasurement.end({ success: false }, e);
17159
+ atrMeasurement.end({ success: false }, e, request.account);
17150
17160
  }
17151
17161
  if (isLoggedIn) {
17152
17162
  this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, exports.InteractionType.Redirect, null, e);
@@ -17171,11 +17181,10 @@ class StandardController {
17171
17181
  const atPopupMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenPopup, correlationId);
17172
17182
  atPopupMeasurement.add({
17173
17183
  scenarioId: request.scenarioId,
17174
- accountType: getAccountType(request.account),
17175
17184
  });
17176
17185
  try {
17177
17186
  this.logger.verbose("acquireTokenPopup called", correlationId);
17178
- preflightCheck(this.initialized, atPopupMeasurement);
17187
+ preflightCheck(this.initialized, atPopupMeasurement, request.account);
17179
17188
  this.browserStorage.setInteractionInProgress(true, INTERACTION_TYPE.SIGNIN);
17180
17189
  }
17181
17190
  catch (e) {
@@ -17203,8 +17212,7 @@ class StandardController {
17203
17212
  .then((response) => {
17204
17213
  atPopupMeasurement.end({
17205
17214
  success: true,
17206
- accountType: getAccountType(response.account),
17207
- });
17215
+ }, undefined, response.account);
17208
17216
  return response;
17209
17217
  })
17210
17218
  .catch((e) => {
@@ -17246,8 +17254,7 @@ class StandardController {
17246
17254
  success: true,
17247
17255
  accessTokenSize: result.accessToken.length,
17248
17256
  idTokenSize: result.idToken.length,
17249
- accountType: getAccountType(result.account),
17250
- });
17257
+ }, undefined, result.account);
17251
17258
  return result;
17252
17259
  })
17253
17260
  .catch((e) => {
@@ -17259,7 +17266,7 @@ class StandardController {
17259
17266
  }
17260
17267
  atPopupMeasurement.end({
17261
17268
  success: false,
17262
- }, e);
17269
+ }, e, request.account);
17263
17270
  // Since this function is syncronous we need to reject
17264
17271
  return Promise.reject(e);
17265
17272
  })
@@ -17309,9 +17316,8 @@ class StandardController {
17309
17316
  this.ssoSilentMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.SsoSilent, correlationId);
17310
17317
  this.ssoSilentMeasurement?.add({
17311
17318
  scenarioId: request.scenarioId,
17312
- accountType: getAccountType(request.account),
17313
17319
  });
17314
- preflightCheck(this.initialized, this.ssoSilentMeasurement);
17320
+ preflightCheck(this.initialized, this.ssoSilentMeasurement, request.account);
17315
17321
  this.ssoSilentMeasurement?.increment({
17316
17322
  visibilityChangeCount: 0,
17317
17323
  });
@@ -17348,15 +17354,14 @@ class StandardController {
17348
17354
  success: true,
17349
17355
  accessTokenSize: response.accessToken.length,
17350
17356
  idTokenSize: response.idToken.length,
17351
- accountType: getAccountType(response.account),
17352
- });
17357
+ }, undefined, response.account);
17353
17358
  return response;
17354
17359
  })
17355
17360
  .catch((e) => {
17356
17361
  this.eventHandler.emitEvent(EventType.SSO_SILENT_FAILURE, exports.InteractionType.Silent, null, e);
17357
17362
  this.ssoSilentMeasurement?.end({
17358
17363
  success: false,
17359
- }, e);
17364
+ }, e, request.account);
17360
17365
  throw e;
17361
17366
  })
17362
17367
  .finally(() => {
@@ -17401,8 +17406,7 @@ class StandardController {
17401
17406
  success: true,
17402
17407
  accessTokenSize: result.accessToken.length,
17403
17408
  idTokenSize: result.idToken.length,
17404
- accountType: getAccountType(result.account),
17405
- });
17409
+ }, undefined, result.account);
17406
17410
  return result;
17407
17411
  })
17408
17412
  .catch((error) => {
@@ -17442,9 +17446,8 @@ class StandardController {
17442
17446
  throw e;
17443
17447
  });
17444
17448
  atbcMeasurement.end({
17445
- accountType: getAccountType(result.account),
17446
17449
  success: true,
17447
- });
17450
+ }, undefined, result.account);
17448
17451
  return result;
17449
17452
  }
17450
17453
  else {
@@ -17726,6 +17729,7 @@ class StandardController {
17726
17729
  case PromptValue.NONE:
17727
17730
  case PromptValue.CONSENT:
17728
17731
  case PromptValue.LOGIN:
17732
+ case PromptValue.SELECT_ACCOUNT:
17729
17733
  this.logger.trace("canUsePlatformBroker: prompt is compatible with platform broker flow");
17730
17734
  break;
17731
17735
  default:
@@ -17968,13 +17972,12 @@ class StandardController {
17968
17972
  cacheLookupPolicy: request.cacheLookupPolicy,
17969
17973
  scenarioId: request.scenarioId,
17970
17974
  });
17971
- preflightCheck(this.initialized, atsMeasurement);
17975
+ preflightCheck(this.initialized, atsMeasurement, request.account);
17972
17976
  this.logger.verbose("acquireTokenSilent called", correlationId);
17973
17977
  const account = request.account || this.getActiveAccount();
17974
17978
  if (!account) {
17975
17979
  throw createBrowserAuthError(noAccountError);
17976
17980
  }
17977
- atsMeasurement.add({ accountType: getAccountType(account) });
17978
17981
  return this.acquireTokenSilentDeduped(request, account, correlationId)
17979
17982
  .then((result) => {
17980
17983
  atsMeasurement.end({
@@ -17982,7 +17985,7 @@ class StandardController {
17982
17985
  fromCache: result.fromCache,
17983
17986
  accessTokenSize: result.accessToken.length,
17984
17987
  idTokenSize: result.idToken.length,
17985
- });
17988
+ }, undefined, result.account);
17986
17989
  return {
17987
17990
  ...result,
17988
17991
  state: request.state,
@@ -17996,7 +17999,7 @@ class StandardController {
17996
17999
  }
17997
18000
  atsMeasurement.end({
17998
18001
  success: false,
17999
- }, error);
18002
+ }, error, account);
18000
18003
  throw error;
18001
18004
  });
18002
18005
  }
@@ -18109,11 +18112,9 @@ class StandardController {
18109
18112
  return result
18110
18113
  .then((response) => {
18111
18114
  this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, exports.InteractionType.Silent, response);
18112
- if (request.correlationId) {
18113
- this.performanceClient.addFields({
18114
- fromCache: response.fromCache,
18115
- }, request.correlationId);
18116
- }
18115
+ this.performanceClient.addFields({
18116
+ fromCache: response.fromCache,
18117
+ }, request.correlationId);
18117
18118
  return response;
18118
18119
  })
18119
18120
  .catch((tokenRenewalError) => {
@@ -18522,7 +18523,7 @@ class NestedAppAuthController {
18522
18523
  const validRequest = this.ensureValidRequest(request);
18523
18524
  this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, exports.InteractionType.Popup, validRequest);
18524
18525
  const atPopupMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenPopup, validRequest.correlationId);
18525
- atPopupMeasurement?.add({ nestedAppAuthRequest: true });
18526
+ atPopupMeasurement.add({ nestedAppAuthRequest: true });
18526
18527
  try {
18527
18528
  const naaRequest = this.nestedAppAuthAdapter.toNaaTokenRequest(validRequest);
18528
18529
  const reqTimestamp = nowSeconds();
@@ -18552,7 +18553,7 @@ class NestedAppAuthController {
18552
18553
  atPopupMeasurement.end({
18553
18554
  success: true,
18554
18555
  requestId: result.requestId,
18555
- });
18556
+ }, undefined, result.account);
18556
18557
  return result;
18557
18558
  }
18558
18559
  catch (e) {
@@ -18562,7 +18563,7 @@ class NestedAppAuthController {
18562
18563
  this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, exports.InteractionType.Popup, null, e);
18563
18564
  atPopupMeasurement.end({
18564
18565
  success: false,
18565
- }, e);
18566
+ }, e, request.account);
18566
18567
  throw error;
18567
18568
  }
18568
18569
  }
@@ -18582,10 +18583,10 @@ class NestedAppAuthController {
18582
18583
  }
18583
18584
  // proceed with acquiring tokens via the host
18584
18585
  const ssoSilentMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.SsoSilent, validRequest.correlationId);
18585
- ssoSilentMeasurement?.increment({
18586
+ ssoSilentMeasurement.increment({
18586
18587
  visibilityChangeCount: 0,
18587
18588
  });
18588
- ssoSilentMeasurement?.add({
18589
+ ssoSilentMeasurement.add({
18589
18590
  nestedAppAuthRequest: true,
18590
18591
  });
18591
18592
  try {
@@ -18616,7 +18617,7 @@ class NestedAppAuthController {
18616
18617
  ssoSilentMeasurement?.end({
18617
18618
  success: true,
18618
18619
  requestId: result.requestId,
18619
- });
18620
+ }, undefined, result.account);
18620
18621
  return result;
18621
18622
  }
18622
18623
  catch (e) {
@@ -18626,7 +18627,7 @@ class NestedAppAuthController {
18626
18627
  this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, exports.InteractionType.Silent, null, e);
18627
18628
  ssoSilentMeasurement?.end({
18628
18629
  success: false,
18629
- }, e);
18630
+ }, e, request.account);
18630
18631
  throw error;
18631
18632
  }
18632
18633
  }
@@ -18666,20 +18667,20 @@ class NestedAppAuthController {
18666
18667
  }
18667
18668
  if (result) {
18668
18669
  this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, exports.InteractionType.Silent, result);
18669
- atsMeasurement?.add({
18670
- accessTokenSize: result?.accessToken.length,
18671
- idTokenSize: result?.idToken.length,
18670
+ atsMeasurement.add({
18671
+ accessTokenSize: result.accessToken.length,
18672
+ idTokenSize: result.idToken.length,
18672
18673
  });
18673
- atsMeasurement?.end({
18674
+ atsMeasurement.end({
18674
18675
  success: true,
18675
- });
18676
+ }, undefined, result.account);
18676
18677
  return result;
18677
18678
  }
18678
18679
  this.logger.warning("Cached tokens are not found for the account, proceeding with silent token request.");
18679
18680
  this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, exports.InteractionType.Silent, null);
18680
- atsMeasurement?.end({
18681
+ atsMeasurement.end({
18681
18682
  success: false,
18682
- });
18683
+ }, undefined, request.account);
18683
18684
  return null;
18684
18685
  }
18685
18686
  /**
@@ -20336,13 +20337,13 @@ class BrowserPerformanceClient extends PerformanceClient {
20336
20337
  void browserMeasurement?.then((measurement) => measurement.startMeasurement());
20337
20338
  return {
20338
20339
  ...inProgressEvent,
20339
- end: (event, error) => {
20340
+ end: (event, error, account) => {
20340
20341
  const res = inProgressEvent.end({
20341
20342
  ...event,
20342
20343
  startPageVisibility,
20343
20344
  endPageVisibility: this.getPageVisibility(),
20344
20345
  durationMs: getPerfDurationMs(startTime),
20345
- }, error);
20346
+ }, error, account);
20346
20347
  void browserMeasurement?.then((measurement) => measurement.endMeasurement());
20347
20348
  this.deleteIncompleteSubMeasurements(inProgressEvent);
20348
20349
  return res;