@azure/msal-browser 4.22.1 → 4.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (766) 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 +16 -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 +24 -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 +24 -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 +3 -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 +4 -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.d.ts +1 -0
  65. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  66. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +38 -5
  67. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
  68. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  69. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +2 -0
  70. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  71. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +15 -2
  72. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs.map +1 -1
  73. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -1
  74. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +14 -2
  75. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs.map +1 -1
  76. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.d.ts +1 -1
  77. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -1
  78. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  79. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs.map +1 -1
  80. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts +15 -0
  81. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts.map +1 -0
  82. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +27 -0
  83. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -0
  84. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +42 -0
  85. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs.map +1 -0
  86. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +41 -0
  87. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -0
  88. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +55 -0
  89. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs.map +1 -0
  90. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +33 -0
  91. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -0
  92. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +45 -0
  93. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs.map +1 -0
  94. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts +4 -0
  95. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -0
  96. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +13 -0
  97. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs.map +1 -0
  98. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +4 -0
  99. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -0
  100. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +13 -0
  101. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs.map +1 -0
  102. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +74 -0
  103. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -0
  104. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +166 -0
  105. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs.map +1 -0
  106. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts +20 -0
  107. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts.map +1 -0
  108. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +22 -0
  109. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
  110. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +36 -0
  111. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
  112. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +30 -0
  113. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
  114. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +7 -0
  115. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
  116. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +7 -0
  117. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
  118. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +59 -0
  119. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
  120. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
  121. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
  122. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
  123. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
  124. package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
  125. package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  126. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  127. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  128. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  129. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  130. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.d.ts +1 -2
  131. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -1
  132. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +3 -4
  133. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs.map +1 -1
  134. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  135. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  136. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  137. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
  138. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  139. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  140. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  141. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +10 -0
  142. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
  143. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +21 -2
  144. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs.map +1 -1
  145. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  146. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.d.ts +21 -0
  147. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -0
  148. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +105 -0
  149. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs.map +1 -0
  150. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +20 -0
  151. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -0
  152. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +22 -0
  153. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -0
  154. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +24 -0
  155. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs.map +1 -0
  156. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
  157. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
  158. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
  159. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
  160. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
  161. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
  162. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  163. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +2 -0
  164. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
  165. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +3 -1
  166. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs.map +1 -1
  167. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +4 -0
  168. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
  169. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +7 -3
  170. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs.map +1 -1
  171. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +2 -0
  172. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -1
  173. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts +18 -0
  174. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts.map +1 -0
  175. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +51 -0
  176. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs.map +1 -0
  177. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  178. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +7 -2
  179. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  180. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +16 -4
  181. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs.map +1 -1
  182. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  183. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  184. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +21 -1
  185. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  186. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +26 -0
  187. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
  188. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +2 -0
  189. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
  190. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +5 -3
  191. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs.map +1 -1
  192. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  193. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  194. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.d.ts +4 -0
  195. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
  196. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +6 -3
  197. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs.map +1 -1
  198. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
  199. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
  200. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
  201. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  202. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  203. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  204. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  205. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  206. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  207. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  208. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
  209. package/dist/custom-auth-path/custom_auth/index.d.ts +11 -3
  210. package/dist/custom-auth-path/custom_auth/index.d.ts.map +1 -1
  211. package/dist/custom-auth-path/custom_auth/index.mjs +7 -1
  212. package/dist/custom-auth-path/custom_auth/index.mjs.map +1 -1
  213. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  214. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  215. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  216. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  217. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  218. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  219. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -1
  220. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +3 -1
  221. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs.map +1 -1
  222. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  223. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  224. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -1
  225. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +2 -1
  226. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs.map +1 -1
  227. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  228. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +2 -0
  229. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -1
  230. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  231. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  232. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
  233. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  234. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +10 -1
  235. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
  236. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +9 -1
  237. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs.map +1 -1
  238. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +10 -2
  239. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
  240. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +3 -3
  241. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs.map +1 -1
  242. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +19 -2
  243. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
  244. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +11 -3
  245. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs.map +1 -1
  246. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  247. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +14 -4
  248. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs.map +1 -1
  249. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  250. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
  251. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +33 -4
  252. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs.map +1 -1
  253. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  254. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
  255. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +30 -4
  256. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs.map +1 -1
  257. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  258. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +2 -0
  259. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
  260. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts +14 -13
  261. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  262. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +73 -31
  263. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs.map +1 -1
  264. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +13 -0
  265. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
  266. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +16 -2
  267. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs.map +1 -1
  268. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  269. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  270. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  271. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  272. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  273. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  274. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -1
  275. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +2 -1
  276. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs.map +1 -1
  277. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -1
  278. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +5 -1
  279. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs.map +1 -1
  280. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  281. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  282. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -1
  283. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +3 -1
  284. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs.map +1 -1
  285. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  286. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +2 -0
  287. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -1
  288. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  289. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  290. package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
  291. package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
  292. package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
  293. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
  294. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
  295. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  296. package/dist/custom-auth-path/error/NativeAuthError.mjs +1 -1
  297. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
  298. package/dist/custom-auth-path/event/EventHandler.mjs +1 -1
  299. package/dist/custom-auth-path/event/EventType.mjs +1 -1
  300. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
  301. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  302. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  303. package/dist/custom-auth-path/interaction_client/PopupClient.mjs +1 -1
  304. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +1 -1
  305. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
  306. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
  307. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +1 -1
  308. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
  309. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
  310. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
  311. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +1 -1
  312. package/dist/custom-auth-path/naa/TokenRequest.d.ts +1 -0
  313. package/dist/custom-auth-path/naa/TokenRequest.d.ts.map +1 -1
  314. package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
  315. package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
  316. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
  317. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
  318. package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
  319. package/dist/custom-auth-path/packageMetadata.mjs +2 -2
  320. package/dist/custom-auth-path/protocol/Authorize.mjs +1 -1
  321. package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
  322. package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
  323. package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  324. package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
  325. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
  326. package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
  327. package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
  328. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
  329. package/dist/custom_auth/CustomAuthConstants.d.ts +3 -1
  330. package/dist/custom_auth/CustomAuthConstants.d.ts.map +1 -1
  331. package/dist/custom_auth/controller/CustomAuthStandardController.d.ts +1 -0
  332. package/dist/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  333. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +2 -0
  334. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  335. package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -1
  336. package/dist/custom_auth/core/auth_flow/AuthFlowState.d.ts +1 -1
  337. package/dist/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -1
  338. package/dist/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts +15 -0
  339. package/dist/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts.map +1 -0
  340. package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +27 -0
  341. package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -0
  342. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +41 -0
  343. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -0
  344. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +33 -0
  345. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -0
  346. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts +4 -0
  347. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -0
  348. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +4 -0
  349. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -0
  350. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +74 -0
  351. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -0
  352. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts +20 -0
  353. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts.map +1 -0
  354. package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +22 -0
  355. package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
  356. package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +36 -0
  357. package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
  358. package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +30 -0
  359. package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
  360. package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +7 -0
  361. package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
  362. package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +7 -0
  363. package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
  364. package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +59 -0
  365. package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
  366. package/dist/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
  367. package/dist/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
  368. package/dist/custom_auth/core/error/MsalCustomAuthError.d.ts +1 -2
  369. package/dist/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -1
  370. package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +10 -0
  371. package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
  372. package/dist/custom_auth/core/interaction_client/jit/JitClient.d.ts +21 -0
  373. package/dist/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -0
  374. package/dist/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +20 -0
  375. package/dist/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -0
  376. package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +22 -0
  377. package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -0
  378. package/dist/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
  379. package/dist/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
  380. package/dist/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
  381. package/dist/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
  382. package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
  383. package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
  384. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +2 -0
  385. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
  386. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +4 -0
  387. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
  388. package/dist/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +2 -0
  389. package/dist/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -1
  390. package/dist/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts +18 -0
  391. package/dist/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts.map +1 -0
  392. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +7 -2
  393. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  394. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +21 -1
  395. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  396. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +26 -0
  397. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
  398. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +2 -0
  399. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
  400. package/dist/custom_auth/core/telemetry/PublicApiId.d.ts +4 -0
  401. package/dist/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
  402. package/dist/custom_auth/index.d.ts +11 -3
  403. package/dist/custom_auth/index.d.ts.map +1 -1
  404. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -1
  405. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -1
  406. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +2 -0
  407. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -1
  408. package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +10 -1
  409. package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
  410. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +10 -2
  411. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
  412. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +19 -2
  413. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
  414. package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  415. package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
  416. package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
  417. package/dist/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +2 -0
  418. package/dist/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
  419. package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts +14 -13
  420. package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  421. package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +13 -0
  422. package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
  423. package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -1
  424. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -1
  425. package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -1
  426. package/dist/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +2 -0
  427. package/dist/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -1
  428. package/dist/encode/Base64Decode.mjs +1 -1
  429. package/dist/encode/Base64Encode.mjs +1 -1
  430. package/dist/error/BrowserAuthError.mjs +1 -1
  431. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  432. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  433. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  434. package/dist/error/NativeAuthError.mjs +1 -1
  435. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  436. package/dist/error/NestedAppAuthError.mjs +1 -1
  437. package/dist/event/EventHandler.mjs +1 -1
  438. package/dist/event/EventMessage.mjs +1 -1
  439. package/dist/event/EventType.mjs +1 -1
  440. package/dist/index.mjs +1 -1
  441. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  442. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  443. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  444. package/dist/interaction_client/PopupClient.mjs +1 -1
  445. package/dist/interaction_client/RedirectClient.mjs +1 -1
  446. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  447. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  448. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  449. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  450. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  451. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  452. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  453. package/dist/naa/BridgeError.mjs +1 -1
  454. package/dist/naa/BridgeProxy.mjs +1 -1
  455. package/dist/naa/BridgeStatusCode.mjs +1 -1
  456. package/dist/naa/TokenRequest.d.ts +1 -0
  457. package/dist/naa/TokenRequest.d.ts.map +1 -1
  458. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  459. package/dist/navigation/NavigationClient.mjs +1 -1
  460. package/dist/network/FetchClient.mjs +1 -1
  461. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  462. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  463. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  464. package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
  465. package/dist/packageMetadata.d.ts +1 -1
  466. package/dist/packageMetadata.mjs +2 -2
  467. package/dist/protocol/Authorize.mjs +1 -1
  468. package/dist/request/RequestHelpers.mjs +1 -1
  469. package/dist/response/ResponseHandler.mjs +1 -1
  470. package/dist/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  471. package/dist/telemetry/BrowserPerformanceClient.mjs +3 -3
  472. package/dist/telemetry/BrowserPerformanceClient.mjs.map +1 -1
  473. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  474. package/dist/utils/BrowserConstants.mjs +1 -1
  475. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  476. package/dist/utils/BrowserUtils.mjs +1 -1
  477. package/dist/utils/Helpers.mjs +1 -1
  478. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  479. package/lib/custom-auth-path/msal-custom-auth.cjs +865 -210
  480. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  481. package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts.map +1 -1
  482. package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
  483. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +3 -1
  484. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts.map +1 -1
  485. package/lib/custom-auth-path/types/custom_auth/controller/CustomAuthStandardController.d.ts +1 -0
  486. package/lib/custom-auth-path/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  487. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +2 -0
  488. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  489. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -1
  490. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowState.d.ts +1 -1
  491. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -1
  492. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts +15 -0
  493. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts.map +1 -0
  494. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +27 -0
  495. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -0
  496. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +41 -0
  497. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -0
  498. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +33 -0
  499. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -0
  500. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts +4 -0
  501. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -0
  502. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +4 -0
  503. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -0
  504. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +74 -0
  505. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -0
  506. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts +20 -0
  507. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts.map +1 -0
  508. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +22 -0
  509. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
  510. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +36 -0
  511. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
  512. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +30 -0
  513. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
  514. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +7 -0
  515. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
  516. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +7 -0
  517. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
  518. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +59 -0
  519. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
  520. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
  521. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
  522. package/lib/custom-auth-path/types/custom_auth/core/error/MsalCustomAuthError.d.ts +1 -2
  523. package/lib/custom-auth-path/types/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -1
  524. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +10 -0
  525. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
  526. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +21 -0
  527. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -0
  528. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +20 -0
  529. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -0
  530. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +22 -0
  531. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -0
  532. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
  533. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
  534. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
  535. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
  536. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
  537. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
  538. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +2 -0
  539. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
  540. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +4 -0
  541. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
  542. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +2 -0
  543. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -1
  544. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts +18 -0
  545. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts.map +1 -0
  546. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +7 -2
  547. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  548. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +21 -1
  549. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  550. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +26 -0
  551. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
  552. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +2 -0
  553. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
  554. package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts +4 -0
  555. package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
  556. package/lib/custom-auth-path/types/custom_auth/index.d.ts +11 -3
  557. package/lib/custom-auth-path/types/custom_auth/index.d.ts.map +1 -1
  558. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -1
  559. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -1
  560. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +2 -0
  561. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -1
  562. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +10 -1
  563. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
  564. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +10 -2
  565. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
  566. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +19 -2
  567. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
  568. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  569. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
  570. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
  571. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +2 -0
  572. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
  573. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +14 -13
  574. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  575. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +13 -0
  576. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
  577. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -1
  578. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -1
  579. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -1
  580. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +2 -0
  581. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -1
  582. package/lib/custom-auth-path/types/naa/TokenRequest.d.ts +1 -0
  583. package/lib/custom-auth-path/types/naa/TokenRequest.d.ts.map +1 -1
  584. package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
  585. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  586. package/lib/msal-browser.cjs +134 -136
  587. package/lib/msal-browser.cjs.map +1 -1
  588. package/lib/msal-browser.js +134 -136
  589. package/lib/msal-browser.js.map +1 -1
  590. package/lib/msal-browser.min.js +60 -60
  591. package/lib/types/controllers/NestedAppAuthController.d.ts.map +1 -1
  592. package/lib/types/controllers/StandardController.d.ts.map +1 -1
  593. package/lib/types/custom_auth/CustomAuthConstants.d.ts +3 -1
  594. package/lib/types/custom_auth/CustomAuthConstants.d.ts.map +1 -1
  595. package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts +1 -0
  596. package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  597. package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +2 -0
  598. package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  599. package/lib/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -1
  600. package/lib/types/custom_auth/core/auth_flow/AuthFlowState.d.ts +1 -1
  601. package/lib/types/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -1
  602. package/lib/types/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts +15 -0
  603. package/lib/types/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts.map +1 -0
  604. package/lib/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +27 -0
  605. package/lib/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -0
  606. package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +41 -0
  607. package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -0
  608. package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +33 -0
  609. package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -0
  610. package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts +4 -0
  611. package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -0
  612. package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +4 -0
  613. package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -0
  614. package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +74 -0
  615. package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -0
  616. package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts +20 -0
  617. package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts.map +1 -0
  618. package/lib/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +22 -0
  619. package/lib/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
  620. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +36 -0
  621. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
  622. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +30 -0
  623. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
  624. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +7 -0
  625. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
  626. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +7 -0
  627. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
  628. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +59 -0
  629. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
  630. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
  631. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
  632. package/lib/types/custom_auth/core/error/MsalCustomAuthError.d.ts +1 -2
  633. package/lib/types/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -1
  634. package/lib/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +10 -0
  635. package/lib/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
  636. package/lib/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +21 -0
  637. package/lib/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -0
  638. package/lib/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +20 -0
  639. package/lib/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -0
  640. package/lib/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +22 -0
  641. package/lib/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -0
  642. package/lib/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
  643. package/lib/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
  644. package/lib/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
  645. package/lib/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
  646. package/lib/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
  647. package/lib/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
  648. package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +2 -0
  649. package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
  650. package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +4 -0
  651. package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
  652. package/lib/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +2 -0
  653. package/lib/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -1
  654. package/lib/types/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts +18 -0
  655. package/lib/types/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts.map +1 -0
  656. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +7 -2
  657. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  658. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +21 -1
  659. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  660. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +26 -0
  661. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
  662. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +2 -0
  663. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
  664. package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts +4 -0
  665. package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
  666. package/lib/types/custom_auth/index.d.ts +11 -3
  667. package/lib/types/custom_auth/index.d.ts.map +1 -1
  668. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -1
  669. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -1
  670. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +2 -0
  671. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -1
  672. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +10 -1
  673. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
  674. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +10 -2
  675. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
  676. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +19 -2
  677. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
  678. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  679. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
  680. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
  681. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +2 -0
  682. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
  683. package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +14 -13
  684. package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  685. package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +13 -0
  686. package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
  687. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -1
  688. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -1
  689. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -1
  690. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +2 -0
  691. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -1
  692. package/lib/types/naa/TokenRequest.d.ts +1 -0
  693. package/lib/types/naa/TokenRequest.d.ts.map +1 -1
  694. package/lib/types/packageMetadata.d.ts +1 -1
  695. package/lib/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  696. package/package.json +3 -3
  697. package/src/controllers/NestedAppAuthController.ts +41 -23
  698. package/src/controllers/StandardController.ts +97 -79
  699. package/src/custom_auth/CustomAuthConstants.ts +2 -0
  700. package/src/custom_auth/controller/CustomAuthStandardController.ts +62 -14
  701. package/src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts +22 -1
  702. package/src/custom_auth/core/auth_flow/AuthFlowResultBase.ts +14 -0
  703. package/src/custom_auth/core/auth_flow/AuthFlowState.ts +1 -1
  704. package/src/custom_auth/core/auth_flow/jit/AuthMethodDetails.ts +21 -0
  705. package/src/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.ts +40 -0
  706. package/src/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.ts +79 -0
  707. package/src/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.ts +64 -0
  708. package/src/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.ts +8 -0
  709. package/src/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.ts +8 -0
  710. package/src/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.ts +260 -0
  711. package/src/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.ts +30 -0
  712. package/src/custom_auth/core/auth_flow/mfa/error_type/MfaError.ts +32 -0
  713. package/src/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.ts +59 -0
  714. package/src/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.ts +52 -0
  715. package/src/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.ts +11 -0
  716. package/src/custom_auth/core/auth_flow/mfa/state/MfaFailedState.ts +11 -0
  717. package/src/custom_auth/core/auth_flow/mfa/state/MfaState.ts +188 -0
  718. package/src/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.ts +28 -0
  719. package/src/custom_auth/core/error/MsalCustomAuthError.ts +2 -5
  720. package/src/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.ts +46 -0
  721. package/src/custom_auth/core/interaction_client/jit/JitClient.ts +165 -0
  722. package/src/custom_auth/core/interaction_client/jit/parameter/JitParams.ts +27 -0
  723. package/src/custom_auth/core/interaction_client/jit/result/JitActionResult.ts +47 -0
  724. package/src/custom_auth/core/interaction_client/mfa/MfaClient.ts +148 -0
  725. package/src/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.ts +20 -0
  726. package/src/custom_auth/core/interaction_client/mfa/result/MfaActionResult.ts +48 -0
  727. package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.ts +7 -0
  728. package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.ts +5 -0
  729. package/src/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.ts +2 -0
  730. package/src/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.ts +95 -0
  731. package/src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts +29 -2
  732. package/src/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.ts +26 -1
  733. package/src/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.ts +32 -0
  734. package/src/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.ts +2 -0
  735. package/src/custom_auth/core/telemetry/PublicApiId.ts +8 -0
  736. package/src/custom_auth/index.ts +35 -4
  737. package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.ts +2 -0
  738. package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.ts +1 -0
  739. package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.ts +2 -0
  740. package/src/custom_auth/sign_in/auth_flow/result/SignInResult.ts +14 -1
  741. package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.ts +17 -2
  742. package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.ts +30 -2
  743. package/src/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.ts +23 -12
  744. package/src/custom_auth/sign_in/auth_flow/state/SignInContinuationState.ts +50 -9
  745. package/src/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.ts +50 -12
  746. package/src/custom_auth/sign_in/auth_flow/state/SignInStateParameters.ts +2 -0
  747. package/src/custom_auth/sign_in/interaction_client/SignInClient.ts +166 -82
  748. package/src/custom_auth/sign_in/interaction_client/result/SignInActionResult.ts +31 -0
  749. package/src/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.ts +1 -0
  750. package/src/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.ts +4 -0
  751. package/src/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.ts +2 -0
  752. package/src/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.ts +2 -0
  753. package/src/naa/TokenRequest.ts +1 -0
  754. package/src/packageMetadata.ts +1 -1
  755. package/src/telemetry/BrowserPerformanceClient.ts +5 -2
  756. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts +0 -21
  757. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts.map +0 -1
  758. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.mjs +0 -24
  759. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.mjs.map +0 -1
  760. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts +0 -21
  761. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts.map +0 -1
  762. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts +0 -21
  763. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts.map +0 -1
  764. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts +0 -21
  765. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts.map +0 -1
  766. package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.ts +0 -43
