@azure/msal-browser 5.25.0 → 5.26.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 (478) hide show
  1. package/dist/app/IPublicClientApplication.mjs +1 -1
  2. package/dist/app/PublicClientApplication.mjs +1 -1
  3. package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  4. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  5. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  6. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  7. package/dist/broker/nativeBroker/PlatformAuthRequest.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/NestedAppAuthController.mjs +7 -2
  22. package/dist/controllers/NestedAppAuthController.mjs.map +1 -1
  23. package/dist/controllers/StandardController.mjs +1 -1
  24. package/dist/crypto/BrowserCrypto.mjs +1 -1
  25. package/dist/crypto/CryptoOps.mjs +1 -1
  26. package/dist/crypto/PkceGenerator.mjs +1 -1
  27. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  28. package/dist/crypto/TokenBindingKeyManager.mjs +1 -1
  29. package/dist/custom_auth/CustomAuthConstants.mjs +1 -1
  30. package/dist/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
  31. package/dist/custom_auth/controller/CustomAuthStandardController.mjs +49 -19
  32. package/dist/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
  33. package/dist/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  34. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
  35. package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  36. package/dist/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  37. package/dist/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
  38. package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
  39. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
  40. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
  41. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
  42. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
  43. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
  44. package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
  45. package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
  46. package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
  47. package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
  48. package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
  49. package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
  50. package/dist/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.mjs +1 -1
  51. package/dist/custom_auth/core/auth_flow/v2/CustomAuthResultV2.mjs +8 -7
  52. package/dist/custom_auth/core/auth_flow/v2/CustomAuthResultV2.mjs.map +1 -1
  53. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.mjs +4 -3
  54. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.mjs.map +1 -1
  55. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.mjs +174 -0
  56. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.mjs.map +1 -0
  57. package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs +67 -17
  58. package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs.map +1 -1
  59. package/dist/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.mjs +3 -4
  60. package/dist/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.mjs.map +1 -1
  61. package/dist/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.mjs +7 -15
  62. package/dist/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.mjs.map +1 -1
  63. package/dist/custom_auth/core/auth_flow/v2/state/CompletedStateV2.mjs +1 -1
  64. package/dist/custom_auth/core/auth_flow/v2/state/FailedStateV2.mjs +1 -1
  65. package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs +1 -5
  66. package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs.map +1 -1
  67. package/dist/custom_auth/core/error/CustomAuthApiError.mjs +3 -2
  68. package/dist/custom_auth/core/error/CustomAuthApiError.mjs.map +1 -1
  69. package/dist/custom_auth/core/error/CustomAuthError.mjs +1 -1
  70. package/dist/custom_auth/core/error/HttpError.mjs +1 -1
  71. package/dist/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  72. package/dist/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  73. package/dist/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  74. package/dist/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  75. package/dist/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  76. package/dist/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  77. package/dist/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  78. package/dist/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  79. package/dist/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  80. package/dist/custom_auth/core/error/UnexpectedError.mjs +1 -1
  81. package/dist/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  82. package/dist/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  83. package/dist/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  84. package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
  85. package/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  86. package/dist/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
  87. package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
  88. package/dist/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
  89. package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
  90. package/dist/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.mjs +61 -52
  91. package/dist/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.mjs.map +1 -1
  92. package/dist/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.mjs +6 -3
  93. package/dist/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.mjs.map +1 -1
  94. package/dist/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.mjs +1 -1
  95. package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  96. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
  97. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
  98. package/dist/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
  99. package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  100. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
  101. package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  102. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  103. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
  104. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.mjs +1 -2
  105. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.mjs.map +1 -1
  106. package/dist/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.mjs +12 -10
  107. package/dist/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.mjs.map +1 -1
  108. package/dist/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.mjs +1 -1
  109. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.mjs +3 -3
  110. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.mjs.map +1 -1
  111. package/dist/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.mjs +1 -1
  112. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.mjs +3 -7
  113. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.mjs.map +1 -1
  114. package/dist/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.mjs +2 -1
  115. package/dist/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.mjs.map +1 -1
  116. package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.mjs +1 -1
  117. package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.mjs +1 -1
  118. package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  119. package/dist/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  120. package/dist/custom_auth/core/telemetry/FlowApiIdHelperV2.mjs +1 -1
  121. package/dist/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
  122. package/dist/custom_auth/core/utils/ArgumentValidator.mjs +8 -2
  123. package/dist/custom_auth/core/utils/ArgumentValidator.mjs.map +1 -1
  124. package/dist/custom_auth/core/utils/CustomHeaderUtils.mjs +1 -1
  125. package/dist/custom_auth/core/utils/UrlUtils.mjs +1 -1
  126. package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
  127. package/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  128. package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  129. package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  130. package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  131. package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  132. package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  133. package/dist/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  134. package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
  135. package/dist/custom_auth/index.mjs +2 -11
  136. package/dist/custom_auth/index.mjs.map +1 -1
  137. package/dist/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  138. package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  139. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  140. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  141. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  142. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  143. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
  144. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  145. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  146. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
  147. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  148. package/dist/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.mjs +1 -3
  149. package/dist/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.mjs.map +1 -1
  150. package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  151. package/dist/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  152. package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
  153. package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  154. package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
  155. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
  156. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
  157. package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
  158. package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  159. package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
  160. package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  161. package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
  162. package/dist/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  163. package/dist/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.mjs +5 -5
  164. package/dist/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.mjs.map +1 -1
  165. package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs +5 -16
  166. package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs.map +1 -1
  167. package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.mjs +35 -0
  168. package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.mjs.map +1 -0
  169. package/dist/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
  170. package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
  171. package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  172. package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  173. package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  174. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  175. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  176. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  177. package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
  178. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
  179. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  180. package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  181. package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
  182. package/dist/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  183. package/dist/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.mjs +1 -3
  184. package/dist/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.mjs.map +1 -1
  185. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.mjs +1 -1
  186. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.mjs +1 -3
  187. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.mjs.map +1 -1
  188. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.mjs +1 -1
  189. package/dist/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  190. package/dist/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  191. package/dist/encode/Base64Decode.mjs +1 -1
  192. package/dist/encode/Base64Encode.mjs +1 -1
  193. package/dist/error/BrowserAuthError.mjs +1 -1
  194. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  195. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  196. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  197. package/dist/error/NativeAuthError.mjs +1 -1
  198. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  199. package/dist/error/NestedAppAuthError.mjs +1 -1
  200. package/dist/event/EventHandler.mjs +1 -1
  201. package/dist/event/EventMessage.mjs +1 -1
  202. package/dist/event/EventType.mjs +1 -1
  203. package/dist/index.mjs +1 -1
  204. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  205. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  206. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  207. package/dist/interaction_client/PopupClient.mjs +4 -3
  208. package/dist/interaction_client/PopupClient.mjs.map +1 -1
  209. package/dist/interaction_client/RedirectClient.mjs +4 -3
  210. package/dist/interaction_client/RedirectClient.mjs.map +1 -1
  211. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  212. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  213. package/dist/interaction_client/SilentIframeClient.mjs +4 -3
  214. package/dist/interaction_client/SilentIframeClient.mjs.map +1 -1
  215. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  216. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  217. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  218. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  219. package/dist/log-strings-mapping.json +1027 -1027
  220. package/dist/naa/BridgeError.mjs +1 -1
  221. package/dist/naa/BridgeProxy.mjs +1 -1
  222. package/dist/naa/BridgeStatusCode.mjs +1 -1
  223. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  224. package/dist/navigation/NavigationClient.mjs +1 -1
  225. package/dist/network/FetchClient.mjs +1 -1
  226. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  227. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  228. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  229. package/dist/packageMetadata.mjs +2 -2
  230. package/dist/popup_relay/constants.mjs +1 -1
  231. package/dist/popup_relay/index.mjs +1 -1
  232. package/dist/popup_relay/relayClient.mjs +1 -1
  233. package/dist/protocol/Authorize.mjs +1 -1
  234. package/dist/redirect_bridge/index.mjs +1 -1
  235. package/dist/request/RequestHelpers.mjs +1 -1
  236. package/dist/request/SilentRequestHelpers.mjs +9 -3
  237. package/dist/request/SilentRequestHelpers.mjs.map +1 -1
  238. package/dist/response/ResponseHandler.mjs +1 -1
  239. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  240. package/dist/telemetry/BrowserPerformanceEvents.mjs +1 -1
  241. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  242. package/dist/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
  243. package/dist/utils/BrowserConstants.mjs +1 -1
  244. package/dist/utils/BrowserDetection.mjs +53 -0
  245. package/dist/utils/BrowserDetection.mjs.map +1 -0
  246. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  247. package/dist/utils/BrowserUtils.mjs +1 -1
  248. package/dist/utils/Helpers.mjs +1 -1
  249. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  250. package/dist/webBrokerBridge/PendingRequestRegistry.mjs +1 -1
  251. package/dist/webBrokerBridge/PerfEventNames.mjs +1 -1
  252. package/dist/webBrokerBridge/WebBrokerBridgeError.mjs +1 -1
  253. package/dist/webBrokerBridge/WebBrokerBridgeErrorMap.mjs +1 -1
  254. package/dist/webBrokerBridge/adapter/CrossVersionRequestAdapter.mjs +1 -1
  255. package/dist/webBrokerBridge/index.mjs +1 -1
  256. package/lib/custom-auth-path/log-strings-mapping.json +519 -519
  257. package/lib/custom-auth-path/msal-custom-auth.cjs +601 -657
  258. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  259. package/lib/custom-auth-path/msal-custom-auth.js +602 -658
  260. package/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
  261. package/lib/log-strings-mapping.json +7 -3
  262. package/lib/msal-browser.cjs +136 -78
  263. package/lib/msal-browser.cjs.map +1 -1
  264. package/lib/msal-browser.js +136 -78
  265. package/lib/msal-browser.js.map +1 -1
  266. package/lib/msal-browser.min.js +2 -2
  267. package/lib/popup-relay/msal-popup-relay.cjs +2 -2
  268. package/lib/popup-relay/msal-popup-relay.cjs.map +1 -1
  269. package/lib/popup-relay/msal-popup-relay.js +2 -2
  270. package/lib/popup-relay/msal-popup-relay.js.map +1 -1
  271. package/lib/popup-relay/msal-popup-relay.min.js +1 -1
  272. package/lib/redirect-bridge/msal-redirect-bridge.cjs +10 -10
  273. package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -1
  274. package/lib/redirect-bridge/msal-redirect-bridge.js +10 -10
  275. package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
  276. package/lib/redirect-bridge/msal-redirect-bridge.min.js +1 -1
  277. package/lib/web-broker-bridge/msal-web-broker-bridge.cjs +1 -1
  278. package/package.json +2 -2
  279. package/src/controllers/NestedAppAuthController.ts +6 -1
  280. package/src/custom_auth/CustomAuthActionInputs.ts +16 -6
  281. package/src/custom_auth/controller/CustomAuthStandardController.ts +78 -17
  282. package/src/custom_auth/core/auth_flow/v2/CustomAuthResultV2.ts +18 -30
  283. package/src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.ts +1 -0
  284. package/src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.ts +239 -0
  285. package/src/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.ts +2 -5
  286. package/src/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.ts +0 -2
  287. package/src/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.ts +13 -10
  288. package/src/custom_auth/core/auth_flow/v2/result/ResendCodeResultV2.ts +19 -0
  289. package/src/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.ts +3 -6
  290. package/src/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.ts +4 -6
  291. package/src/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.ts +114 -17
  292. package/src/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.ts +6 -3
  293. package/src/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.ts +17 -19
  294. package/src/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.ts +5 -5
  295. package/src/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.ts +0 -4
  296. package/src/custom_auth/core/error/CustomAuthApiError.ts +2 -1
  297. package/src/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.ts +3 -4
  298. package/src/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.ts +75 -68
  299. package/src/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.ts +6 -3
  300. package/src/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.ts +2 -4
  301. package/src/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.ts +0 -1
  302. package/src/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.ts +17 -15
  303. package/src/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.ts +1 -1
  304. package/src/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.ts +3 -11
  305. package/src/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.ts +2 -3
  306. package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.ts +1 -0
  307. package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorResponsesV2.ts +2 -0
  308. package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.ts +1 -1
  309. package/src/custom_auth/core/utils/ArgumentValidator.ts +13 -0
  310. package/src/custom_auth/index.ts +4 -14
  311. package/src/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.ts +6 -10
  312. package/src/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.ts +0 -2
  313. package/src/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.ts +3 -6
  314. package/src/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.ts +2 -4
  315. package/src/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.ts +2 -4
  316. package/src/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.ts +5 -4
  317. package/src/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.ts +4 -23
  318. package/src/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.ts +56 -0
  319. package/src/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.ts +1 -5
  320. package/src/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.ts +2 -5
  321. package/src/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.ts +0 -2
  322. package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.ts +0 -2
  323. package/src/interaction_client/PopupClient.ts +9 -1
  324. package/src/interaction_client/RedirectClient.ts +9 -4
  325. package/src/interaction_client/SilentIframeClient.ts +9 -2
  326. package/src/packageMetadata.ts +1 -1
  327. package/src/request/SilentRequestHelpers.ts +11 -2
  328. package/src/utils/BrowserDetection.ts +85 -0
  329. package/types/controllers/NestedAppAuthController.d.ts.map +1 -1
  330. package/types/custom_auth/CustomAuthActionInputs.d.ts +16 -5
  331. package/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -1
  332. package/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  333. package/types/custom_auth/controller/CustomAuthStandardController.d.ts +1 -0
  334. package/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  335. package/types/custom_auth/core/auth_flow/v2/CustomAuthResultV2.d.ts +9 -11
  336. package/types/custom_auth/core/auth_flow/v2/CustomAuthResultV2.d.ts.map +1 -1
  337. package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.d.ts +1 -0
  338. package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.d.ts.map +1 -1
  339. package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.d.ts +90 -0
  340. package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.d.ts.map +1 -0
  341. package/types/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.d.ts +1 -2
  342. package/types/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.d.ts.map +1 -1
  343. package/types/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.d.ts +1 -2
  344. package/types/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.d.ts.map +1 -1
  345. package/types/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.d.ts +8 -7
  346. package/types/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.d.ts.map +1 -1
  347. package/types/custom_auth/core/auth_flow/v2/result/ResendCodeResultV2.d.ts +13 -0
  348. package/types/custom_auth/core/auth_flow/v2/result/ResendCodeResultV2.d.ts.map +1 -0
  349. package/types/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.d.ts +2 -3
  350. package/types/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.d.ts.map +1 -1
  351. package/types/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.d.ts +5 -6
  352. package/types/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.d.ts.map +1 -1
  353. package/types/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.d.ts +9 -6
  354. package/types/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.d.ts.map +1 -1
  355. package/types/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.d.ts.map +1 -1
  356. package/types/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.d.ts +2 -2
  357. package/types/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.d.ts.map +1 -1
  358. package/types/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.d.ts +5 -3
  359. package/types/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.d.ts.map +1 -1
  360. package/types/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.d.ts.map +1 -1
  361. package/types/custom_auth/core/error/CustomAuthApiError.d.ts +2 -1
  362. package/types/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -1
  363. package/types/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.d.ts +1 -3
  364. package/types/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.d.ts.map +1 -1
  365. package/types/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.d.ts +2 -2
  366. package/types/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.d.ts.map +1 -1
  367. package/types/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.d.ts +2 -2
  368. package/types/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.d.ts.map +1 -1
  369. package/types/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.d.ts +2 -4
  370. package/types/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.d.ts.map +1 -1
  371. package/types/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.d.ts +0 -1
  372. package/types/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.d.ts.map +1 -1
  373. package/types/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.d.ts +2 -2
  374. package/types/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.d.ts.map +1 -1
  375. package/types/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.d.ts +1 -1
  376. package/types/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.d.ts.map +1 -1
  377. package/types/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.d.ts.map +1 -1
  378. package/types/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.d.ts +1 -2
  379. package/types/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.d.ts.map +1 -1
  380. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorResponsesV2.d.ts +2 -0
  381. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorResponsesV2.d.ts.map +1 -1
  382. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.d.ts +1 -1
  383. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.d.ts.map +1 -1
  384. package/types/custom_auth/core/utils/ArgumentValidator.d.ts +1 -0
  385. package/types/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -1
  386. package/types/custom_auth/index.d.ts +3 -12
  387. package/types/custom_auth/index.d.ts.map +1 -1
  388. package/types/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.d.ts +5 -7
  389. package/types/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.d.ts.map +1 -1
  390. package/types/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.d.ts.map +1 -1
  391. package/types/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.d.ts +4 -6
  392. package/types/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.d.ts.map +1 -1
  393. package/types/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.d.ts +3 -4
  394. package/types/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.d.ts.map +1 -1
  395. package/types/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.d.ts +3 -4
  396. package/types/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.d.ts.map +1 -1
  397. package/types/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.d.ts.map +1 -1
  398. package/types/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.d.ts +4 -9
  399. package/types/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.d.ts.map +1 -1
  400. package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.d.ts +9 -0
  401. package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.d.ts.map +1 -0
  402. package/types/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.d.ts +1 -2
  403. package/types/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.d.ts.map +1 -1
  404. package/types/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.d.ts +1 -2
  405. package/types/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.d.ts.map +1 -1
  406. package/types/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.d.ts.map +1 -1
  407. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.d.ts.map +1 -1
  408. package/types/interaction_client/PopupClient.d.ts.map +1 -1
  409. package/types/interaction_client/RedirectClient.d.ts.map +1 -1
  410. package/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
  411. package/types/packageMetadata.d.ts +1 -1
  412. package/types/request/SilentRequestHelpers.d.ts +1 -1
  413. package/types/request/SilentRequestHelpers.d.ts.map +1 -1
  414. package/types/utils/BrowserDetection.d.ts +17 -0
  415. package/types/utils/BrowserDetection.d.ts.map +1 -0
  416. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.mjs +0 -102
  417. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.mjs.map +0 -1
  418. package/dist/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.mjs +0 -20
  419. package/dist/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.mjs.map +0 -1
  420. package/dist/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.mjs +0 -36
  421. package/dist/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.mjs.map +0 -1
  422. package/dist/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.mjs +0 -29
  423. package/dist/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.mjs.map +0 -1
  424. package/dist/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.mjs +0 -36
  425. package/dist/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.mjs.map +0 -1
  426. package/dist/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.mjs +0 -61
  427. package/dist/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.mjs.map +0 -1
  428. package/dist/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.mjs +0 -29
  429. package/dist/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.mjs.map +0 -1
  430. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.mjs +0 -18
  431. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.mjs.map +0 -1
  432. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.mjs +0 -37
  433. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.mjs.map +0 -1
  434. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.mjs +0 -23
  435. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.mjs.map +0 -1
  436. package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.mjs +0 -25
  437. package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.mjs.map +0 -1
  438. package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.mjs +0 -33
  439. package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.mjs.map +0 -1
  440. package/src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.ts +0 -146
  441. package/src/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.ts +0 -15
  442. package/src/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.ts +0 -33
  443. package/src/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.ts +0 -25
  444. package/src/custom_auth/core/auth_flow/v2/result/MFARequestChallengeResultV2.ts +0 -18
  445. package/src/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.ts +0 -59
  446. package/src/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.ts +0 -76
  447. package/src/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.ts +0 -25
  448. package/src/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.ts +0 -13
  449. package/src/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.ts +0 -35
  450. package/src/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.ts +0 -19
  451. package/src/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.ts +0 -21
  452. package/src/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.ts +0 -32
  453. package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.d.ts +0 -40
  454. package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.d.ts.map +0 -1
  455. package/types/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.d.ts +0 -11
  456. package/types/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.d.ts.map +0 -1
  457. package/types/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.d.ts +0 -23
  458. package/types/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.d.ts.map +0 -1
  459. package/types/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.d.ts +0 -18
  460. package/types/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.d.ts.map +0 -1
  461. package/types/custom_auth/core/auth_flow/v2/result/MFARequestChallengeResultV2.d.ts +0 -7
  462. package/types/custom_auth/core/auth_flow/v2/result/MFARequestChallengeResultV2.d.ts.map +0 -1
  463. package/types/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.d.ts +0 -17
  464. package/types/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.d.ts.map +0 -1
  465. package/types/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.d.ts +0 -18
  466. package/types/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.d.ts.map +0 -1
  467. package/types/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.d.ts +0 -18
  468. package/types/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.d.ts.map +0 -1
  469. package/types/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.d.ts +0 -9
  470. package/types/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.d.ts.map +0 -1
  471. package/types/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.d.ts +0 -22
  472. package/types/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.d.ts.map +0 -1
  473. package/types/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.d.ts +0 -12
  474. package/types/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.d.ts.map +0 -1
  475. package/types/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.d.ts +0 -14
  476. package/types/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.d.ts.map +0 -1
  477. package/types/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.d.ts +0 -20
  478. package/types/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.d.ts.map +0 -1