@@ -1 +1 @@
1
- {"version":3,"file":"SignInPasswordRequiredState.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAErF,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,qCAAqC,EAAE,MAAM,4BAA4B,CAAC;AAKnF,qBAAa,2BAA4B,SAAQ,WAAW,CAAC,qCAAqC,CAAC;IAC/F;;;;OAIG;IACG,cAAc,CAChB,QAAQ,EAAE,MAAM,GACjB,OAAO,CAAC,0BAA0B,CAAC;IAqDtC;;;OAGG;IACH,SAAS,IAAI,MAAM,EAAE,GAAG,SAAS;CAGpC"}
1
+ {"version":3,"file":"SignInPasswordRequiredState.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAErF,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,qCAAqC,EAAE,MAAM,4BAA4B,CAAC;AAUnF,qBAAa,2BAA4B,SAAQ,WAAW,CAAC,qCAAqC,CAAC;IAC/F;;;;OAIG;IACG,cAAc,CAChB,QAAQ,EAAE,MAAM,GACjB,OAAO,CAAC,0BAA0B,CAAC;IAsFtC;;;OAGG;IACH,SAAS,IAAI,MAAM,EAAE,GAAG,SAAS;CAGpC"}
@@ -1,9 +1,11 @@
1
- /*! @azure/msal-browser v4.22.1 2025-09-09 */
1
+ /*! @azure/msal-browser v4.24.0 2025-09-24 */
2
2
  'use strict';
3
3
  import { CustomAuthAccountData } from '../../../get_account/auth_flow/CustomAuthAccountData.mjs';
4
4
  import { SignInSubmitPasswordResult } from '../result/SignInSubmitPasswordResult.mjs';
5
5
  import { SignInCompletedState } from './SignInCompletedState.mjs';
6
6
  import { SignInState } from './SignInState.mjs';
7
+ import { SIGN_IN_COMPLETED_RESULT_TYPE, SIGN_IN_JIT_REQUIRED_RESULT_TYPE } from '../../interaction_client/result/SignInActionResult.mjs';
8
+ import { AuthMethodRegistrationRequiredState } from '../../../core/auth_flow/jit/state/AuthMethodRegistrationState.mjs';
7
9
 
8
10
  /*
9
11
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -32,10 +34,34 @@ class SignInPasswordRequiredState extends SignInState {
32
34
  claims: this.stateParameters.claims,
33
35
  };
34
36
  this.stateParameters.logger.verbose("Submitting password for sign-in.", this.stateParameters.correlationId);
35
- const completedResult = await this.stateParameters.signInClient.submitPassword(submitPasswordParams);
37
+ const submitPasswordResult = await this.stateParameters.signInClient.submitPassword(submitPasswordParams);
36
38
  this.stateParameters.logger.verbose("Password submitted for sign-in.", this.stateParameters.correlationId);
37
- const accountInfo = new CustomAuthAccountData(completedResult.authenticationResult.account, this.stateParameters.config, this.stateParameters.cacheClient, this.stateParameters.logger, this.stateParameters.correlationId);
38
- return new SignInSubmitPasswordResult(new SignInCompletedState(), accountInfo);
39
+ if (submitPasswordResult.type === SIGN_IN_COMPLETED_RESULT_TYPE) {
40
+ const accountInfo = new CustomAuthAccountData(submitPasswordResult.authenticationResult.account, this.stateParameters.config, this.stateParameters.cacheClient, this.stateParameters.logger, this.stateParameters.correlationId);
41
+ return new SignInSubmitPasswordResult(new SignInCompletedState(), accountInfo);
42
+ }
43
+ else if (submitPasswordResult.type === SIGN_IN_JIT_REQUIRED_RESULT_TYPE) {
44
+ // JIT is required - return AuthMethodRegistrationRequiredState
45
+ this.stateParameters.logger.verbose("Authentication method registration required after password submission.", this.stateParameters.correlationId);
46
+ return new SignInSubmitPasswordResult(new AuthMethodRegistrationRequiredState({
47
+ correlationId: this.stateParameters.correlationId,
48
+ continuationToken: submitPasswordResult.continuationToken,
49
+ logger: this.stateParameters.logger,
50
+ config: this.stateParameters.config,
51
+ jitClient: this.stateParameters.jitClient,
52
+ cacheClient: this.stateParameters.cacheClient,
53
+ authMethods: submitPasswordResult.authMethods,
54
+ username: this.stateParameters.username,
55
+ scopes: this.stateParameters.scopes ?? [],
56
+ claims: this.stateParameters.claims,
57
+ }));
58
+ }
59
+ else {
60
+ // Unexpected result type
61
+ const result = submitPasswordResult;
62
+ const error = new Error(`Unexpected result type: ${result.type}`);
63
+ return SignInSubmitPasswordResult.createWithError(error);
64
+ }
39
65
  }
40
66
  catch (error) {
41
67
  this.stateParameters.logger.errorPii(`Failed to sign in after submitting password. Error: ${error}.`, this.stateParameters.correlationId);
@@ -1 +1 @@
1
- {"version":3,"file":"SignInPasswordRequiredState.mjs","sources":["../../../../../../../src/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;;;AAGG;AASH;;AAEG;AACG,MAAO,2BAA4B,SAAQ,WAAkD,CAAA;AAC/F;;;;AAIG;IACH,MAAM,cAAc,CAChB,QAAgB,EAAA;QAEhB,IAAI;AACA,YAAA,IAAI,CAAC,wBAAwB,CAAC,QAAQ,CAAC,CAAC;AAExC,YAAA,MAAM,oBAAoB,GAA+B;gBACrD,QAAQ,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ;AACnD,gBAAA,aAAa,EAAE,IAAI,CAAC,eAAe,CAAC,aAAa;gBACjD,aAAa,EACT,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,UAAU,CAAC,cAAc,IAAI,EAAE;AAC/D,gBAAA,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM,IAAI,EAAE;AACzC,gBAAA,iBAAiB,EAAE,IAAI,CAAC,eAAe,CAAC,iBAAiB,IAAI,EAAE;AAC/D,gBAAA,QAAQ,EAAE,QAAQ;AAClB,gBAAA,QAAQ,EAAE,IAAI,CAAC,eAAe,CAAC,QAAQ;AACvC,gBAAA,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM;aACtC,CAAC;AAEF,YAAA,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,OAAO,CAC/B,kCAAkC,EAClC,IAAI,CAAC,eAAe,CAAC,aAAa,CACrC,CAAC;AAEF,YAAA,MAAM,eAAe,GACjB,MAAM,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,cAAc,CAClD,oBAAoB,CACvB,CAAC;AAEN,YAAA,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,OAAO,CAC/B,iCAAiC,EACjC,IAAI,CAAC,eAAe,CAAC,aAAa,CACrC,CAAC;AAEF,YAAA,MAAM,WAAW,GAAG,IAAI,qBAAqB,CACzC,eAAe,CAAC,oBAAoB,CAAC,OAAO,EAC5C,IAAI,CAAC,eAAe,CAAC,MAAM,EAC3B,IAAI,CAAC,eAAe,CAAC,WAAW,EAChC,IAAI,CAAC,eAAe,CAAC,MAAM,EAC3B,IAAI,CAAC,eAAe,CAAC,aAAa,CACrC,CAAC;YAEF,OAAO,IAAI,0BAA0B,CACjC,IAAI,oBAAoB,EAAE,EAC1B,WAAW,CACd,CAAC;AACL,SAAA;AAAC,QAAA,OAAO,KAAK,EAAE;AACZ,YAAA,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,QAAQ,CAChC,CAAA,oDAAA,EAAuD,KAAK,CAAA,CAAA,CAAG,EAC/D,IAAI,CAAC,eAAe,CAAC,aAAa,CACrC,CAAC;AAEF,YAAA,OAAO,0BAA0B,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;AAC5D,SAAA;KACJ;AAED;;;AAGG;IACH,SAAS,GAAA;AACL,QAAA,OAAO,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC;KACtC;AACJ;;;;"}
1
+ {"version":3,"file":"SignInPasswordRequiredState.mjs","sources":["../../../../../../../src/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;AAAA;;;AAGG;AAcH;;AAEG;AACG,MAAO,2BAA4B,SAAQ,WAAkD,CAAA;AAC/F;;;;AAIG;IACH,MAAM,cA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,OAAO,KAAK,EAAE;AACZ,YAAA,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,QAAQ,CAChC,CAAA,oDAAA,EAAuD,KAAK,CAAA,CAAA,CAAG,EAC/D,IAAI,CAAC,eAAe,CAAC,aAAa,CACrC,CAAC;AAEF,YAAA,OAAO,0BAA0B,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;AAC5D,SAAA;KACJ;AAED;;;AAGG;IACH,SAAS,GAAA;AACL,QAAA,OAAO,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC;KACtC;AACJ;;;;"}
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.22.1 2025-09-09 */
1
+ /*! @azure/msal-browser v4.24.0 2025-09-24 */
2
2
  'use strict';