@@ -26,11 +26,22 @@ export type SignInWithContinuationTokenInputs = {
26
26
  scopes?: Array<string>;
27
27
  claims?: string;
28
28
  };
29
- export type SignInInputsV2 = SignInInputs;
30
- export type ResetPasswordInputsV2 = ResetPasswordInputs;
31
- export type SignUpInputsV2 = SignUpInputs & {
32
- scopes?: Array<string>;
29
+ export type SignInInputsV2 = CustomAuthActionInputs & {
30
+ username: string;
31
+ password?: string;
32
+ scopes?: Array<string> | null;
33
+ claims?: string;
34
+ };
35
+ export type ResetPasswordInputsV2 = CustomAuthActionInputs & {
36
+ username: string;
37
+ scopes?: Array<string> | null;
38
+ claims?: string;
39
+ };
40
+ export type SignUpInputsV2 = CustomAuthActionInputs & {
41
+ username: string;
42
+ password?: string;
43
+ attributes?: UserAccountAttributes;
44
+ scopes?: Array<string> | null;
33
45
  claims?: string;
34
46
  };
35
- export type SignInContinuationInputsV2 = SignInWithContinuationTokenInputs;
36
47
  //# sourceMappingURL=CustomAuthActionInputs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CustomAuthActionInputs.d.ts","sourceRoot":"","sources":["../../src/custom_auth/CustomAuthActionInputs.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,MAAM,MAAM,sBAAsB,GAAG;IACjC,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,MAAM,MA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EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,sBAAsB,GAAG;IAClD,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,qBAAqB,CAAC;IACnC,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC"}
@@ -23,7 +23,7 @@ export declare const CustomHeaderConstants: {
23
23
  };
24
24
  export declare const DefaultPackageInfo: {
25
25
  readonly SKU: "msal.browser";
26
- readonly VERSION: "5.25.0";
26
+ readonly VERSION: "5.26.0";
27
27
  readonly OS: "";
28
28
  readonly CPU: "";
29
29
  };
@@ -22,6 +22,7 @@ export declare class CustomAuthStandardController extends StandardController imp
22
22
  private readonly authority;
23
23
  private readonly flowClientV2;
24
24
  private readonly signUpStateTransitionHandlerV2;
25
+ private readonly signInStateTransitionHandlerV2;
25
26
  constructor(operatingContext: CustomAuthOperatingContext, customAuthApiClient?: ICustomAuthApiClient, customAuthApiClientV2?: CustomAuthApiClientV2);
26
27
  getCurrentAccount(accountRetrievalInputs?: AccountRetrievalInputs): GetAccountResult;
27
28
  signIn(signInInputs: SignInInputs): Promise<SignInResult>;
@@ -1 +1 @@
1
- {"version":3,"file":"CustomAuthStandardController.d.ts","sourceRoot":"","sources":["../../../src/custom_auth/controller/CustomAuthStandardController.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAM3E,OAAO,EACH,sBAAsB,EACtB,YAAY,EACZ,YAAY,EACZ,mBAAmB,EAEnB,qBA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EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IAiOzD,MAAM,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IAkHzD,aAAa,CACf,mBAAmB,EAAE,mBAAmB,GACzC,OAAO,CAAC,wBAAwB,CAAC;IAsD9B,eAAe,CACjB,MAAM,EAAE,qBAAqB,GAC9B,OAAO,CAAC,0BAA0B,CAAC;IA8EhC,QAAQ,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAqH9D,QAAQ,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,mBAAmB,CAAC;IA4GpE,OAAO,CAAC,gBAAgB;IAQxB,OAAO,CAAC,qBAAqB;CAWhC"}
1
+ {"version":3,"file":"CustomAuthStandardController.d.ts","sourceRoot":"","sources":["../../../src/custom_auth/controller/CustomAuthStandardController.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAM3E,OAAO,EACH,sBAAsB,EACtB,YAAY,EACZ,YAAY,EACZ,mBAAmB,EAEnB,qBAAqB,EACrB,cAAc,EACd,cAAc,EACjB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,0BAA0B,EAAE,MAAM,oDAAoD,CAAC;AAChG,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAGnF,OAAO,EAAE,wBAAwB,EAAE,MAAM,gEAAgE,CAAC;AAC1G,OAAO,EAAE,0BAA0B,EAAE,MAAM,2DAA2D,CAAC;AACvG,OAAO,EAAE,qBAAqB,EAAE,MAAM,oEAAoE,CAAC;AAI3G,OAAO,EAAE,mBAAmB,EAAE,MAAM,uDAAuD,CAAC;AAC5F,OAAO,EAAE,mBAAmB,EAAE,MAAM,uDAAuD,CAAC;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AAC,mBAAmB,CAAC;IAyHpE,OAAO,CAAC,gBAAgB;IAQxB,OAAO,CAAC,qBAAqB;CAWhC"}
@@ -1,10 +1,8 @@
1
1
  import { AuthFlowStateBase } from "../AuthFlowState.js";
2
- import { CustomAuthError } from "../../error/CustomAuthError.js";
3
2
  import { FailedStateV2 } from "./state/FailedStateV2.js";
4
- import { AuthFlowErrorBaseV2 } from "./error/AuthFlowErrorBaseV2.js";
3
+ import { AuthFlowErrorV2 } from "./error/AuthFlowErrorV2.js";
5
4
  import { CustomAuthFlowScenarioV2 } from "./CustomAuthFlowScenarioV2.js";
6
- type CreateWithErrorOptions<TError extends AuthFlowErrorBaseV2> = {
7
- errorType: new (errorData: CustomAuthError, scenario?: CustomAuthFlowScenarioV2) => TError;
5
+ type CreateWithErrorOptions = {
8
6
  scenario?: CustomAuthFlowScenarioV2;
9
7
  correlationId?: string;
10
8
  };
@@ -12,12 +10,12 @@ type CreateWithErrorOptions<TError extends AuthFlowErrorBaseV2> = {
12
10
  * Result of a native auth V2 operation. Use {@link CustomAuthResultV2.isState}
13
11
  * to narrow the state before accessing its members.
14
12
  */
15
- export declare class CustomAuthResultV2<TState extends AuthFlowStateBase, TError extends AuthFlowErrorBaseV2, TData = void> {
13
+ export declare class CustomAuthResultV2<TState extends AuthFlowStateBase, TData = void> {
16
14
  readonly state: TState;
17
15
  readonly data?: TData | undefined;
18
16
  readonly scenario: CustomAuthFlowScenarioV2;
19
17
  constructor(state: TState, data?: TData | undefined, scenario?: CustomAuthFlowScenarioV2);
20
- error?: TError;
18
+ error?: AuthFlowErrorV2;
21
19
  /**
22
20
  * Narrows the result to a specific state by its `stateType` discriminator.
23
21
  * A successful match makes the state's properties available without a cast.
@@ -31,7 +29,7 @@ export declare class CustomAuthResultV2<TState extends AuthFlowStateBase, TError
31
29
  };
32
30
  /**
33
31
  * Checks whether the result is in the terminal failed state. A failed result
34
- * contains the flow-specific error.
32
+ * contains the unified V2 flow error.
35
33
  * @returns True (and narrows `state`) when the operation failed.
36
34
  */
37
35
  isFailed(): this is this & {
@@ -41,12 +39,12 @@ export declare class CustomAuthResultV2<TState extends AuthFlowStateBase, TError
41
39
  };
42
40
  /**
43
41
  * Creates a failed result from the supplied error. The result uses the
44
- * shared {@link FailedStateV2} terminal state.
42
+ * shared {@link FailedStateV2} terminal state and unified V2 flow error.
45
43
  * @param error - The error that occurred.
46
- * @param options - The flow-error type and error context.
47
- * @returns A failed result carrying the flow-specific error.
44
+ * @param options - The flow-error context.
45
+ * @returns A failed result carrying the unified V2 flow error.
48
46
  */
49
- static createWithError<TState extends AuthFlowStateBase, TError extends AuthFlowErrorBaseV2, TData = void>(error: unknown, options: CreateWithErrorOptions<TError>): CustomAuthResultV2<TState | FailedStateV2, TError, TData>;
47
+ static createWithError<TState extends AuthFlowStateBase, TData = void>(error: unknown, options: CreateWithErrorOptions): CustomAuthResultV2<TState | FailedStateV2, TData>;
50
48
  private static createErrorData;
51
49
  }
52
50
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"CustomAuthResultV2.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/auth_flow/v2/CustomAuthResultV2.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAGjE,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,KAAK,sBAAsB,CAAC,MAAM,SAAS,mBAAmB,IAAI;IAC9D,SAAS,EAAE,KACP,SAAS,EAAE,eAAe,EAC1B,QAAQ,CAAC,EAAE,wBAAwB,KAClC,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,wBAAwB,CAAC;IACpC,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF;;;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AC;AAC7D,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,KAAK,sBAAsB,GAAG;IAC1B,QAAQ,CAAC,EAAE,wBAAwB,CAAC;IACpC,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF;;;GAGG;AACH,qBAAa,kBAAkB,CAC3B,MAAM,SAAS,iBAAiB,EAChC,KAAK,GAAG,IAAI;aAGQ,KAAK,EAAE,MAAM;aACb,IAAI,CAAC;aACL,QAAQ,EAAE,wBAAwB;gBAFlC,KAAK,EAAE,MAAM,EACb,IAAI,CAAC,mBAAO,EACZ,QAAQ,GAAE,wBAA2D;IAGzF,KAAK,CAAC,EAAE,eAAe,CAAC;IAExB;;;;;OAKG;IACH,OAAO,CAAC,KAAK,SAAS,MAAM,CAAC,WAAW,CAAC,EACrC,SAAS,EAAE,KAAK,GACjB,IAAI,IAAI,IAAI,GAAG;QAAE,KAAK,EAAE,OAAO,CAAC,MAAM,EAAE;YAAE,SAAS,EAAE,KAAK,CAAA;SAAE,CAAC,CAAA;KAAE;IAIlE;;;;OAIG;IACH,QAAQ,IAAI,IAAI,IAAI,IAAI,GAAG;QACvB,KAAK,EAAE,OAAO,CAAC,MAAM,EAAE;YAAE,SAAS,EAAE,QAAQ,CAAA;SAAE,CAAC,CAAC;KACnD;IAID;;;;;;OAMG;IACH,MAAM,CAAC,eAAe,CAAC,MAAM,SAAS,iBAAiB,EAAE,KAAK,GAAG,IAAI,EACjE,KAAK,EAAE,OAAO,EACd,OAAO,EAAE,sBAAsB,GAChC,kBAAkB,CAAC,MAAM,GAAG,aAAa,EAAE,KAAK,CAAC;IAmBpD,OAAO,CAAC,MAAM,CAAC,eAAe;CAiCjC"}
@@ -1,4 +1,5 @@
1
1
  export declare const INVALID_ONE_TIME_CODE = "invalidOneTimeCode";
2
2
  export declare const INVALID_USERNAME_OR_PASSWORD = "invalidUserNameOrPassword";
3
3
  export declare const PASSWORD_TOO_WEAK = "passwordTooWeak";
4
+ export declare const USER_NOT_FOUND = "userNotFound";
4
5
  //# sourceMappingURL=AuthFlowErrorSubcodesV2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AuthFlowErrorSubcodesV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,qBAAqB,uBAAuB,CAAC;AAC1D,eAAO,MAAM,4BAA4B,8BAA8B,CAAC;AACxE,eAAO,MAAM,iBAAiB,oBAAoB,CAAC"}
1
+ {"version":3,"file":"AuthFlowErrorSubcodesV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,qBAAqB,uBAAuB,CAAC;AAC1D,eAAO,MAAM,4BAA4B,8BAA8B,CAAC;AACxE,eAAO,MAAM,iBAAiB,oBAAoB,CAAC;AACnD,eAAO,MAAM,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,90 @@
1
+ import type { CustomAuthError } from "../../../error/CustomAuthError.js";
2
+ import { CustomAuthFlowScenarioV2 } from "../CustomAuthFlowScenarioV2.js";
3
+ /**
4
+ * Error returned by a native authentication V2 operation. Use its classifiers
5
+ * to handle known failures while retaining raw diagnostics through `errorData`.
6
+ */
7
+ export declare class AuthFlowErrorV2 {
8
+ errorData: CustomAuthError;
9
+ readonly scenario: CustomAuthFlowScenarioV2;
10
+ constructor(errorData: CustomAuthError, scenario?: CustomAuthFlowScenarioV2);
11
+ get correlationId(): string | undefined;
12
+ get errorCodes(): number[] | undefined;
13
+ get errorDescription(): string | undefined;
14
+ get innerErrorCode(): string | undefined;
15
+ /**
16
+ * Gets the attribute ids that the service reports as required.
17
+ */
18
+ get requiredAttributes(): readonly string[];
19
+ /**
20
+ * Gets the attribute ids whose submitted values failed validation.
21
+ */
22
+ get invalidAttributes(): readonly string[];
23
+ /**
24
+ * Checks if the error requires the flow to continue in the browser. The
25
+ * server surfaces this as the `web_redirect_required` OAuth suberror, so a
26
+ * browser hand-off arrives as a `FailedStateV2` on which this detector
27
+ * returns true.
28
+ * @returns True if the browser is required, false otherwise.
29
+ */
30
+ isBrowserRequired(): boolean;
31
+ /**
32
+ * Checks if the error is due to a caller-supplied argument failing
33
+ * client-side validation before the request was issued (for example an empty
34
+ * username, code, or password, or an unknown method id). Use it to prompt the
35
+ * user to correct the input rather than treating it as a server failure.
36
+ * @returns True if the input was invalid, false otherwise.
37
+ */
38
+ isInvalidInput(): boolean;
39
+ /**
40
+ * Checks whether the service rejected the username parameter. Use it to ask
41
+ * the user to correct the supplied username.
42
+ * @returns True when the username is invalid, otherwise false.
43
+ */
44
+ isInvalidUsername(): boolean;
45
+ /**
46
+ * Checks whether the supplied username does not identify an account. Use it
47
+ * to distinguish a missing account from other request failures.
48
+ * @returns True when the service reports that the user was not found.
49
+ */
50
+ isUserNotFound(): boolean;
51
+ /**
52
+ * Checks whether the service rejected the supplied sign-in credentials. This
53
+ * classifier does not identify new-password policy failures.
54
+ * @returns True when the username or password is incorrect.
55
+ */
56
+ isInvalidCredentials(): boolean;
57
+ /**
58
+ * Checks whether the service rejected a one-time code. Use it to prompt the
59
+ * user to re-enter the code or request a new one.
60
+ * @returns True when the one-time code is invalid, otherwise false.
61
+ */
62
+ isInvalidCode(): boolean;
63
+ /**
64
+ * Checks whether a new password violates password policy. It recognizes
65
+ * both weak-password responses and password-targeted validation details.
66
+ * @returns True when the new password is invalid, otherwise false.
67
+ */
68
+ isInvalidPassword(): boolean;
69
+ /**
70
+ * Checks whether an account already exists for the supplied identifier.
71
+ * This can occur at different stages while completing sign-up.
72
+ * @returns True if the account already exists, otherwise false.
73
+ */
74
+ isUserAlreadyExists(): boolean;
75
+ /**
76
+ * Checks whether the service requires attributes omitted from the request.
77
+ * Use it to collect the required attributes before resubmitting.
78
+ * @returns True when required attributes are missing, otherwise false.
79
+ */
80
+ isMissingRequiredAttributes(): boolean;
81
+ private isUserNotFoundError;
82
+ private isUserInvalidError;
83
+ private isInvalidCodeError;
84
+ private isInvalidPasswordError;
85
+ private isPasswordPolicyViolationError;
86
+ private isPasswordIncorrectError;
87
+ private getAttributeValidationDetails;
88
+ private getAttributeIdsByCode;
89
+ }
90
+ //# sourceMappingURL=AuthFlowErrorV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthFlowErrorV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAUzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAG1E;;;GAGG;AACH,qBAAa,eAAe;IAIb,SAAS,EAAE,eAAe;IAHrC,QAAQ,CAAC,QAAQ,EAAE,wBAAwB,CAAC;gBAGjC,SAAS,EAAE,eAAe,EACjC,QAAQ,GAAE,wBAA2D;IAKzE,IAAI,aAAa,IAAI,MAAM,GAAG,SAAS,CAEtC;IAED,IAAI,UAAU,IAAI,MAAM,EAAE,GAAG,SAAS,CAErC;IAED,IAAI,gBAAgB,IAAI,MAAM,GAAG,SAAS,CAEzC;IAED,IAAI,cAAc,IAAI,MAAM,GAAG,SAAS,CAIvC;IAED;;OAEG;IACH,IAAI,kBAAkB,IAAI,SAAS,MAAM,EAAE,CAE1C;IAED;;OAEG;IACH,IAAI,iBAAiB,IAAI,SAAS,MAAM,EAAE,CAEzC;IAED;;;;;;OAMG;IACH,iBAAiB,IAAI,OAAO;IAI5B;;;;;;OAMG;IACH,cAAc,IAAI,OAAO;IAIzB;;;;OAIG;IACH,iBAAiB,IAAI,OAAO;IAI5B;;;;OAIG;IACH,cAAc,IAAI,OAAO;IAIzB;;;;OAIG;IACH,oBAAoB,IAAI,OAAO;IAI/B;;;;OAIG;IACH,aAAa,IAAI,OAAO;IAIxB;;;;OAIG;IACH,iBAAiB,IAAI,OAAO;IAO5B;;;;OAIG;IACH,mBAAmB,IAAI,OAAO;IAM9B;;;;OAIG;IACH,2BAA2B,IAAI,OAAO;IAItC,OAAO,CAAC,mBAAmB;IAS3B,OAAO,CAAC,kBAAkB;IAU1B,OAAO,CAAC,kBAAkB;IAO1B,OAAO,CAAC,sBAAsB;IAO9B,OAAO,CAAC,8BAA8B;IAgBtC,OAAO,CAAC,wBAAwB;IAOhC,OAAO,CAAC,6BAA6B;IAerC,OAAO,CAAC,qBAAqB;CAahC"}
@@ -1,5 +1,4 @@
1
1
  import { CustomAuthResultV2 } from "../CustomAuthResultV2.js";
2
- import type { RequestChallengeErrorV2 } from "../error/RequestChallengeErrorV2.js";
3
2
  import type { FailedStateV2 } from "../state/FailedStateV2.js";
4
3
  import type { MFAVerificationRequiredStateV2 } from "../state/MFAVerificationRequiredStateV2.js";
5
4
  /**
@@ -11,5 +10,5 @@ export type MFAResendChallengeResultStateV2 = MFAVerificationRequiredStateV2 | F
11
10
  * Result returned after an app requests a replacement MFA challenge. Inspect
12
11
  * the state before prompting the user for the new email or SMS challenge.
13
12
  */
14
- export type MFAResendChallengeResultV2 = CustomAuthResultV2<MFAResendChallengeResultStateV2, RequestChallengeErrorV2>;
13
+ export type MFAResendChallengeResultV2 = CustomAuthResultV2<MFAResendChallengeResultStateV2>;
15
14
  //# sourceMappingURL=MFAResendChallengeResultV2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MFAResendChallengeResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AACnF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,4CAA4C,CAAC;AAEjG;;;GAGG;AACH,MAAM,MAAM,+BAA+B,GACrC,8BAA8B,GAC9B,aAAa,CAAC;AAEpB;;;GAGG;AACH,MAAM,MAAM,0BAA0B,GAAG,kBAAkB,CACvD,+BAA+B,EAC/B,uBAAuB,CAC1B,CAAC"}
1
+ {"version":3,"file":"MFAResendChallengeResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,4CAA4C,CAAC;AAEjG;;;GAGG;AACH,MAAM,MAAM,+BAA+B,GACrC,8BAA8B,GAC9B,aAAa,CAAC;AAEpB;;;GAGG;AACH,MAAM,MAAM,0BAA0B,GAClC,kBAAkB,CAAC,+BAA+B,CAAC,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import { CustomAuthResultV2 } from "../CustomAuthResultV2.js";
2
- import type { VerifyChallengeErrorV2 } from "../error/VerifyChallengeErrorV2.js";
3
2
  import type { CompletedStateV2 } from "../state/CompletedStateV2.js";
4
3
  import type { FailedStateV2 } from "../state/FailedStateV2.js";
5
4
  import type { CustomAuthAccountData } from "../../../../get_account/auth_flow/CustomAuthAccountData.js";
@@ -12,5 +11,5 @@ export type MFASubmitChallengeResultStateV2 = CompletedStateV2 | FailedStateV2;
12
11
  * Result returned after an app submits an MFA challenge. Inspect the state to
13
12
  * determine whether sign-in completed or challenge verification failed.
14
13
  */
15
- export type MFASubmitChallengeResultV2 = CustomAuthResultV2<MFASubmitChallengeResultStateV2, VerifyChallengeErrorV2, CustomAuthAccountData>;
14
+ export type MFASubmitChallengeResultV2 = CustomAuthResultV2<MFASubmitChallengeResultStateV2, CustomAuthAccountData>;
16
15
  //# sourceMappingURL=MFASubmitChallengeResultV2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MFASubmitChallengeResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAExG;;;GAGG;AACH,MAAM,MAAM,+BAA+B,GAAG,gBAAgB,GAAG,aAAa,CAAC;AAE/E;;;GAGG;AACH,MAAM,MAAM,0BAA0B,GAAG,kBAAkB,CACvD,+BAA+B,EAC/B,sBAAsB,EACtB,qBAAqB,CACxB,CAAC"}
1
+ {"version":3,"file":"MFASubmitChallengeResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAExG;;;GAGG;AACH,MAAM,MAAM,+BAA+B,GAAG,gBAAgB,GAAG,aAAa,CAAC;AAE/E;;;GAGG;AACH,MAAM,MAAM,0BAA0B,GAAG,kBAAkB,CACvD,+BAA+B,EAC/B,qBAAqB,CACxB,CAAC"}
@@ -1,16 +1,17 @@
1
1
  import { CustomAuthResultV2 } from "../CustomAuthResultV2.js";
2
- import type { RequestChallengeErrorV2 } from "../error/RequestChallengeErrorV2.js";
3
2
  import type { CodeRequiredStateV2 } from "../state/CodeRequiredStateV2.js";
4
3
  import type { FailedStateV2 } from "../state/FailedStateV2.js";
4
+ import type { MFAVerificationRequiredStateV2 } from "../state/MFAVerificationRequiredStateV2.js";
5
+ import type { PasswordRequiredStateV2 } from "../../../../sign_in/auth_flow/v2/state/PasswordRequiredStateV2.js";
5
6
  /**
6
- * The states a password-reset request-challenge action can resolve to.
7
- * Password reset supports email one-time-code verification only.
7
+ * The states a request-challenge action can resolve to. Trusted server response
8
+ * context determines whether primary or MFA verification is required.
8
9
  */
9
- export type RequestChallengeResultStateV2 = CodeRequiredStateV2 | FailedStateV2;
10
+ export type RequestChallengeResultStateV2 = CodeRequiredStateV2 | MFAVerificationRequiredStateV2 | PasswordRequiredStateV2 | FailedStateV2;
10
11
  /**
11
12
  * Result of requesting (or resending) a challenge. It wraps one of
12
- * {@link RequestChallengeResultStateV2} plus, on failure, a
13
- * {@link RequestChallengeErrorV2}.
13
+ * {@link RequestChallengeResultStateV2} plus, on failure, the unified V2 flow
14
+ * error.
14
15
  */
15
- export type RequestChallengeResultV2 = CustomAuthResultV2<RequestChallengeResultStateV2, RequestChallengeErrorV2>;
16
+ export type RequestChallengeResultV2 = CustomAuthResultV2<RequestChallengeResultStateV2>;
16
17
  //# sourceMappingURL=RequestChallengeResultV2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RequestChallengeResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AACnF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D;;;GAGG;AACH,MAAM,MAAM,6BAA6B,GAAG,mBAAmB,GAAG,aAAa,CAAC;AAEhF;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG,kBAAkB,CACrD,6BAA6B,EAC7B,uBAAuB,CAC1B,CAAC"}
1
+ {"version":3,"file":"RequestChallengeResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,4CAA4C,CAAC;AACjG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mEAAmE,CAAC;AAEjH;;;GAGG;AACH,MAAM,MAAM,6BAA6B,GACnC,mBAAmB,GACnB,8BAA8B,GAC9B,uBAAuB,GACvB,aAAa,CAAC;AAEpB;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAChC,kBAAkB,CAAC,6BAA6B,CAAC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { CustomAuthResultV2 } from "../CustomAuthResultV2.js";
2
+ import type { CodeRequiredStateV2 } from "../state/CodeRequiredStateV2.js";
3
+ import type { FailedStateV2 } from "../state/FailedStateV2.js";
4
+ /**
5
+ * The states a resend-code action can resolve to.
6
+ */
7
+ export type ResendCodeResultStateV2 = CodeRequiredStateV2 | FailedStateV2;
8
+ /**
9
+ * Result of requesting a replacement first-factor code. It wraps one of
10
+ * {@link ResendCodeResultStateV2} plus, on failure, the unified V2 flow error.
11
+ */
12
+ export type ResendCodeResultV2 = CustomAuthResultV2<ResendCodeResultStateV2>;
13
+ //# sourceMappingURL=ResendCodeResultV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResendCodeResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/result/ResendCodeResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,mBAAmB,GAAG,aAAa,CAAC;AAE1E;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,kBAAkB,CAAC,uBAAuB,CAAC,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import { CustomAuthResultV2 } from "../CustomAuthResultV2.js";
2
- import type { ResetPasswordStartErrorV2 } from "../error/ResetPasswordStartErrorV2.js";
3
2
  import type { AuthMethodSelectionRequiredStateV2 } from "../state/AuthMethodSelectionRequiredStateV2.js";
4
3
  import type { CodeRequiredStateV2 } from "../state/CodeRequiredStateV2.js";
5
4
  import type { FailedStateV2 } from "../state/FailedStateV2.js";
@@ -12,7 +11,7 @@ export type ResetPasswordStartResultStateV2 = AuthMethodSelectionRequiredStateV2
12
11
  /**
13
12
  * Result of starting a native auth V2 reset-password operation. It is returned
14
13
  * by `resetPasswordV2` and wraps one of {@link ResetPasswordStartResultStateV2}
15
- * plus, on failure, a {@link ResetPasswordStartErrorV2}.
14
+ * plus, on failure, the unified V2 flow error.
16
15
  */
17
- export type ResetPasswordStartResultV2 = CustomAuthResultV2<ResetPasswordStartResultStateV2, ResetPasswordStartErrorV2>;
16
+ export type ResetPasswordStartResultV2 = CustomAuthResultV2<ResetPasswordStartResultStateV2>;
18
17
  //# sourceMappingURL=ResetPasswordStartResultV2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ResetPasswordStartResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AACvF,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,gDAAgD,CAAC;AACzG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D;;;;GAIG;AACH,MAAM,MAAM,+BAA+B,GACrC,kCAAkC,GAClC,mBAAmB,GACnB,aAAa,CAAC;AAEpB;;;;GAIG;AACH,MAAM,MAAM,0BAA0B,GAAG,kBAAkB,CACvD,+BAA+B,EAC/B,yBAAyB,CAC5B,CAAC"}
1
+ {"version":3,"file":"ResetPasswordStartResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,gDAAgD,CAAC;AACzG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D;;;;GAIG;AACH,MAAM,MAAM,+BAA+B,GACrC,kCAAkC,GAClC,mBAAmB,GACnB,aAAa,CAAC;AAEpB;;;;GAIG;AACH,MAAM,MAAM,0BAA0B,GAClC,kBAAkB,CAAC,+BAA+B,CAAC,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import { CustomAuthResultV2 } from "../CustomAuthResultV2.js";
2
- import type { VerifyChallengeErrorV2 } from "../error/VerifyChallengeErrorV2.js";
3
2
  import type { NewPasswordRequiredStateV2 } from "../../../../reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.js";
4
3
  import type { FailedStateV2 } from "../state/FailedStateV2.js";
5
4
  import type { CompletedStateV2 } from "../state/CompletedStateV2.js";
@@ -7,17 +6,17 @@ import type { CustomAuthAccountData } from "../../../../get_account/auth_flow/Cu
7
6
  import type { AttributesRequiredStateV2 } from "../../../../sign_up/auth_flow/v2/state/AttributesRequiredStateV2.js";
8
7
  import type { SignInContinuationStateV2 } from "../../../../sign_in/auth_flow/v2/state/SignInContinuationStateV2.js";
9
8
  import type { SignUpPasswordRequiredStateV2 } from "../../../../sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.js";
10
- import type { MFARequiredStateV2 } from "../state/MFARequiredStateV2.js";
9
+ import type { AuthMethodSelectionRequiredStateV2 } from "../state/AuthMethodSelectionRequiredStateV2.js";
11
10
  /**
12
11
  * The states a verify-challenge action can resolve to. Verifying the one-time
13
12
  * code advances password reset to `NewPasswordRequiredStateV2` or completes
14
13
  * MFA sign-in. Failures resolve to `FailedStateV2`.
15
14
  */
16
- export type VerifyChallengeResultStateV2 = NewPasswordRequiredStateV2 | SignUpPasswordRequiredStateV2 | AttributesRequiredStateV2 | SignInContinuationStateV2 | MFARequiredStateV2 | CompletedStateV2 | FailedStateV2;
15
+ export type VerifyChallengeResultStateV2 = NewPasswordRequiredStateV2 | SignUpPasswordRequiredStateV2 | AttributesRequiredStateV2 | SignInContinuationStateV2 | AuthMethodSelectionRequiredStateV2 | CompletedStateV2 | FailedStateV2;
17
16
  /**
18
17
  * Result of verifying a challenge. It wraps one of
19
- * {@link VerifyChallengeResultStateV2} plus, on failure, a
20
- * {@link VerifyChallengeErrorV2}.
18
+ * {@link VerifyChallengeResultStateV2} plus, on failure, the unified V2 flow
19
+ * error.
21
20
  */
22
- export type VerifyChallengeResultV2 = CustomAuthResultV2<VerifyChallengeResultStateV2, VerifyChallengeErrorV2, CustomAuthAccountData | undefined>;
21
+ export type VerifyChallengeResultV2 = CustomAuthResultV2<VerifyChallengeResultStateV2, CustomAuthAccountData | undefined>;
23
22
  //# sourceMappingURL=VerifyChallengeResultV2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VerifyChallengeResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,6EAA6E,CAAC;AAC9H,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACxG,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qEAAqE,CAAC;AACrH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qEAAqE,CAAC;AACrH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,yEAAyE,CAAC;AAC7H,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEzE;;;;GAIG;AACH,MAAM,MAAM,4BAA4B,GAClC,0BAA0B,GAC1B,6BAA6B,GAC7B,yBAAyB,GACzB,yBAAyB,GACzB,kBAAkB,GAClB,gBAAgB,GAChB,aAAa,CAAC;AAEpB;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,CACpD,4BAA4B,EAC5B,sBAAsB,EACtB,qBAAqB,GAAG,SAAS,CACpC,CAAC"}
1
+ {"version":3,"file":"VerifyChallengeResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,6EAA6E,CAAC;AAC9H,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACxG,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qEAAqE,CAAC;AACrH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qEAAqE,CAAC;AACrH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,yEAAyE,CAAC;AAC7H,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,gDAAgD,CAAC;AAEzG;;;;GAIG;AACH,MAAM,MAAM,4BAA4B,GAClC,0BAA0B,GAC1B,6BAA6B,GAC7B,yBAAyB,GACzB,yBAAyB,GACzB,kCAAkC,GAClC,gBAAgB,GAChB,aAAa,CAAC;AAEpB;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,CACpD,4BAA4B,EAC5B,qBAAqB,GAAG,SAAS,CACpC,CAAC"}
@@ -1,21 +1,24 @@
1
1
  import { AuthenticationMethodV2 } from "../AuthenticationMethodV2.js";
2
+ import { AuthFlowActionRequiredStateBase } from "../../AuthFlowState.js";
2
3
  import type { AuthMethodSelectionRequiredStateParametersV2 } from "./CustomAuthStateParametersV2.js";
3
4
  import type { RequestChallengeResultV2 } from "../result/RequestChallengeResultV2.js";
4
- import { AuthenticationMethodSelectionStateBaseV2 } from "./AuthenticationMethodSelectionStateBaseV2.js";
5
5
  /**
6
6
  * State returned when the user must select one of several authentication
7
7
  * methods before a challenge can be issued. It exposes the list of offered
8
8
  * methods and lets the app request a challenge for the chosen one. The flow
9
9
  * stays on this state until a challenge is successfully requested.
10
10
  */
11
- export declare class AuthMethodSelectionRequiredStateV2 extends AuthenticationMethodSelectionStateBaseV2<AuthMethodSelectionRequiredStateParametersV2> {
11
+ export declare class AuthMethodSelectionRequiredStateV2 extends AuthFlowActionRequiredStateBase<AuthMethodSelectionRequiredStateParametersV2> {
12
12
  readonly stateType = "authMethodSelectionRequired";
13
+ readonly methods: readonly AuthenticationMethodV2[];
14
+ constructor(stateParameters: AuthMethodSelectionRequiredStateParametersV2);
13
15
  /**
14
- * Requests a challenge for the selected authentication method. The returned
16
+ * Selects an authentication method and requests its challenge. The returned
15
17
  * state identifies the credential the application must collect.
16
- * @param method - The method to challenge, from {@link methods}.
17
- * @returns The result of requesting the challenge.
18
+ * @param method - The method to select, from {@link methods}.
19
+ * @returns The result of selecting the method and requesting its challenge.
18
20
  */
19
- requestChallenge(method: AuthenticationMethodV2): Promise<RequestChallengeResultV2>;
21
+ selectAuthMethod(method: AuthenticationMethodV2): Promise<RequestChallengeResultV2>;
22
+ private requestSelectedMethodChallenge;
20
23
  }
21
24
  //# sourceMappingURL=AuthMethodSelectionRequiredStateV2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AuthMethodSelectionRequiredStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAItE,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,kCAAkC,CAAC;AACrG,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAEtF,OAAO,EAAE,wCAAwC,EAAE,MAAM,+CAA+C,CAAC;AAKzG;;;;;GAKG;AACH,qBAAa,kCAAmC,SAAQ,wCAAwC,CAAC,4CAA4C,CAAC;IAC1I,QAAQ,CAAC,SAAS,iCAAiC;IAEnD;;;;;OAKG;IACG,gBAAgB,CAClB,MAAM,EAAE,sBAAsB,GAC/B,OAAO,CAAC,wBAAwB,CAAC;CAiEvC"}
1
+ {"version":3,"file":"AuthMethodSelectionRequiredStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAEtE,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAC;AAGzE,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,kCAAkC,CAAC;AACrG,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AActF;;;;;GAKG;AACH,qBAAa,kCAAmC,SAAQ,+BAA+B,CAAC,4CAA4C,CAAC;IACjI,QAAQ,CAAC,SAAS,iCAAiC;IACnD,QAAQ,CAAC,OAAO,EAAE,SAAS,sBAAsB,EAAE,CAAC;gBAExC,eAAe,EAAE,4CAA4C;IAKzE;;;;;OAKG;IACG,gBAAgB,CAClB,MAAM,EAAE,sBAAsB,GAC/B,OAAO,CAAC,wBAAwB,CAAC;YAuHtB,8BAA8B;CA6B/C"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChallengeVerificationStateBaseV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;AAC1F,OAAO,KAAK,EACR,wBAAwB,EACxB,sBAAsB,EACzB,MAAM,6DAA6D,CAAC;AAErE,8BAAsB,gCAAgC,CAClD,WAAW,SAAS,iCAAiC,GAAG,iCAAiC,CAC3F,SAAQ,+BAA+B,CAAC,WAAW,CAAC;IAClD,QAAQ,CAAC,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAEzC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEzB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAE1B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;gBAEjB,eAAe,EAAE,WAAW;cAQxB,cAAc,CAC1B,IAAI,EAAE,MAAM,GACb,OAAO,CAAC,sBAAsB,CAAC;cAYlB,cAAc,IAAI,OAAO,CAAC,wBAAwB,CAAC;CAMtE"}
1
+ {"version":3,"file":"ChallengeVerificationStateBaseV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;AAC1F,OAAO,KAAK,EACR,wBAAwB,EACxB,sBAAsB,EACzB,MAAM,6DAA6D,CAAC;AAGrE,8BAAsB,gCAAgC,CAClD,WAAW,SAAS,iCAAiC,GAAG,iCAAiC,CAC3F,SAAQ,+BAA+B,CAAC,WAAW,CAAC;IAClD,QAAQ,CAAC,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAEzC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEzB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAE1B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;gBAEjB,eAAe,EAAE,WAAW;cAQxB,cAAc,CAC1B,IAAI,EAAE,MAAM,GACb,OAAO,CAAC,sBAAsB,CAAC;cAclB,cAAc,IAAI,OAAO,CAAC,wBAAwB,CAAC;CAMtE"}
@@ -1,6 +1,6 @@
1
1
  import type { CodeRequiredStateParametersV2 } from "./CustomAuthStateParametersV2.js";
2
2
  import type { VerifyChallengeResultV2 } from "../result/VerifyChallengeResultV2.js";
3
- import type { RequestChallengeResultV2 } from "../result/RequestChallengeResultV2.js";
3
+ import type { ResendCodeResultV2 } from "../result/ResendCodeResultV2.js";
4
4
  import { ChallengeVerificationStateBaseV2 } from "./ChallengeVerificationStateBaseV2.js";
5
5
  /**
6
6
  * State returned when first-factor email authentication requires a one-time
@@ -20,6 +20,6 @@ export declare class CodeRequiredStateV2 extends ChallengeVerificationStateBaseV
20
20
  * contains the refreshed challenge metadata.
21
21
  * @returns The result of requesting a replacement code.
22
22
  */
23
- resendCode(): Promise<RequestChallengeResultV2>;
23
+ resendCode(): Promise<ResendCodeResultV2>;
24
24
  }
25
25
  //# sourceMappingURL=CodeRequiredStateV2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CodeRequiredStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACtF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAetF,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AAEzF;;;GAGG;AACH,qBAAa,mBAAoB,SAAQ,gCAAgC,CAAC,6BAA6B,CAAC;IACpG,QAAQ,CAAC,SAAS,kBAAkB;IAEpC;;;;;OAKG;IACG,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,CAAC;IA8GhE;;;;OAIG;IACG,UAAU,IAAI,OAAO,CAAC,wBAAwB,CAAC;CAuCxD"}
1
+ {"version":3,"file":"CodeRequiredStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACtF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAc1E,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AAEzF;;;GAGG;AACH,qBAAa,mBAAoB,SAAQ,gCAAgC,CAAC,6BAA6B,CAAC;IACpG,QAAQ,CAAC,SAAS,kBAAkB;IAEpC;;;;;OAKG;IACG,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,CAAC;IA8GhE;;;;OAIG;IACG,UAAU,IAAI,OAAO,CAAC,kBAAkB,CAAC;CAwClD"}
@@ -4,6 +4,8 @@ import { FlowContinuationStateV2 } from "../../../interaction_client/v2/FlowCont
4
4
  import { FlowInteractionClientV2 } from "../../../interaction_client/v2/FlowInteractionClientV2.js";
5
5
  import { CustomAuthSilentCacheClient } from "../../../../get_account/interaction_client/CustomAuthSilentCacheClient.js";
6
6
  import type { SignUpStateTransitionHandlerV2 } from "../../../../sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.js";
7
+ import type { AuthenticationFactorV2 } from "../../../network_client/custom_auth_api/v2/result/BaseResultsV2.js";
8
+ import type { SignInStateTransitionHandlerV2 } from "../../../../sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.js";
7
9
  export interface CustomAuthActionRequiredStateParametersV2 extends AuthFlowActionRequiredStateParameters {
8
10
  flowClient: FlowInteractionClientV2;
9
11
  continuationState: FlowContinuationStateV2;
@@ -11,9 +13,8 @@ export interface CustomAuthActionRequiredStateParametersV2 extends AuthFlowActio
11
13
  }
12
14
  export interface AuthMethodSelectionRequiredStateParametersV2 extends CustomAuthActionRequiredStateParametersV2 {
13
15
  methods: readonly AuthenticationMethodV2[];
14
- }
15
- export interface MFARequiredStateParametersV2 extends CustomAuthActionRequiredStateParametersV2 {
16
- methods: readonly AuthenticationMethodV2[];
16
+ authenticationFactor: AuthenticationFactorV2;
17
+ signInStateTransitionHandler?: SignInStateTransitionHandlerV2;
17
18
  }
18
19
  export interface CodeVerificationStateParametersV2 extends CustomAuthActionRequiredStateParametersV2 {
19
20
  method?: AuthenticationMethodV2;
@@ -23,6 +24,7 @@ export interface CodeVerificationStateParametersV2 extends CustomAuthActionRequi
23
24
  }
24
25
  export interface CodeRequiredStateParametersV2 extends CodeVerificationStateParametersV2 {
25
26
  signUpStateTransitionHandler?: SignUpStateTransitionHandlerV2;
27
+ signInStateTransitionHandler?: SignInStateTransitionHandlerV2;
26
28
  }
27
29
  export type MFAVerificationRequiredStateParametersV2 = CodeVerificationStateParametersV2;
28
30
  //# sourceMappingURL=CustomAuthStateParametersV2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CustomAuthStateParametersV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qCAAqC,EAAE,MAAM,wBAAwB,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2DAA2D,CAAC;AACpG,OAAO,EAAE,uBAAuB,EAAE,MAAM,2DAA2D,CAAC;AACpG,OAAO,EAAE,2BAA2B,EAAE,MAAM,2EAA2E,CAAC;AACxH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,0EAA0E,CAAC;AAE/H,MAAM,WAAW,yCACb,SAAQ,qCAAqC;IAC7C,UAAU,EAAE,uBAAuB,CAAC;IACpC,iBAAiB,EAAE,uBAAuB,CAAC;IAC3C,WAAW,EAAE,2BAA2B,CAAC;CAC5C;AAED,MAAM,WAAW,4CACb,SAAQ,yCAAyC;IACjD,OAAO,EAAE,SAAS,sBAAsB,EAAE,CAAC;CAC9C;AAED,MAAM,WAAW,4BACb,SAAQ,yCAAyC;IACjD,OAAO,EAAE,SAAS,sBAAsB,EAAE,CAAC;CAC9C;AAED,MAAM,WAAW,iCACb,SAAQ,yCAAyC;IACjD,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,6BACb,SAAQ,iCAAiC;IACzC,4BAA4B,CAAC,EAAE,8BAA8B,CAAC;CACjE;AAED,MAAM,MAAM,wCAAwC,GAChD,iCAAiC,CAAC"}
1
+ {"version":3,"file":"CustomAuthStateParametersV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qCAAqC,EAAE,MAAM,wBAAwB,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2DAA2D,CAAC;AACpG,OAAO,EAAE,uBAAuB,EAAE,MAAM,2DAA2D,CAAC;AACpG,OAAO,EAAE,2BAA2B,EAAE,MAAM,2EAA2E,CAAC;AACxH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,0EAA0E,CAAC;AAC/H,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oEAAoE,CAAC;AACjH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,0EAA0E,CAAC;AAE/H,MAAM,WAAW,yCACb,SAAQ,qCAAqC;IAC7C,UAAU,EAAE,uBAAuB,CAAC;IACpC,iBAAiB,EAAE,uBAAuB,CAAC;IAC3C,WAAW,EAAE,2BAA2B,CAAC;CAC5C;AAED,MAAM,WAAW,4CACb,SAAQ,yCAAyC;IACjD,OAAO,EAAE,SAAS,sBAAsB,EAAE,CAAC;IAC3C,oBAAoB,EAAE,sBAAsB,CAAC;IAC7C,4BAA4B,CAAC,EAAE,8BAA8B,CAAC;CACjE;AAED,MAAM,WAAW,iCACb,SAAQ,yCAAyC;IACjD,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,6BACb,SAAQ,iCAAiC;IACzC,4BAA4B,CAAC,EAAE,8BAA8B,CAAC;IAC9D,4BAA4B,CAAC,EAAE,8BAA8B,CAAC;CACjE;AAED,MAAM,MAAM,wCAAwC,GAChD,iCAAiC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MFAVerificationRequiredStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,kCAAkC,CAAC;AACjG,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAM1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AAEzF;;;GAGG;AACH,qBAAa,8BAA+B,SAAQ,gCAAgC,CAAC,wCAAwC,CAAC;IAC1H,QAAQ,CAAC,SAAS,6BAA6B;IAE/C;;;;;OAKG;IACG,eAAe,CACjB,SAAS,EAAE,MAAM,GAClB,OAAO,CAAC,0BAA0B,CAAC;IA2CtC;;;;OAIG;IACG,eAAe,IAAI,OAAO,CAAC,0BAA0B,CAAC;CAqC/D"}
1
+ {"version":3,"file":"MFAVerificationRequiredStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,kCAAkC,CAAC;AACjG,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAM1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AAEzF;;;GAGG;AACH,qBAAa,8BAA+B,SAAQ,gCAAgC,CAAC,wCAAwC,CAAC;IAC1H,QAAQ,CAAC,SAAS,6BAA6B;IAE/C;;;;;OAKG;IACG,eAAe,CACjB,SAAS,EAAE,MAAM,GAClB,OAAO,CAAC,0BAA0B,CAAC;IA0CtC;;;;OAIG;IACG,eAAe,IAAI,OAAO,CAAC,0BAA0B,CAAC;CAoC/D"}
@@ -17,6 +17,7 @@ export declare class CustomAuthApiError extends CustomAuthError {
17
17
  traceId?: string | undefined;
18
18
  timestamp?: string | undefined;
19
19
  attributeValidationDetails?: AttributeValidationDetailV2[] | undefined;
20
- constructor(error: string, errorDescription: string, correlationId?: string, errorCodes?: Array<number>, subError?: string, attributes?: UserAttribute[] | undefined, continuationToken?: string | undefined, traceId?: string | undefined, timestamp?: string | undefined, attributeValidationDetails?: AttributeValidationDetailV2[] | undefined);
20
+ innerErrorCode?: string | undefined;
21
+ constructor(error: string, errorDescription: string, correlationId?: string, errorCodes?: Array<number>, subError?: string, attributes?: UserAttribute[] | undefined, continuationToken?: string | undefined, traceId?: string | undefined, timestamp?: string | undefined, attributeValidationDetails?: AttributeValidationDetailV2[] | undefined, innerErrorCode?: string | undefined);
21
22
  }
22
23
  //# sourceMappingURL=CustomAuthApiError.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CustomAuthApiError.d.ts","sourceRoot":"","sources":["../../../../src/custom_auth/core/error/CustomAuthApiError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,kEAAkE,CAAC;AACjG,OAAO,EAAE,2BAA2B,EAAE,MAAM,mEAAmE,CAAC;AAChH,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;GAEG;AACH,qBAAa,aAAc,SAAQ,eAAe;IACH,cAAc,CAAC;gBAA9C,aAAa,CAAC,EAAE,MAAM,EAAS,cAAc,CAAC,oBAAQ;CASr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EAChB,SAAS,CAAC,oBAAQ,EAClB,0BAA0B,CAAC,2CAA+B,EAC1D,cAAc,CAAC,oBAAQ;CAKrC"}
@@ -10,10 +10,8 @@ export interface FlowLinksV2 {
10
10
  export interface FlowContinuationStateV2 {
11
11
  continuationToken: string;
12
12
  scenario: CustomAuthFlowScenarioV2;
13
+ scopes: string[];
13
14
  links: FlowLinksV2;
14
- tokenRequest?: {
15
- scopes?: string[];
16
- };
17
15
  signUp?: {
18
16
  passwordWasSupplied: boolean;
19
17
  };
@@ -1 +1 @@
1
- {"version":3,"file":"FlowContinuationStateV2.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAM1F,MAAM,WAAW,WAAW;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAMD,MAAM,WAAW,uBAAuB;IACpC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,wBAAwB,CAAC;IACnC,KAAK,EAAE,WAAW,CAAC;IACnB,YAAY,CAAC,EAAE;QACX,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;KACrB,CAAC;IACF,MAAM,CAAC,EAAE;QACL,mBAAmB,EAAE,OAAO,CAAC;KAChC,CAAC;CACL"}
1
+ {"version":3,"file":"FlowContinuationStateV2.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAM1F,MAAM,WAAW,WAAW;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAOD,MAAM,WAAW,uBAAuB;IACpC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,wBAAwB,CAAC;IACnC,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,EAAE,WAAW,CAAC;IACnB,MAAM,CAAC,EAAE;QACL,mBAAmB,EAAE,OAAO,CAAC;KAChC,CAAC;CACL"}
@@ -11,7 +11,7 @@ import { CustomAuthApiClientV2 } from "../../network_client/custom_auth_api/v2/C
11
11
  export declare class FlowInteractionClientV2 extends InteractionClientBaseV2 {
12
12
  protected apiClient: CustomAuthApiClientV2;
13
13
  constructor(config: BrowserConfiguration, storageImpl: BrowserCacheManager, browserCrypto: ICrypto, logger: Logger, eventHandler: EventHandler, navigationClient: INavigationClient, performanceClient: IPerformanceClient, customAuthAuthority: CustomAuthAuthority, apiClient: CustomAuthApiClientV2);
14
- signIn(parameters: FlowSignInStartParamsV2): Promise<FlowPasswordRequiredResultV2 | FlowSignInCodeRequiredResultV2 | FlowMFARequiredResultV2 | FlowCompletedResultV2>;
14
+ signIn(parameters: FlowSignInStartParamsV2): Promise<FlowMethodSelectionRequiredResultV2 | FlowPasswordRequiredResultV2 | FlowSignInCodeRequiredResultV2 | FlowMFARequiredResultV2 | FlowCompletedResultV2>;
15
15
  signUp(parameters: FlowSignUpStartParamsV2): Promise<FlowCodeRequiredResultV2 | FlowSignUpPasswordRequiredResultV2 | FlowAttributesRequiredResultV2>;
16
16
  resetPassword(parameters: FlowStartParamsV2): Promise<FlowMethodSelectionRequiredResultV2 | FlowResetPasswordCodeRequiredResultV2>;
17
17
  requestChallenge(parameters: FlowChallengeParamsV2): Promise<FlowCodeRequiredResultV2 | FlowPasswordRequiredResultV2>;
@@ -22,7 +22,7 @@ export declare class FlowInteractionClientV2 extends InteractionClientBaseV2 {
22
22
  submitSignInPassword(parameters: FlowSubmitSignInPasswordParamsV2): Promise<FlowMFARequiredResultV2 | FlowCompletedResultV2>;
23
23
  signInWithContinuation(parameters: FlowSignInWithContinuationParamsV2): Promise<FlowCompletedResultV2>;
24
24
  private handleSignInVerification;
25
- private selectSignInMethod;
25
+ private getSupportedSignInMethods;
26
26
  private toSignUpActionResult;
27
27
  private ensureAuthenticationFactor;
28
28
  private verifySignInPassword;
@@ -1 +1 @@
1
- {"version":3,"file":"FlowInteractionClientV2.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,OAAO,EACP,kBAAkB,EAClB,MAAM,EACT,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EACH,iBAAiB,EACjB,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,6BAA6B,EAC7B,gCAAgC,EAChC,kCAAkC,EAClC,kCAAkC,EACrC,MAAM,6BAA6B,CAAC;AAcrC,OAAO,KAAK,EACR,mCAAmC,EACnC,wBAAwB,EACxB,8BAA8B,EAC9B,qCAAqC,EACrC,4BAA4B,EAC5B,kCAAkC,EAClC,uBAAuB,EACvB,8BAA8B,EAC9B,sCAAsC,EACtC,qBAAqB,EACrB,wBAAwB,EACxB,sBAAsB,EACzB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAChF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,UAAU,EAAE,kCAAkC,GAC/C,OAAO,CAAC,qBAAqB,CAAC;YA2CnB,wBAAwB;IA+CtC,OAAO,CAAC,kBAAkB;IA6C1B,OAAO,CAAC,oBAAoB;IAyF5B,OAAO,CAAC,0BAA0B;YAmBpB,oBAAoB;IAyBlC,OAAO,CAAC,+BAA+B;YAiBzB,mBAAmB;IAsDjC,OAAO,CAAC,gCAAgC;IAuBxC,OAAO,CAAC,gBAAgB;IAqBxB,OAAO,CAAC,WAAW;CAkBtB"}
1
+ {"version":3,"file":"FlowInteractionClientV2.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,OAAO,EACP,kBAAkB,EAClB,MAAM,EACT,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EACH,iBAAiB,EACjB,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,6BAA6B,EAC7B,gCAAgC,EAChC,kCAAkC,EAClC,kCAAkC,EACrC,MAAM,6BAA6B,CAAC;AAcrC,OAAO,KAAK,EACR,mCAAmC,EACnC,wBAAwB,EACxB,8BAA8B,EAC9B,qCAAqC,EACrC,4BAA4B,EAC5B,kCAAkC,EAClC,uBAAuB,EACvB,8BAA8B,EAC9B,sCAAsC,EACtC,qBAAqB,EACrB,wBAAwB,EACxB,sBAAsB,EACzB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAChF,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,qB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