3
3
  import { AuthFlowActionRequiredStateBase } from '../../../core/auth_flow/AuthFlowState.mjs';
4
4
  import { ensureArgumentIsNotEmptyString } from '../../../core/utils/ArgumentValidator.mjs';
@@ -2,11 +2,13 @@ import { AuthFlowActionRequiredStateParameters } from "../../../core/auth_flow/A
2
2
  import { CustomAuthSilentCacheClient } from "../../../get_account/interaction_client/CustomAuthSilentCacheClient.js";
3
3
  import { SignInClient } from "../../interaction_client/SignInClient.js";
4
4
  import { SignInScenarioType } from "../SignInScenario.js";
5
+ import { JitClient } from "../../../core/interaction_client/jit/JitClient.js";
5
6
  export interface SignInStateParameters extends AuthFlowActionRequiredStateParameters {
6
7
  username: string;
7
8
  signInClient: SignInClient;
8
9
  cacheClient: CustomAuthSilentCacheClient;
9
10
  claims?: string;
11
+ jitClient: JitClient;
10
12
  }
11
13
  export interface SignInPasswordRequiredStateParameters extends SignInStateParameters {
12
14
  scopes?: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"SignInStateParameters.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/state/SignInStateParameters.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qCAAqC,EAAE,MAAM,0CAA0C,CAAC;AACjG,OAAO,EAAE,2BAA2B,EAAE,MAAM,wEAAwE,CAAC;AACrH,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,WAAW,qBACb,SAAQ,qCAAqC;IAC7C,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,YAAY,CAAC;IAC3B,WAAW,EAAE,2BAA2B,CAAC;IACzC,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,qCACb,SAAQ,qBAAqB;IAC7B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,iCACb,SAAQ,qBAAqB;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,iCACb,SAAQ,qBAAqB;IAC7B,cAAc,EAAE,kBAAkB,CAAC;CACtC"}
1
+ {"version":3,"file":"SignInStateParameters.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/state/SignInStateParameters.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qCAAqC,EAAE,MAAM,0CAA0C,CAAC;AACjG,OAAO,EAAE,2BAA2B,EAAE,MAAM,wEAAwE,CAAC;AACrH,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,mDAAmD,CAAC;AAE9E,MAAM,WAAW,qBACb,SAAQ,qCAAqC;IAC7C,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,YAAY,CAAC;IAC3B,WAAW,EAAE,2BAA2B,CAAC;IACzC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,SAAS,CAAC;CACxB;AAED,MAAM,WAAW,qCACb,SAAQ,qBAAqB;IAC7B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,iCACb,SAAQ,qBAAqB;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,iCACb,SAAQ,qBAAqB;IAC7B,cAAc,EAAE,kBAAkB,CAAC;CACtC"}
@@ -1,16 +1,7 @@
1
1
  import { CustomAuthInteractionClientBase } from "../../core/interaction_client/CustomAuthInteractionClientBase.js";
2
2
  import { SignInStartParams, SignInResendCodeParams, SignInSubmitCodeParams, SignInSubmitPasswordParams, SignInContinuationTokenParams } from "./parameter/SignInParams.js";
3
- import { SignInCodeSendResult, SignInCompletedResult, SignInPasswordRequiredResult } from "./result/SignInActionResult.js";
4
- import { ICustomAuthApiClient } from "../../core/network_client/custom_auth_api/ICustomAuthApiClient.js";
5
- import { CustomAuthAuthority } from "../../core/CustomAuthAuthority.js";
6
- import { ICrypto, IPerformanceClient, Logger } from "@azure/msal-common/browser";
7
- import { BrowserConfiguration } from "../../../config/Configuration.js";
8
- import { BrowserCacheManager } from "../../../cache/BrowserCacheManager.js";
9
- import { EventHandler } from "../../../event/EventHandler.js";
10
- import { INavigationClient } from "../../../navigation/INavigationClient.js";
3
+ import { SignInCodeSendResult, SignInCompletedResult, SignInPasswordRequiredResult, SignInJitRequiredResult, SignInMfaRequiredResult } from "./result/SignInActionResult.js";
11
4
  export declare class SignInClient extends CustomAuthInteractionClientBase {
12
- private readonly tokenResponseHandler;
13
- constructor(config: BrowserConfiguration, storageImpl: BrowserCacheManager, browserCrypto: ICrypto, logger: Logger, eventHandler: EventHandler, navigationClient: INavigationClient, performanceClient: IPerformanceClient, customAuthApiClient: ICustomAuthApiClient, customAuthAuthority: CustomAuthAuthority);
14
5
  /**
15
6
  * Starts the signin flow.
16
7
  * @param parameters The parameters required to start the sign-in flow.
@@ -28,21 +19,31 @@ export declare class SignInClient extends CustomAuthInteractionClientBase {
28
19
  * @param parameters The parameters required to submit the code.
29
20
  * @returns The result of the sign-in submit code action.
30
21
  */
31
- submitCode(parameters: SignInSubmitCodeParams): Promise<SignInCompletedResult>;
22
+ submitCode(parameters: SignInSubmitCodeParams): Promise<SignInCompletedResult | SignInJitRequiredResult | SignInMfaRequiredResult>;
32
23
  /**
33
24
  * Submits the password for sign-in flow.
34
25
  * @param parameters The parameters required to submit the password.
35
26
  * @returns The result of the sign-in submit password action.
36
27
  */
37
- submitPassword(parameters: SignInSubmitPasswordParams): Promise<SignInCompletedResult>;
28
+ submitPassword(parameters: SignInSubmitPasswordParams): Promise<SignInCompletedResult | SignInJitRequiredResult | SignInMfaRequiredResult>;
38
29
  /**
39
30
  * Signs in with continuation token.
40
31
  * @param parameters The parameters required to sign in with continuation token.
41
32
  * @returns The result of the sign-in complete action.
42
33
  */
43
- signInWithContinuationToken(parameters: SignInContinuationTokenParams): Promise<SignInCompletedResult>;
34
+ signInWithContinuationToken(parameters: SignInContinuationTokenParams): Promise<SignInCompletedResult | SignInJitRequiredResult | SignInMfaRequiredResult>;
35
+ /**
36
+ * Common method to handle token endpoint calls and create sign-in results.
37
+ * @param tokenEndpointCaller Function that calls the specific token endpoint
38
+ * @param scopes Scopes for the token request
39
+ * @param correlationId Correlation ID for logging and result
40
+ * @param telemetryManager Telemetry manager for telemetry logging
41
+ * @returns SignInCompletedResult | SignInJitRequiredResult | SignInMfaRequiredResult with authentication result
42
+ */
44
43
  private performTokenRequest;
45
44
  private performChallengeRequest;
46
45
  private getPublicApiIdBySignInScenario;
46
+ private handleJitRequiredError;
47
+ private handleMfaRequiredError;
47
48
  }
48
49
  //# sourceMappingURL=SignInClient.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SignInClient.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/sign_in/interaction_client/SignInClient.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,+BAA+B,EAAE,MAAM,kEAAkE,CAAC;AACnH,OAAO,EACH,iBAAiB,EACjB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C,qBAAqB,CAAC;IA+BjC;;;;OAIG;IACG,2BAA2B,CAC7B,UAAU,EAAE,6BAA6B,GAC1C,OAAO,CAAC,qBAAqB,CAAC;YA8BnB,mBAAmB;YAyCnB,uBAAuB;IA6DrC,OAAO,CAAC,8BAA8B;CAgBzC"}
1
+ {"version":3,"file":"SignInClient.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/sign_in/interaction_client/SignInClient.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,+BAA+B,EAAE,MAAM,kEAAkE,CAAC;AACnH,OAAO,EACH,iBAAiB,EACjB,sBAAsB,EACtB,sBAAsB,EACtB,0BAA0B,EAC1B,6BAA6B,EAChC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAMH,oBAAoB,EACpB,qBAAqB,EACrB,4BAA4B,EAC5B,uBAAuB,EACvB,uBAAuB,EAE1B,MAAM,gCAAgC,CAAC;AAoBxC,qBAAa,YAAa,SAAQ,+BAA+B;IAC7D;;;;OAIG;IACG,KAAK,CACP,UAAU,EAAE,iBAAiB,GAC9B,OAAO,CAAC,4BAA4B,GAAG,oBAAoB,CAAC;IAoC/D;;;;OAIG;IACG,UAAU,CACZ,UAAU,EAAE,sBAAsB,GACnC,OAAO,CAAC,oBAAoB,CAAC;IA6BhC;;;;OAIG;IACG,UAAU,CACZ,UAAU,EAAE,sBAAsB,GACnC,OAAO,CACJ,qBAAqB,GACrB,uBAAuB,GACvB,uBAAuB,CAC5B;IAkCD;;;;OAIG;IACG,cAAc,CAChB,UAAU,EAAE,0BAA0B,GACvC,OAAO,CACJ,qBAAqB,GACrB,uBAAuB,GACvB,uBAAuB,CAC5B;IAiCD;;;;OAIG;IACG,2BAA2B,CAC7B,UAAU,EAAE,6BAA6B,GAC1C,OAAO,CACJ,qBAAqB,GACrB,uBAAuB,GACvB,uBAAuB,CAC5B;IAgCD;;;;;;;OAOG;YACW,mBAAmB;YA2DnB,uBAAuB;IA6DrC,OAAO,CAAC,8BAA8B;YAiBxB,sBAAsB;YAuCtB,sBAAsB;CAmCvC"}
@@ -1,14 +1,14 @@
1
- /*! @azure/msal-browser v4.22.1 2025-09-09 */
1
+ /*! @azure/msal-browser v4.24.0 2025-09-24 */
2
2
  'use strict';
3
- import { ChallengeType, DefaultCustomAuthApiCodeLength } from '../../CustomAuthConstants.mjs';
3
+ import { GrantType, ChallengeType, DefaultCustomAuthApiCodeLength } from '../../CustomAuthConstants.mjs';
4
4
  import { CustomAuthApiError } from '../../core/error/CustomAuthApiError.mjs';
5
5
  import { UNSUPPORTED_CHALLENGE_TYPE } from '../../core/network_client/custom_auth_api/types/ApiErrorCodes.mjs';
6
+ import { REGISTRATION_REQUIRED, MFA_REQUIRED } from '../../core/network_client/custom_auth_api/types/ApiSuberrors.mjs';
6
7
  import { CustomAuthInteractionClientBase } from '../../core/interaction_client/CustomAuthInteractionClientBase.mjs';
7
- import { SIGN_IN_PASSWORD_REQUIRED_RESULT_TYPE, createSignInCompleteResult, createSignInCodeSendResult, createSignInPasswordRequiredResult } from './result/SignInActionResult.mjs';
8
+ import { SIGN_IN_PASSWORD_REQUIRED_RESULT_TYPE, createSignInCompleteResult, createSignInCodeSendResult, createSignInPasswordRequiredResult, createSignInJitRequiredResult, createSignInMfaRequiredResult } from './result/SignInActionResult.mjs';
8
9
  import { SIGN_IN_WITH_CODE_START, SIGN_IN_WITH_PASSWORD_START, SIGN_IN_RESEND_CODE, SIGN_IN_SUBMIT_CODE, SIGN_IN_SUBMIT_PASSWORD, SIGN_IN_AFTER_PASSWORD_RESET, SIGN_IN_AFTER_SIGN_UP } from '../../core/telemetry/PublicApiId.mjs';
9
10
  import { SignInScenario } from '../auth_flow/SignInScenario.mjs';
10
11
  import { UnexpectedError } from '../../core/error/UnexpectedError.mjs';
11
- import { ResponseHandler } from '@azure/msal-common/browser';
12
12
  import { ensureArgumentIsNotEmptyString } from '../../core/utils/ArgumentValidator.mjs';
13
13
 
14
14
  /*
@@ -16,10 +16,6 @@ import { ensureArgumentIsNotEmptyString } from '../../core/utils/ArgumentValidat
16
16
  * Licensed under the MIT License.
17
17
  */
18
18
  class SignInClient extends CustomAuthInteractionClientBase {
19
- constructor(config, storageImpl, browserCrypto, logger, eventHandler, navigationClient, performanceClient, customAuthApiClient, customAuthAuthority) {
20
- super(config, storageImpl, browserCrypto, logger, eventHandler, navigationClient, performanceClient, customAuthApiClient, customAuthAuthority);
21
- this.tokenResponseHandler = new ResponseHandler(this.config.auth.clientId, this.browserStorage, this.browserCrypto, this.logger, null, null);
22
- }
23
19
  /**
24
20
  * Starts the signin flow.
25
21
  * @param parameters The parameters required to start the sign-in flow.
@@ -81,6 +77,7 @@ class SignInClient extends CustomAuthInteractionClientBase {
81
77
  const request = {
82
78
  continuation_token: parameters.continuationToken,
83
79
  oob: parameters.code,
80
+ grant_type: GrantType.OOB,
84
81
  scope: scopes.join(" "),
85
82
  correlationId: parameters.correlationId,
86
83
  telemetryManager: telemetryManager,
@@ -88,7 +85,7 @@ class SignInClient extends CustomAuthInteractionClientBase {
88
85
  claims: parameters.claims,
89
86
  }),
90
87
  };
91
- return this.performTokenRequest(() => this.customAuthApiClient.signInApi.requestTokensWithOob(request), scopes);
88
+ return this.performTokenRequest(() => this.customAuthApiClient.signInApi.requestTokensWithOob(request), scopes, parameters.correlationId, telemetryManager);
92
89
  }
93
90
  /**
94
91
  * Submits the password for sign-in flow.
@@ -110,7 +107,7 @@ class SignInClient extends CustomAuthInteractionClientBase {
110
107
  claims: parameters.claims,
111
108
  }),
112
109
  };
113
- return this.performTokenRequest(() => this.customAuthApiClient.signInApi.requestTokensWithPassword(request), scopes);
110
+ return this.performTokenRequest(() => this.customAuthApiClient.signInApi.requestTokensWithPassword(request), scopes, parameters.correlationId, telemetryManager);
114
111
  }
115
112
  /**
116
113
  * Signs in with continuation token.
@@ -133,28 +130,39 @@ class SignInClient extends CustomAuthInteractionClientBase {
133
130
  }),
134
131
  };
135
132
  // Call token endpoint.
136
- return this.performTokenRequest(() => this.customAuthApiClient.signInApi.requestTokenWithContinuationToken(request), scopes);
133
+ return this.performTokenRequest(() => this.customAuthApiClient.signInApi.requestTokenWithContinuationToken(request), scopes, parameters.correlationId, telemetryManager);
137
134
  }
138
- async performTokenRequest(tokenEndpointCaller, requestScopes) {
139
- this.logger.verbose("Calling token endpoint for sign in.", this.correlationId);
140
- const requestTimestamp = Math.round(new Date().getTime() / 1000.0);
141
- const tokenResponse = await tokenEndpointCaller();
142
- this.logger.verbose("Token endpoint called for sign in.", this.correlationId);
143
- // Save tokens and create authentication result.
144
- const result = await this.tokenResponseHandler.handleServerTokenResponse(tokenResponse, this.customAuthAuthority, requestTimestamp, {
145
- authority: this.customAuthAuthority.canonicalAuthority,
146
- correlationId: tokenResponse.correlation_id ?? "",
147
- scopes: requestScopes,
148
- storeInCache: {
149
- idToken: true,
150
- accessToken: true,
151
- refreshToken: true,
152
- },
153
- });
154
- return createSignInCompleteResult({
155
- correlationId: tokenResponse.correlation_id ?? "",
156
- authenticationResult: result,
157
- });
135
+ /**
136
+ * Common method to handle token endpoint calls and create sign-in results.
137
+ * @param tokenEndpointCaller Function that calls the specific token endpoint
138
+ * @param scopes Scopes for the token request
139
+ * @param correlationId Correlation ID for logging and result
140
+ * @param telemetryManager Telemetry manager for telemetry logging
141
+ * @returns SignInCompletedResult | SignInJitRequiredResult | SignInMfaRequiredResult with authentication result
142
+ */
143
+ async performTokenRequest(tokenEndpointCaller, scopes, correlationId, telemetryManager) {
144
+ this.logger.verbose("Calling token endpoint for sign in.", correlationId);
145
+ try {
146
+ const tokenResponse = await tokenEndpointCaller();
147
+ this.logger.verbose("Token endpoint response received for sign in.", correlationId);
148
+ const authResult = await this.handleTokenResponse(tokenResponse, scopes, correlationId);
149
+ return createSignInCompleteResult({
150
+ correlationId: tokenResponse.correlation_id ?? correlationId,
151
+ authenticationResult: authResult,
152
+ });
153
+ }
154
+ catch (error) {
155
+ if (error instanceof CustomAuthApiError &&
156
+ error.subError === REGISTRATION_REQUIRED) {
157
+ return this.handleJitRequiredError(error, telemetryManager, correlationId);
158
+ }
159
+ else if (error instanceof CustomAuthApiError &&
160
+ error.subError === MFA_REQUIRED) {
161
+ return this.handleMfaRequiredError(error, telemetryManager, correlationId);
162
+ }
163
+ // Re-throw any other errors or JIT errors when handleJit is false
164
+ throw error;
165
+ }
158
166
  }
159
167
  async performChallengeRequest(request) {
160
168
  this.logger.verbose("Calling challenge endpoint for sign in.", request.correlationId);
@@ -194,6 +202,40 @@ class SignInClient extends CustomAuthInteractionClientBase {
194
202
  throw new UnexpectedError(`Unsupported sign-in scenario '${scenario}'.`, correlationId);
195
203
  }
196
204
  }
205
+ async handleJitRequiredError(error, telemetryManager, correlationId) {
206
+ this.logger.verbose("Auth method registration required for sign in.", correlationId);
207
+ // Call register introspect endpoint to get available authentication methods
208
+ const introspectRequest = {
209
+ continuation_token: error.continuationToken ?? "",
210
+ correlationId: error.correlationId ?? correlationId,
211
+ telemetryManager,
212
+ };
213
+ this.logger.verbose("Calling introspect endpoint for getting auth methods.", correlationId);
214
+ const introspectResponse = await this.customAuthApiClient.registerApi.introspect(introspectRequest);
215
+ this.logger.verbose("Introspect endpoint called for getting auth methods.", introspectResponse.correlation_id ?? correlationId);
216
+ return createSignInJitRequiredResult({
217
+ correlationId: introspectResponse.correlation_id ?? correlationId,
218
+ continuationToken: introspectResponse.continuation_token ?? "",
219
+ authMethods: introspectResponse.methods,
220
+ });
221
+ }
222
+ async handleMfaRequiredError(error, telemetryManager, correlationId) {
223
+ this.logger.verbose("MFA required for sign in.", correlationId);
224
+ // Call sign-in introspect endpoint to get available MFA methods
225
+ const introspectRequest = {
226
+ continuation_token: error.continuationToken ?? "",
227
+ correlationId: error.correlationId ?? correlationId,
228
+ telemetryManager,
229
+ };
230
+ this.logger.verbose("Calling introspect endpoint for MFA auth methods.", correlationId);
231
+ const introspectResponse = await this.customAuthApiClient.signInApi.requestAuthMethods(introspectRequest);
232
+ this.logger.verbose("Introspect endpoint called for MFA auth methods.", introspectResponse.correlation_id ?? correlationId);
233
+ return createSignInMfaRequiredResult({
234
+ correlationId: introspectResponse.correlation_id ?? correlationId,
235
+ continuationToken: introspectResponse.continuation_token ?? "",
236
+ authMethods: introspectResponse.methods,
237
+ });
238
+ }
197
239
  }
198
240
 
199
241
  export { SignInClient };
@@ -1 +1 @@
1
- {"version":3,"file":"SignInClient.mjs","sources":["../../../../../../src/custom_auth/sign_in/interaction_client/SignInClient.ts"],"sourcesContent":[null],"names":["PublicApiId.SIGN_IN_WITH_CODE_START","PublicApiId.SIGN_IN_WITH_PASSWORD_START","PublicApiId.SIGN_IN_RESEND_CODE","CustomAuthApiErrorCode.UNSUPPORTED_CHALLENGE_TYPE","PublicApiId.SIGN_IN_SUBMIT_CODE","PublicApiId.SIGN_IN_SUBMIT_PASSWORD","PublicApiId.SIGN_IN_AFTER_SIGN_UP","PublicApiId.SIGN_IN_AFTER_PASSWORD_RESET"],"mappings":";;;;;;;;;;;;;AAAA;;;AAGG;AAuDG,MAAO,YAAa,SAAQ,+BAA+B,CAAA;AAG7D,IAAA,WAAA,CACI,MAA4B,EAC5B,WAAgC,EAChC,aAAsB,EACtB,MAAc,EACd,YAA0B,EAC1B,gBAAmC,EACnC,iBAAqC,EACrC,mBAAyC,EACzC,mBAAwC,EAAA;AAExC,QAAA,KAAK,CACD,MAAM,EACN,WAAW,EACX,aAAa,EACb,MAAM,EACN,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,CACtB,CAAC;AAEF,QAAA,IAAI,CAAC,oBAAoB,GAAG,IAAI,eAAe,CAC3C,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,EACzB,IAAI,CAAC,cAAc,EACnB,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,MAAM,EACX,IAAI,EACJ,IAAI,CACP,CAAC;KACL;AAED;;;;AAIG;IACH,MAAM,KAAK,CACP,UAA6B,EAAA;AAE7B,QAAA,MAAM,KAAK,GAAG,CAAC,UAAU,CAAC,QAAQ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CAAC,aAAa,CACxB,CAAC;AAEF,YAAA,OAAO,kCAAkC,CAAC;gBACtC,aAAa,EAAE,iBAAiB,CAAC,cAAc;AAC/C,gBAAA,iBAAiB,EAAE,iBAAiB,CAAC,kBAAkB,IAAI,EAAE;AAChE,aAAA,CAAC,CAAC;AACN,SAAA;AAED,QAAA,IAAI,CAAC,MAAM,CAAC,KAAK,CACb,CAA+B,4BAAA,EAAA,iBAAiB,CAAC,cAAc,gBAAgB,EAC/E,OAAO,CAAC,aAAa,CACxB,CAAC;AAEF,QAAA,MAAM,IAAI,kBAAkB,CACxBF,0BAAiD,EACjD,CAAA,4BAAA,EAA+B,iBAAiB,CAAC,cAAc,CAAI,EAAA,CAAA,EACnE,iBAAiB,CAAC,cAAc,CACnC,CAAC;KACL;IAEO,8BAA8B,CAClC,QAA4B,EAC5B,aAAqB,EAAA;AAErB,QAAA,QAAQ,QAAQ;YACZ,KAAK,cAAc,CAAC,iBAAiB;gBACjC,OAAOG,qBAAiC,CAAC;YAC7C,KAAK,cAAc,CAAC,wBAAwB;gBACxC,OAAOC,4BAAwC,CAAC;AACpD,YAAA;gBACI,MAAM,IAAI,eAAe,CACrB,CAAA,8BAAA,EAAiC,QAAQ,CAAI,EAAA,CAAA,EAC7C,aAAa,CAChB,CAAC;AACT,SAAA;KACJ;AACJ;;;;"}
1
+ {"version":3,"file":"SignInClient.mjs","sources":["../../../../../../src/custom_auth/sign_in/interaction_client/SignInClient.ts"],"sourcesContent":[null],"names":["PublicApiId.SIGN_IN_WITH_CODE_START","PublicApiId.SIGN_IN_WITH_PASSWORD_START","PublicApiId.SIGN_IN_RESEND_CODE","CustomAuthApiErrorCode.UNSUPPORTED_CHALLENGE_TYPE","PublicApiId.SIGN_IN_SUBMIT_CODE","PublicApiId.SIGN_IN_SUBMIT_PASSWORD","PublicApiId.SIGN_IN_AFTER_SIGN_UP","PublicApiId.SIGN_IN_AFTER_PASSWORD_RESET"],"mappings":";;;;;;;;;;;;;AAAA;;;AAGG;A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iBAAiB,CACpB,CAAC;AAEN,QAAA,IAAI,CAAC,MAAM,CAAC,OAAO,CACf,kDAAkD,EAClD,kBAAkB,CAAC,cAAc,IAAI,aAAa,CACrD,CAAC;AAEF,QAAA,OAAO,6BAA6B,CAAC;AACjC,YAAA,aAAa,EAAE,kBAAkB,CAAC,cAAc,IAAI,aAAa;AACjE,YAAA,iBAAiB,EAAE,kBAAkB,CAAC,kBAAkB,IAAI,EAAE;YAC9D,WAAW,EAAE,kBAAkB,CAAC,OAAO;AAC1C,SAAA,CAAC,CAAC;KACN;AACJ;;;;"}
@@ -1,4 +1,5 @@
1
1
  import { AuthenticationResult } from "../../../../response/AuthenticationResult.js";
2
+ import { AuthenticationMethod } from "../../../core/network_client/custom_auth_api/types/ApiResponseTypes.js";
2
3
  interface SignInActionResult {
3
4
  type: string;
4
5
  correlationId: string;
@@ -20,11 +21,23 @@ export interface SignInCodeSendResult extends SignInContinuationTokenResult {
20
21
  codeLength: number;
21
22
  bindingMethod: string;
22
23
  }
24
+ export interface SignInJitRequiredResult extends SignInContinuationTokenResult {
25
+ type: typeof SIGN_IN_JIT_REQUIRED_RESULT_TYPE;
26
+ authMethods: AuthenticationMethod[];
27
+ }
28
+ export interface SignInMfaRequiredResult extends SignInContinuationTokenResult {
29
+ type: typeof SIGN_IN_MFA_REQUIRED_RESULT_TYPE;
30
+ authMethods: AuthenticationMethod[];
31
+ }
23
32
  export declare const SIGN_IN_CODE_SEND_RESULT_TYPE = "SignInCodeSendResult";
24
33
  export declare const SIGN_IN_PASSWORD_REQUIRED_RESULT_TYPE = "SignInPasswordRequiredResult";
25
34
  export declare const SIGN_IN_COMPLETED_RESULT_TYPE = "SignInCompletedResult";
35
+ export declare const SIGN_IN_JIT_REQUIRED_RESULT_TYPE = "SignInJitRequiredResult";
36
+ export declare const SIGN_IN_MFA_REQUIRED_RESULT_TYPE = "SignInMfaRequiredResult";
26
37
  export declare function createSignInCompleteResult(input: Omit<SignInCompletedResult, "type">): SignInCompletedResult;
27
38
  export declare function createSignInPasswordRequiredResult(input: Omit<SignInPasswordRequiredResult, "type">): SignInPasswordRequiredResult;
28
39
  export declare function createSignInCodeSendResult(input: Omit<SignInCodeSendResult, "type">): SignInCodeSendResult;
40
+ export declare function createSignInJitRequiredResult(input: Omit<SignInJitRequiredResult, "type">): SignInJitRequiredResult;
41
+ export declare function createSignInMfaRequiredResult(input: Omit<SignInMfaRequiredResult, "type">): SignInMfaRequiredResult;
29
42
  export {};
30
43
  //# sourceMappingURL=SignInActionResult.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SignInActionResult.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/interaction_client/result/SignInActionResult.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AAEpF,UAAU,kBAAkB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;CACzB;AAED,UAAU,6BAA8B,SAAQ,kBAAkB;IAC9D,iBAAiB,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB;IAC7D,IAAI,EAAE,OAAO,6BAA6B,CAAC;IAC3C,oBAAoB,EAAE,oBAAoB,CAAC;CAC9C;AAED,MAAM,WAAW,4BACb,SAAQ,6BAA6B;IACrC,IAAI,EAAE,OAAO,qCAAqC,CAAC;CACtD;AAED,MAAM,WAAW,oBAAqB,SAAQ,6BAA6B;IACvE,IAAI,EAAE,OAAO,6BAA6B,CAAC;IAC3C,gBAAgB,EAAE,MAAM,CAAC;IACzB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,6BAA6B,yBAAyB,CAAC;AACpE,eAAO,MAAM,qCAAqC,iCAChB,CAAC;AACnC,eAAO,MAAM,6BAA6B,0BAA0B,CAAC;AAErE,wBAAgB,0BAA0B,CACtC,KAAK,EAAE,IAAI,CAAC,qBAAqB,EAAE,MAAM,CAAC,GAC3C,qBAAqB,CAKvB;AAED,wBAAgB,kCAAkC,CAC9C,KAAK,EAAE,IAAI,CAAC,4BAA4B,EAAE,MAAM,CAAC,GAClD,4BAA4B,CAK9B;AAED,wBAAgB,0BAA0B,CACtC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,MAAM,CAAC,GAC1C,oBAAoB,CAKtB"}
1
+ {"version":3,"file":"SignInActionResult.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/interaction_client/result/SignInActionResult.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wEAAwE,CAAC;AAE9G,UAAU,kBAAkB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;CACzB;AAED,UAAU,6BAA8B,SAAQ,kBAAkB;IAC9D,iBAAiB,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB;IAC7D,IAAI,EAAE,OAAO,6BAA6B,CAAC;IAC3C,oBAAoB,EAAE,oBAAoB,CAAC;CAC9C;AAED,MAAM,WAAW,4BACb,SAAQ,6BAA6B;IACrC,IAAI,EAAE,OAAO,qCAAqC,CAAC;CACtD;AAED,MAAM,WAAW,oBAAqB,SAAQ,6BAA6B;IACvE,IAAI,EAAE,OAAO,6BAA6B,CAAC;IAC3C,gBAAgB,EAAE,MAAM,CAAC;IACzB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,uBAAwB,SAAQ,6BAA6B;IAC1E,IAAI,EAAE,OAAO,gCAAgC,CAAC;IAC9C,WAAW,EAAE,oBAAoB,EAAE,CAAC;CACvC;AAED,MAAM,WAAW,uBAAwB,SAAQ,6BAA6B;IAC1E,IAAI,EAAE,OAAO,gCAAgC,CAAC;IAC9C,WAAW,EAAE,oBAAoB,EAAE,CAAC;CACvC;AAED,eAAO,MAAM,6BAA6B,yBAAyB,CAAC;AACpE,eAAO,MAAM,qCAAqC,iCAChB,CAAC;AACnC,eAAO,MAAM,6BAA6B,0BAA0B,CAAC;AACrE,eAAO,MAAM,gCAAgC,4BAA4B,CAAC;AAC1E,eAAO,MAAM,gCAAgC,4BAA4B,CAAC;AAE1E,wBAAgB,0BAA0B,CACtC,KAAK,EAAE,IAAI,CAAC,qBAAqB,EAAE,MAAM,CAAC,GAC3C,qBAAqB,CAKvB;AAED,wBAAgB,kCAAkC,CAC9C,KAAK,EAAE,IAAI,CAAC,4BAA4B,EAAE,MAAM,CAAC,GAClD,4BAA4B,CAK9B;AAED,wBAAgB,0BAA0B,CACtC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,MAAM,CAAC,GAC1C,oBAAoB,CAKtB;AAED,wBAAgB,6BAA6B,CACzC,KAAK,EAAE,IAAI,CAAC,uBAAuB,EAAE,MAAM,CAAC,GAC7C,uBAAuB,CAKzB;AAED,wBAAgB,6BAA6B,CACzC,KAAK,EAAE,IAAI,CAAC,uBAAuB,EAAE,MAAM,CAAC,GAC7C,uBAAuB,CAKzB"}
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.22.1 2025-09-09 */
1
+ /*! @azure/msal-browser v4.24.0 2025-09-24 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7,6 +7,8 @@
7
7
  const SIGN_IN_CODE_SEND_RESULT_TYPE = "SignInCodeSendResult";
8
8
  const SIGN_IN_PASSWORD_REQUIRED_RESULT_TYPE = "SignInPasswordRequiredResult";
9
9
  const SIGN_IN_COMPLETED_RESULT_TYPE = "SignInCompletedResult";
10
+ const SIGN_IN_JIT_REQUIRED_RESULT_TYPE = "SignInJitRequiredResult";
11
+ const SIGN_IN_MFA_REQUIRED_RESULT_TYPE = "SignInMfaRequiredResult";
10
12
  function createSignInCompleteResult(input) {
11
13
  return {
12
14
  type: SIGN_IN_COMPLETED_RESULT_TYPE,
@@ -24,7 +26,19 @@ function createSignInCodeSendResult(input) {
24
26
  type: SIGN_IN_CODE_SEND_RESULT_TYPE,
25
27
  ...input,
26
28
  };
29
+ }
30
+ function createSignInJitRequiredResult(input) {
31
+ return {
32
+ type: SIGN_IN_JIT_REQUIRED_RESULT_TYPE,
33
+ ...input,
34
+ };
35
+ }
36
+ function createSignInMfaRequiredResult(input) {
37
+ return {
38
+ type: SIGN_IN_MFA_REQUIRED_RESULT_TYPE,
39
+ ...input,
40
+ };
27
41
  }
28
42
 
29
- export { SIGN_IN_CODE_SEND_RESULT_TYPE, SIGN_IN_COMPLETED_RESULT_TYPE, SIGN_IN_PASSWORD_REQUIRED_RESULT_TYPE, createSignInCodeSendResult, createSignInCompleteResult, createSignInPasswordRequiredResult };
43
+ export { SIGN_IN_CODE_SEND_RESULT_TYPE, SIGN_IN_COMPLETED_RESULT_TYPE, SIGN_IN_JIT_REQUIRED_RESULT_TYPE, SIGN_IN_MFA_REQUIRED_RESULT_TYPE, SIGN_IN_PASSWORD_REQUIRED_RESULT_TYPE, createSignInCodeSendResult, createSignInCompleteResult, createSignInJitRequiredResult, createSignInMfaRequiredResult, createSignInPasswordRequiredResult };
30
44
  //# sourceMappingURL=SignInActionResult.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"SignInActionResult.mjs","sources":["../../../../../../../src/custom_auth/sign_in/interaction_client/result/SignInActionResult.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AA+BI,MAAM,6BAA6B,GAAG,uBAAuB;AAC7D,MAAM,qCAAqC,GAC9C,+BAA+B;AAC5B,MAAM,6BAA6B,GAAG,wBAAwB;AAE/D,SAAU,0BAA0B,CACtC,KAA0C,EAAA;IAE1C,OAAO;AACH,QAAA,IAAI,EAAE,6BAA6B;AACnC,QAAA,GAAG,KAAK;KACX,CAAC;AACN,CAAC;AAEK,SAAU,kCAAkC,CAC9C,KAAiD,EAAA;IAEjD,OAAO;AACH,QAAA,IAAI,EAAE,qCAAqC;AAC3C,QAAA,GAAG,KAAK;KACX,CAAC;AACN,CAAC;AAEK,SAAU,0BAA0B,CACtC,KAAyC,EAAA;IAEzC,OAAO;AACH,QAAA,IAAI,EAAE,6BAA6B;AACnC,QAAA,GAAG,KAAK;KACX,CAAC;AACN;;;;"}
1
+ {"version":3,"file":"SignInActionResult.mjs","sources":["../../../../../../../src/custom_auth/sign_in/interaction_client/result/SignInActionResult.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AA0CI,MAAM,6BAA6B,GAAG,uBAAuB;AAC7D,MAAM,qCAAqC,GAC9C,+BAA+B;AAC5B,MAAM,6BAA6B,GAAG,wBAAwB;AAC9D,MAAM,gCAAgC,GAAG,0BAA0B;AACnE,MAAM,gCAAgC,GAAG,0BAA0B;AAEpE,SAAU,0BAA0B,CACtC,KAA0C,EAAA;IAE1C,OAAO;AACH,QAAA,IAAI,EAAE,6BAA6B;AACnC,QAAA,GAAG,KAAK;KACX,CAAC;AACN,CAAC;AAEK,SAAU,kCAAkC,CAC9C,KAAiD,EAAA;IAEjD,OAAO;AACH,QAAA,IAAI,EAAE,qCAAqC;AAC3C,QAAA,GAAG,KAAK;KACX,CAAC;AACN,CAAC;AAEK,SAAU,0BAA0B,CACtC,KAAyC,EAAA;IAEzC,OAAO;AACH,QAAA,IAAI,EAAE,6BAA6B;AACnC,QAAA,GAAG,KAAK;KACX,CAAC;AACN,CAAC;AAEK,SAAU,6BAA6B,CACzC,KAA4C,EAAA;IAE5C,OAAO;AACH,QAAA,IAAI,EAAE,gCAAgC;AACtC,QAAA,GAAG,KAAK;KACX,CAAC;AACN,CAAC;AAEK,SAAU,6BAA6B,CACzC,KAA4C,EAAA;IAE5C,OAAO;AACH,QAAA,IAAI,EAAE,gCAAgC;AACtC,QAAA,GAAG,KAAK;KACX,CAAC;AACN;;;;"}
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.22.1 2025-09-09 */
1
+ /*! @azure/msal-browser v4.24.0 2025-09-24 */
2
2
  'use strict';
3
3
  import { AuthActionErrorBase } from '../../../core/auth_flow/AuthFlowErrorBase.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.22.1 2025-09-09 */
1
+ /*! @azure/msal-browser v4.24.0 2025-09-24 */
2
2
  'use strict';
3
3
  import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
4
4
  import { SignUpResendCodeError } from '../error_type/SignUpError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.22.1 2025-09-09 */
1
+ /*! @azure/msal-browser v4.24.0 2025-09-24 */
2
2
  'use strict';
3
3
  import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
4
4
  import { SignUpError } from '../error_type/SignUpError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.22.1 2025-09-09 */
1
+ /*! @azure/msal-browser v4.24.0 2025-09-24 */
2
2
  'use strict';
3
3
  import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
4
4
  import { SignUpSubmitAttributesError } from '../error_type/SignUpError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.22.1 2025-09-09 */
1
+ /*! @azure/msal-browser v4.24.0 2025-09-24 */
2
2
  'use strict';
3
3
  import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
4
4
  import { SignUpSubmitCodeError } from '../error_type/SignUpError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.22.1 2025-09-09 */
1
+ /*! @azure/msal-browser v4.24.0 2025-09-24 */
2
2
  'use strict';
3
3
  import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
4
4
  import { SignUpSubmitPasswordError } from '../error_type/SignUpError.mjs';
@@ -1 +1 @@
1
- {"version":3,"file":"SignUpAttributesRequiredState.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAE1E,OAAO,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,uCAAuC,EAAE,MAAM,4BAA4B,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,6EAA6E,CAAC;AAO5G,qBAAa,6BAA8B,SAAQ,WAAW,CAAC,uCAAuC,CAAC;IACnG;;;;;;OAMG;IACG,gBAAgB,CAClB,UAAU,EAAE,qBAAqB,GAClC,OAAO,CAAC,4BAA4B,CAAC;IA8ExC;;;OAGG;IACH,qBAAqB,IAAI,aAAa,EAAE;CAG3C"}
1
+ {"version":3,"file":"SignUpAttributesRequiredState.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAE1E,OAAO,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,uCAAuC,EAAE,MAAM,4BAA4B,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,6EAA6E,CAAC;AAO5G,qBAAa,6BAA8B,SAAQ,WAAW,CAAC,uCAAuC,CAAC;IACnG;;;;;;OAMG;IACG,gBAAgB,CAClB,UAAU,EAAE,qBAAqB,GAClC,OAAO,CAAC,4BAA4B,CAAC;IA+ExC;;;OAGG;IACH,qBAAqB,IAAI,aAAa,EAAE;CAG3C"}
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.22.1 2025-09-09 */
1
+ /*! @azure/msal-browser v4.24.0 2025-09-24 */
2
2
  'use strict';
3
3
  import { InvalidArgumentError } from '../../../core/error/InvalidArgumentError.mjs';
4
4
  import { UnexpectedError } from '../../../core/error/UnexpectedError.mjs';
@@ -50,6 +50,7 @@ class SignUpAttributesRequiredState extends SignUpState {
50
50
  config: this.stateParameters.config,
51
51
  signInClient: this.stateParameters.signInClient,
52
52
  cacheClient: this.stateParameters.cacheClient,
53
+ jitClient: this.stateParameters.jitClient,
53
54
  username: this.stateParameters.username,
54
55
  signInScenario: SignInScenario.SignInAfterSignUp,
55
56
  }));
@@ -1 +1 @@
1
- {"version":3,"file":"SignUpAttributesRequiredState.mjs","sources":["../../../../../../../src/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;AAAA;;;AAGG;AAaH;;AAEG;AACG,MAAO,6BAA8B,SAAQ,WAAoD,CAAA;AACnG;;;;;;AAMG;IACH,MAAM,gBAAgB,CAClB,UAAiC,EAAA;AAEjC,QAAA,IAAI,CAAC,UAAU,IAAI,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE;AACrD,YAAA,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,KAAK,CAC7B,sCAAsC,EACtC,IAAI,CAAC,eAAe,CAAC,aAAa,CACrC,CAAC;YAEF,OAAO,OAAO,CAAC,OAAO,CAClB,4BAA4B,CAAC,eAAe,CACxC,IAAI,oBAAoB,CACpB,YAAY,EACZ,IAAI,CAAC,eAAe,CAAC,aAAa,CACrC,CACJ,CACJ,CAAC;AACL,SAAA;QAED,IAAI;AACA,YAAA,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,OAAO,CAC/B,oCAAoC,EACpC,IAAI,CAAC,eAAe,CAAC,aAAa,CACrC,CAAC;YAEF,MAAM,MAAM,GACR,MAAM,IAAI,CAAC,eAAe,CAA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,YAAA,OAAO,4BAA4B,CAAC,eAAe,CAC/C,IAAI,eAAe,CACf,8BAA8B,EAC9B,IAAI,CAAC,eAAe,CAAC,aAAa,CACrC,CACJ,CAAC;AACL,SAAA;AAAC,QAAA,OAAO,KAAK,EAAE;AACZ,YAAA,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,QAAQ,CAChC,CAAA,gDAAA,EAAmD,KAAK,CAAA,CAAA,CAAG,EAC3D,IAAI,CAAC,eAAe,CAAC,aAAa,CACrC,CAAC;AAEF,YAAA,OAAO,4BAA4B,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;AAC9D,SAAA;KACJ;AAED;;;AAGG;IACH,qBAAqB,GAAA;AACjB,QAAA,OAAO,IAAI,CAAC,eAAe,CAAC,kBAAkB,CAAC;KAClD;AACJ;;;;"}
1
+ {"version":3,"file":"SignUpAttributesRequiredState.mjs","sources":["../../../../../../../src/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;AAAA;;;AAGG;AAaH;;AAEG;AACG,MAAO,6BAA8B,SAAQ,WAAoD,CAAA;AACnG;;;;;;AAMG;IACH,MAAM,gBAAgB,CAClB,UAAiC,EAAA;AAEjC,QAAA,IAAI,CAAC,UAAU,IAAI,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE;AACrD,YAAA,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,KAAK,CAC7B,sCAAsC,EACtC,IAAI,CAAC,eAAe,CAAC,aAAa,CACrC,CAAC;YAEF,OAAO,OAAO,CAAC,OAAO,CAClB,4BAA4B,CAAC,eAAe,CACxC,IAAI,oBAAoB,CACpB,YAAY,EACZ,IAAI,CAAC,eAAe,CAAC,aAAa,CACrC,CACJ,CACJ,CAAC;AACL,SAAA;QAED,IAAI;AACA,YAAA,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,OAAO,CAC/B,oCAAoC,EACp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C,SAAS;AACzC,oBAAA,QAAQ,EAAE,IAAI,CAAC,eAAe,CAAC,QAAQ;oBACvC,cAAc,EAAE,cAAc,CAAC,iBAAiB;AACnD,iBAAA,CAAC,CACL,CAAC;AACL,aAAA;AAED,YAAA,OAAO,4BAA4B,CAAC,eAAe,CAC/C,IAAI,eAAe,CACf,8BAA8B,EAC9B,IAAI,CAAC,eAAe,CAAC,aAAa,CACrC,CACJ,CAAC;AACL,SAAA;AAAC,QAAA,OAAO,KAAK,EAAE;AACZ,YAAA,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,QAAQ,CAChC,CAAA,gDAAA,EAAmD,KAAK,CAAA,CAAA,CAAG,EAC3D,IAAI,CAAC,eAAe,CAAC,aAAa,CACrC,CAAC;AAEF,YAAA,OAAO,4BAA4B,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;AAC9D,SAAA;KACJ;AAED;;;AAGG;IACH,qBAAqB,GAAA;AACjB,QAAA,OAAO,IAAI,CAAC,eAAe,CAAC,kBAAkB,CAAC;KAClD;AACJ;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"SignUpCodeRequiredState.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,iCAAiC,EAAE,MAAM,4BAA4B,CAAC;AAS/E,qBAAa,uBAAwB,SAAQ,WAAW,CAAC,iCAAiC,CAAC;IACvF;;;;OAIG;IACG,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAsG/D;;;OAGG;IACG,UAAU,IAAI,OAAO,CAAC,sBAAsB,CAAC;IA6CnD;;;OAGG;IACH,aAAa,IAAI,MAAM;IAIvB;;;OAGG;IACH,qBAAqB,IAAI,MAAM;CAGlC"}
1
+ {"version":3,"file":"SignUpCodeRequiredState.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,iCAAiC,EAAE,MAAM,4BAA4B,CAAC;AAS/E,qBAAa,uBAAwB,SAAQ,WAAW,CAAC,iCAAiC,CAAC;IACvF;;;;OAIG;IACG,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAyG/D;;;OAGG;IACG,UAAU,IAAI,OAAO,CAAC,sBAAsB,CAAC;IA8CnD;;;OAGG;IACH,aAAa,IAAI,MAAM;IAIvB;;;OAGG;IACH,qBAAqB,IAAI,MAAM;CAGlC"}
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.22.1 2025-09-09 */
1
+ /*! @azure/msal-browser v4.24.0 2025-09-24 */
2
2
  'use strict';
3
3
  import { UnexpectedError } from '../../../core/error/UnexpectedError.mjs';
4
4
  import { SIGN_UP_PASSWORD_REQUIRED_RESULT_TYPE, SIGN_UP_ATTRIBUTES_REQUIRED_RESULT_TYPE, SIGN_UP_COMPLETED_RESULT_TYPE } from '../../interaction_client/result/SignUpActionResult.mjs';
@@ -47,6 +47,7 @@ class SignUpCodeRequiredState extends SignUpState {
47
47
  signInClient: this.stateParameters.signInClient,
48
48
  signUpClient: this.stateParameters.signUpClient,
49
49
  cacheClient: this.stateParameters.cacheClient,
50
+ jitClient: this.stateParameters.jitClient,
50
51
  username: this.stateParameters.username,
51
52
  }));
52
53
  }
@@ -61,6 +62,7 @@ class SignUpCodeRequiredState extends SignUpState {
61
62
  signInClient: this.stateParameters.signInClient,
62
63
  signUpClient: this.stateParameters.signUpClient,
63
64
  cacheClient: this.stateParameters.cacheClient,
65
+ jitClient: this.stateParameters.jitClient,
64
66
  username: this.stateParameters.username,
65
67
  requiredAttributes: result.requiredAttributes,
66
68
  }));
@@ -75,6 +77,7 @@ class SignUpCodeRequiredState extends SignUpState {
75
77
  config: this.stateParameters.config,
76
78
  signInClient: this.stateParameters.signInClient,
77
79
  cacheClient: this.stateParameters.cacheClient,
80
+ jitClient: this.stateParameters.jitClient,
78
81
  username: this.stateParameters.username,
79
82
  signInScenario: SignInScenario.SignInAfterSignUp,
80
83
  }));
@@ -109,6 +112,7 @@ class SignUpCodeRequiredState extends SignUpState {
109
112
  signInClient: this.stateParameters.signInClient,
110
113
  signUpClient: this.stateParameters.signUpClient,
111
114
  cacheClient: this.stateParameters.cacheClient,
115
+ jitClient: this.stateParameters.jitClient,
112
116
  username: this.stateParameters.username,
113
117
  codeLength: result.codeLength,
114
118
  codeResendInterval: result.interval,
@@ -1 +1 @@
1
- {"version":3,"file":"SignUpCodeRequiredState.mjs","sources":["../../../../../../../src/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;AAGG;AAiBH;;AAEG;AACG,MAAO,uBAAwB,SAAQ,WAA8C,CAAA;AACvF;;;;AAIG;IACH,MAAM,UAAU,CAAC,IAAY,EAAA;QACzB,IAAI;YACA,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;AAE9D,YAAA,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,OAAO,CAC/B,8BAA8B,EAC9B,IAAI,CAAC,eAAe,CAAC,aAAa,CACrC,CAAC;YAEF,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,UAAU,CAAC;gBAC9D,QAAQ,EAAE,IAAI,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