@azure/msal-browser 5.22.0 → 5.23.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 (558) 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 +23 -3
  5. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +1 -1
  6. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +5 -2
  7. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
  8. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  9. package/dist/broker/nativeBroker/PlatformAuthRequest.mjs +49 -0
  10. package/dist/broker/nativeBroker/PlatformAuthRequest.mjs.map +1 -0
  11. package/dist/cache/AccountManager.mjs +1 -1
  12. package/dist/cache/AsyncMemoryStorage.mjs +1 -1
  13. package/dist/cache/BrowserCacheManager.mjs +1 -1
  14. package/dist/cache/CacheHelpers.mjs +1 -1
  15. package/dist/cache/CacheKeys.mjs +1 -1
  16. package/dist/cache/CookieStorage.mjs +1 -1
  17. package/dist/cache/DatabaseStorage.mjs +1 -1
  18. package/dist/cache/EncryptedData.mjs +1 -1
  19. package/dist/cache/LocalStorage.mjs +1 -1
  20. package/dist/cache/MemoryStorage.mjs +1 -1
  21. package/dist/cache/SessionStorage.mjs +1 -1
  22. package/dist/cache/TokenCache.mjs +1 -1
  23. package/dist/config/Configuration.mjs +1 -1
  24. package/dist/controllers/NestedAppAuthController.mjs +1 -1
  25. package/dist/controllers/StandardController.mjs +1 -1
  26. package/dist/crypto/BrowserCrypto.mjs +1 -1
  27. package/dist/crypto/CryptoOps.mjs +1 -1
  28. package/dist/crypto/PkceGenerator.mjs +1 -1
  29. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  30. package/dist/crypto/TokenBindingKeyManager.mjs +1 -1
  31. package/dist/custom_auth/CustomAuthConstants.mjs +1 -1
  32. package/dist/custom_auth/CustomAuthPublicClientApplication.mjs +27 -2
  33. package/dist/custom_auth/CustomAuthPublicClientApplication.mjs.map +1 -1
  34. package/dist/custom_auth/controller/CustomAuthStandardController.mjs +192 -2
  35. package/dist/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
  36. package/dist/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  37. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
  38. package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  39. package/dist/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  40. package/dist/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
  41. package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
  42. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
  43. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
  44. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
  45. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
  46. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
  47. package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
  48. package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
  49. package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
  50. package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
  51. package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
  52. package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
  53. package/dist/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.mjs +21 -0
  54. package/dist/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.mjs.map +1 -0
  55. package/dist/custom_auth/core/auth_flow/v2/CustomAuthResultV2.mjs +80 -0
  56. package/dist/custom_auth/core/auth_flow/v2/CustomAuthResultV2.mjs.map +1 -0
  57. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.mjs +102 -0
  58. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.mjs.map +1 -0
  59. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.mjs +12 -0
  60. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.mjs.map +1 -0
  61. package/dist/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.mjs +20 -0
  62. package/dist/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.mjs.map +1 -0
  63. package/dist/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.mjs +36 -0
  64. package/dist/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.mjs.map +1 -0
  65. package/dist/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.mjs +29 -0
  66. package/dist/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.mjs.map +1 -0
  67. package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs +76 -0
  68. package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs.map +1 -0
  69. package/dist/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.mjs +36 -0
  70. package/dist/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.mjs.map +1 -0
  71. package/dist/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.mjs +36 -0
  72. package/dist/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.mjs.map +1 -0
  73. package/dist/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.mjs +134 -0
  74. package/dist/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.mjs.map +1 -0
  75. package/dist/custom_auth/core/auth_flow/v2/state/CompletedStateV2.mjs +23 -0
  76. package/dist/custom_auth/core/auth_flow/v2/state/CompletedStateV2.mjs.map +1 -0
  77. package/dist/custom_auth/core/auth_flow/v2/state/FailedStateV2.mjs +22 -0
  78. package/dist/custom_auth/core/auth_flow/v2/state/FailedStateV2.mjs.map +1 -0
  79. package/dist/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.mjs +61 -0
  80. package/dist/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.mjs.map +1 -0
  81. package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs +87 -0
  82. package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs.map +1 -0
  83. package/dist/custom_auth/core/error/CustomAuthApiError.mjs +3 -2
  84. package/dist/custom_auth/core/error/CustomAuthApiError.mjs.map +1 -1
  85. package/dist/custom_auth/core/error/CustomAuthError.mjs +1 -1
  86. package/dist/custom_auth/core/error/HttpError.mjs +1 -1
  87. package/dist/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  88. package/dist/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  89. package/dist/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  90. package/dist/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  91. package/dist/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  92. package/dist/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  93. package/dist/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  94. package/dist/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  95. package/dist/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  96. package/dist/custom_auth/core/error/UnexpectedError.mjs +1 -1
  97. package/dist/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  98. package/dist/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  99. package/dist/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  100. package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
  101. package/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  102. package/dist/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
  103. package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
  104. package/dist/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
  105. package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
  106. package/dist/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.mjs +602 -0
  107. package/dist/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.mjs.map +1 -0
  108. package/dist/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.mjs +67 -0
  109. package/dist/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.mjs.map +1 -0
  110. package/dist/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.mjs +46 -0
  111. package/dist/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.mjs.map +1 -0
  112. package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  113. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
  114. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +3 -2
  115. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs.map +1 -1
  116. package/dist/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
  117. package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  118. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
  119. package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  120. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  121. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
  122. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.mjs +30 -0
  123. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.mjs.map +1 -0
  124. package/dist/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.mjs +193 -0
  125. package/dist/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.mjs.map +1 -0
  126. package/dist/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.mjs +236 -0
  127. package/dist/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.mjs.map +1 -0
  128. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.mjs +26 -0
  129. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.mjs.map +1 -0
  130. package/dist/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.mjs +66 -0
  131. package/dist/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.mjs.map +1 -0
  132. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.mjs +97 -0
  133. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.mjs.map +1 -0
  134. package/dist/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.mjs +56 -0
  135. package/dist/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.mjs.map +1 -0
  136. package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.mjs +23 -0
  137. package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.mjs.map +1 -0
  138. package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.mjs +14 -0
  139. package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.mjs.map +1 -0
  140. package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  141. package/dist/custom_auth/core/network_client/http_client/IHttpClient.mjs +3 -2
  142. package/dist/custom_auth/core/network_client/http_client/IHttpClient.mjs.map +1 -1
  143. package/dist/custom_auth/core/telemetry/FlowApiIdHelperV2.mjs +38 -0
  144. package/dist/custom_auth/core/telemetry/FlowApiIdHelperV2.mjs.map +1 -0
  145. package/dist/custom_auth/core/telemetry/PublicApiId.mjs +20 -3
  146. package/dist/custom_auth/core/telemetry/PublicApiId.mjs.map +1 -1
  147. package/dist/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
  148. package/dist/custom_auth/core/utils/CustomHeaderUtils.mjs +1 -1
  149. package/dist/custom_auth/core/utils/UrlUtils.mjs +1 -1
  150. package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
  151. package/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  152. package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  153. package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  154. package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  155. package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  156. package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  157. package/dist/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  158. package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
  159. package/dist/custom_auth/index.mjs +23 -1
  160. package/dist/custom_auth/index.mjs.map +1 -1
  161. package/dist/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  162. package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  163. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  164. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  165. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  166. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  167. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
  168. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  169. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  170. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
  171. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  172. package/dist/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.mjs +29 -0
  173. package/dist/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.mjs.map +1 -0
  174. package/dist/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.mjs +59 -0
  175. package/dist/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.mjs.map +1 -0
  176. package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  177. package/dist/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  178. package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
  179. package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  180. package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
  181. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
  182. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
  183. package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
  184. package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  185. package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
  186. package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  187. package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
  188. package/dist/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  189. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.mjs +18 -0
  190. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.mjs.map +1 -0
  191. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.mjs +37 -0
  192. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.mjs.map +1 -0
  193. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.mjs +23 -0
  194. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.mjs.map +1 -0
  195. package/dist/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.mjs +70 -0
  196. package/dist/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.mjs.map +1 -0
  197. package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs +61 -0
  198. package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs.map +1 -0
  199. package/dist/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
  200. package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
  201. package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  202. package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  203. package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  204. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  205. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  206. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  207. package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
  208. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
  209. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  210. package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  211. package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
  212. package/dist/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  213. package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.mjs +25 -0
  214. package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.mjs.map +1 -0
  215. package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.mjs +33 -0
  216. package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.mjs.map +1 -0
  217. package/dist/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.mjs +40 -0
  218. package/dist/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.mjs.map +1 -0
  219. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.mjs +25 -0
  220. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.mjs.map +1 -0
  221. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.mjs +47 -0
  222. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.mjs.map +1 -0
  223. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.mjs +60 -0
  224. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.mjs.map +1 -0
  225. package/dist/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  226. package/dist/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  227. package/dist/encode/Base64Decode.mjs +1 -1
  228. package/dist/encode/Base64Encode.mjs +1 -1
  229. package/dist/error/BrowserAuthError.mjs +1 -1
  230. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  231. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  232. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  233. package/dist/error/NativeAuthError.mjs +1 -1
  234. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  235. package/dist/error/NestedAppAuthError.mjs +1 -1
  236. package/dist/event/EventHandler.mjs +1 -1
  237. package/dist/event/EventMessage.mjs +1 -1
  238. package/dist/event/EventType.mjs +1 -1
  239. package/dist/index.mjs +1 -1
  240. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  241. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  242. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +8 -2
  243. package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  244. package/dist/interaction_client/PopupClient.mjs +1 -1
  245. package/dist/interaction_client/RedirectClient.mjs +11 -8
  246. package/dist/interaction_client/RedirectClient.mjs.map +1 -1
  247. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  248. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  249. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  250. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  251. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  252. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  253. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  254. package/dist/log-strings-mapping.json +189 -5
  255. package/dist/naa/BridgeError.mjs +1 -1
  256. package/dist/naa/BridgeProxy.mjs +1 -1
  257. package/dist/naa/BridgeStatusCode.mjs +1 -1
  258. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  259. package/dist/navigation/NavigationClient.mjs +1 -1
  260. package/dist/network/FetchClient.mjs +1 -1
  261. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  262. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  263. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  264. package/dist/packageMetadata.mjs +2 -2
  265. package/dist/popup_relay/constants.mjs +1 -1
  266. package/dist/popup_relay/index.mjs +1 -1
  267. package/dist/popup_relay/relayClient.mjs +1 -1
  268. package/dist/protocol/Authorize.mjs +1 -1
  269. package/dist/redirect_bridge/index.mjs +1 -1
  270. package/dist/request/RequestHelpers.mjs +1 -1
  271. package/dist/response/ResponseHandler.mjs +1 -1
  272. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  273. package/dist/telemetry/BrowserPerformanceEvents.mjs +1 -1
  274. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  275. package/dist/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
  276. package/dist/utils/BrowserConstants.mjs +1 -1
  277. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  278. package/dist/utils/BrowserUtils.mjs +1 -1
  279. package/dist/utils/Helpers.mjs +1 -1
  280. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  281. package/dist/webBrokerBridge/PendingRequestRegistry.mjs +1 -1
  282. package/dist/webBrokerBridge/PerfEventNames.mjs +38 -0
  283. package/dist/webBrokerBridge/PerfEventNames.mjs.map +1 -0
  284. package/dist/webBrokerBridge/WebBrokerBridgeError.mjs +1 -1
  285. package/dist/webBrokerBridge/WebBrokerBridgeErrorMap.mjs +1 -1
  286. package/dist/webBrokerBridge/adapter/CrossVersionRequestAdapter.mjs +1 -1
  287. package/dist/webBrokerBridge/index.mjs +2 -1
  288. package/dist/webBrokerBridge/index.mjs.map +1 -1
  289. package/lib/custom-auth-path/log-strings-mapping.json +195 -11
  290. package/lib/custom-auth-path/msal-custom-auth.cjs +2975 -198
  291. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  292. package/lib/custom-auth-path/msal-custom-auth.js +2975 -198
  293. package/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
  294. package/lib/log-strings-mapping.json +2 -2
  295. package/lib/msal-browser.cjs +155 -81
  296. package/lib/msal-browser.cjs.map +1 -1
  297. package/lib/msal-browser.js +155 -81
  298. package/lib/msal-browser.js.map +1 -1
  299. package/lib/msal-browser.min.js +2 -2
  300. package/lib/popup-relay/msal-popup-relay.cjs +2 -2
  301. package/lib/popup-relay/msal-popup-relay.cjs.map +1 -1
  302. package/lib/popup-relay/msal-popup-relay.js +2 -2
  303. package/lib/popup-relay/msal-popup-relay.js.map +1 -1
  304. package/lib/popup-relay/msal-popup-relay.min.js +1 -1
  305. package/lib/redirect-bridge/msal-redirect-bridge.cjs +10 -10
  306. package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -1
  307. package/lib/redirect-bridge/msal-redirect-bridge.js +10 -10
  308. package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
  309. package/lib/redirect-bridge/msal-redirect-bridge.min.js +1 -1
  310. package/lib/web-broker-bridge/msal-web-broker-bridge.cjs +59 -1
  311. package/lib/web-broker-bridge/msal-web-broker-bridge.cjs.map +1 -1
  312. package/package.json +1 -1
  313. package/src/broker/nativeBroker/PlatformAuthDOMHandler.ts +40 -2
  314. package/src/broker/nativeBroker/PlatformAuthExtensionHandler.ts +4 -1
  315. package/src/broker/nativeBroker/PlatformAuthRequest.ts +118 -6
  316. package/src/broker/nativeBroker/PlatformAuthResponse.ts +14 -1
  317. package/src/custom_auth/CustomAuthActionInputs.ts +11 -0
  318. package/src/custom_auth/CustomAuthPublicClientApplication.ts +40 -4
  319. package/src/custom_auth/ICustomAuthPublicClientApplicationV2.ts +44 -0
  320. package/src/custom_auth/controller/CustomAuthStandardController.ts +360 -1
  321. package/src/custom_auth/controller/ICustomAuthStandardController.ts +14 -0
  322. package/src/custom_auth/core/auth_flow/v2/AuthenticationMethodV2.ts +18 -0
  323. package/src/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.ts +20 -0
  324. package/src/custom_auth/core/auth_flow/v2/CustomAuthResultV2.ts +133 -0
  325. package/src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.ts +146 -0
  326. package/src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.ts +8 -0
  327. package/src/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.ts +15 -0
  328. package/src/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.ts +33 -0
  329. package/src/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.ts +25 -0
  330. package/src/custom_auth/core/auth_flow/v2/result/MFARequestChallengeResultV2.ts +18 -0
  331. package/src/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.ts +26 -0
  332. package/src/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.ts +26 -0
  333. package/src/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.ts +25 -0
  334. package/src/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.ts +30 -0
  335. package/src/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.ts +40 -0
  336. package/src/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.ts +100 -0
  337. package/src/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.ts +59 -0
  338. package/src/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.ts +53 -0
  339. package/src/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.ts +196 -0
  340. package/src/custom_auth/core/auth_flow/v2/state/CompletedStateV2.ts +16 -0
  341. package/src/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.ts +44 -0
  342. package/src/custom_auth/core/auth_flow/v2/state/FailedStateV2.ts +15 -0
  343. package/src/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.ts +76 -0
  344. package/src/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.ts +119 -0
  345. package/src/custom_auth/core/error/CustomAuthApiError.ts +3 -1
  346. package/src/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.ts +35 -0
  347. package/src/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.ts +1145 -0
  348. package/src/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.ts +150 -0
  349. package/src/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.ts +66 -0
  350. package/src/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.ts +185 -0
  351. package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.ts +1 -0
  352. package/src/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.ts +30 -0
  353. package/src/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.ts +423 -0
  354. package/src/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.ts +553 -0
  355. package/src/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.ts +24 -0
  356. package/src/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.ts +81 -0
  357. package/src/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.ts +177 -0
  358. package/src/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.ts +129 -0
  359. package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.ts +68 -0
  360. package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorResponsesV2.ts +50 -0
  361. package/src/custom_auth/core/network_client/custom_auth_api/v2/response/HalResource.ts +20 -0
  362. package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.ts +202 -0
  363. package/src/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.ts +111 -0
  364. package/src/custom_auth/core/network_client/custom_auth_api/v2/result/ResetPasswordResultsV2.ts +26 -0
  365. package/src/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.ts +44 -0
  366. package/src/custom_auth/core/telemetry/FlowApiIdHelperV2.ts +64 -0
  367. package/src/custom_auth/core/telemetry/PublicApiId.ts +18 -0
  368. package/src/custom_auth/index.ts +96 -0
  369. package/src/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.ts +25 -0
  370. package/src/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.ts +33 -0
  371. package/src/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.ts +69 -0
  372. package/src/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateParametersV2.ts +9 -0
  373. package/src/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.ts +13 -0
  374. package/src/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.ts +35 -0
  375. package/src/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.ts +19 -0
  376. package/src/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.ts +31 -0
  377. package/src/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.ts +32 -0
  378. package/src/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.ts +22 -0
  379. package/src/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.ts +96 -0
  380. package/src/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.ts +83 -0
  381. package/src/custom_auth/sign_in/auth_flow/v2/state/SignInStateParametersV2.ts +12 -0
  382. package/src/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.ts +21 -0
  383. package/src/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.ts +32 -0
  384. package/src/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.ts +28 -0
  385. package/src/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.ts +20 -0
  386. package/src/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.ts +48 -0
  387. package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.ts +34 -0
  388. package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.ts +63 -0
  389. package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpStateParametersV2.ts +24 -0
  390. package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.ts +112 -0
  391. package/src/interaction_client/PlatformAuthInteractionClient.ts +23 -2
  392. package/src/interaction_client/RedirectClient.ts +15 -5
  393. package/src/packageMetadata.ts +1 -1
  394. package/src/webBrokerBridge/PerfEventNames.ts +43 -0
  395. package/src/webBrokerBridge/index.ts +26 -0
  396. package/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts +1 -0
  397. package/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
  398. package/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
  399. package/types/broker/nativeBroker/PlatformAuthRequest.d.ts +68 -5
  400. package/types/broker/nativeBroker/PlatformAuthRequest.d.ts.map +1 -1
  401. package/types/broker/nativeBroker/PlatformAuthResponse.d.ts +12 -1
  402. package/types/broker/nativeBroker/PlatformAuthResponse.d.ts.map +1 -1
  403. package/types/custom_auth/CustomAuthActionInputs.d.ts +7 -0
  404. package/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -1
  405. package/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  406. package/types/custom_auth/CustomAuthPublicClientApplication.d.ts +27 -5
  407. package/types/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -1
  408. package/types/custom_auth/ICustomAuthPublicClientApplicationV2.d.ts +30 -0
  409. package/types/custom_auth/ICustomAuthPublicClientApplicationV2.d.ts.map +1 -0
  410. package/types/custom_auth/controller/CustomAuthStandardController.d.ts +11 -2
  411. package/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  412. package/types/custom_auth/controller/ICustomAuthStandardController.d.ts +7 -1
  413. package/types/custom_auth/controller/ICustomAuthStandardController.d.ts.map +1 -1
  414. package/types/custom_auth/core/auth_flow/v2/AuthenticationMethodV2.d.ts +14 -0
  415. package/types/custom_auth/core/auth_flow/v2/AuthenticationMethodV2.d.ts.map +1 -0
  416. package/types/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.d.ts +14 -0
  417. package/types/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.d.ts.map +1 -0
  418. package/types/custom_auth/core/auth_flow/v2/CustomAuthResultV2.d.ts +53 -0
  419. package/types/custom_auth/core/auth_flow/v2/CustomAuthResultV2.d.ts.map +1 -0
  420. package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.d.ts +40 -0
  421. package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.d.ts.map +1 -0
  422. package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.d.ts +4 -0
  423. package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.d.ts.map +1 -0
  424. package/types/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.d.ts +11 -0
  425. package/types/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.d.ts.map +1 -0
  426. package/types/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.d.ts +23 -0
  427. package/types/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.d.ts.map +1 -0
  428. package/types/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.d.ts +18 -0
  429. package/types/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.d.ts.map +1 -0
  430. package/types/custom_auth/core/auth_flow/v2/result/MFARequestChallengeResultV2.d.ts +7 -0
  431. package/types/custom_auth/core/auth_flow/v2/result/MFARequestChallengeResultV2.d.ts.map +1 -0
  432. package/types/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.d.ts +15 -0
  433. package/types/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.d.ts.map +1 -0
  434. package/types/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.d.ts +16 -0
  435. package/types/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.d.ts.map +1 -0
  436. package/types/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.d.ts +16 -0
  437. package/types/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.d.ts.map +1 -0
  438. package/types/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.d.ts +18 -0
  439. package/types/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.d.ts.map +1 -0
  440. package/types/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.d.ts +23 -0
  441. package/types/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.d.ts.map +1 -0
  442. package/types/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.d.ts +21 -0
  443. package/types/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.d.ts.map +1 -0
  444. package/types/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.d.ts +17 -0
  445. package/types/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.d.ts.map +1 -0
  446. package/types/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.d.ts +14 -0
  447. package/types/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.d.ts.map +1 -0
  448. package/types/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.d.ts +25 -0
  449. package/types/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.d.ts.map +1 -0
  450. package/types/custom_auth/core/auth_flow/v2/state/CompletedStateV2.d.ts +11 -0
  451. package/types/custom_auth/core/auth_flow/v2/state/CompletedStateV2.d.ts.map +1 -0
  452. package/types/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.d.ts +28 -0
  453. package/types/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.d.ts.map +1 -0
  454. package/types/custom_auth/core/auth_flow/v2/state/FailedStateV2.d.ts +10 -0
  455. package/types/custom_auth/core/auth_flow/v2/state/FailedStateV2.d.ts.map +1 -0
  456. package/types/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.d.ts +18 -0
  457. package/types/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.d.ts.map +1 -0
  458. package/types/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.d.ts +25 -0
  459. package/types/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.d.ts.map +1 -0
  460. package/types/custom_auth/core/error/CustomAuthApiError.d.ts +3 -1
  461. package/types/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -1
  462. package/types/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.d.ts +21 -0
  463. package/types/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.d.ts.map +1 -0
  464. package/types/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.d.ts +35 -0
  465. package/types/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.d.ts.map +1 -0
  466. package/types/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.d.ts +26 -0
  467. package/types/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.d.ts.map +1 -0
  468. package/types/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.d.ts +43 -0
  469. package/types/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.d.ts.map +1 -0
  470. package/types/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.d.ts +80 -0
  471. package/types/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.d.ts.map +1 -0
  472. package/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +1 -0
  473. package/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
  474. package/types/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.d.ts +17 -0
  475. package/types/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.d.ts.map +1 -0
  476. package/types/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.d.ts +31 -0
  477. package/types/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.d.ts.map +1 -0
  478. package/types/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.d.ts +23 -0
  479. package/types/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.d.ts.map +1 -0
  480. package/types/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.d.ts +19 -0
  481. package/types/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.d.ts.map +1 -0
  482. package/types/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.d.ts +2 -0
  483. package/types/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.d.ts.map +1 -0
  484. package/types/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.d.ts +15 -0
  485. package/types/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.d.ts.map +1 -0
  486. package/types/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.d.ts +52 -0
  487. package/types/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.d.ts.map +1 -0
  488. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.d.ts +3 -0
  489. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.d.ts.map +1 -0
  490. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorResponsesV2.d.ts +37 -0
  491. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorResponsesV2.d.ts.map +1 -0
  492. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/HalResource.d.ts +12 -0
  493. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/HalResource.d.ts.map +1 -0
  494. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.d.ts +133 -0
  495. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.d.ts.map +1 -0
  496. package/types/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.d.ts +70 -0
  497. package/types/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.d.ts.map +1 -0
  498. package/types/custom_auth/core/network_client/custom_auth_api/v2/result/ResetPasswordResultsV2.d.ts +10 -0
  499. package/types/custom_auth/core/network_client/custom_auth_api/v2/result/ResetPasswordResultsV2.d.ts.map +1 -0
  500. package/types/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.d.ts +33 -0
  501. package/types/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.d.ts.map +1 -0
  502. package/types/custom_auth/core/telemetry/FlowApiIdHelperV2.d.ts +4 -0
  503. package/types/custom_auth/core/telemetry/FlowApiIdHelperV2.d.ts.map +1 -0
  504. package/types/custom_auth/core/telemetry/PublicApiId.d.ts +16 -0
  505. package/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
  506. package/types/custom_auth/index.d.ts +37 -0
  507. package/types/custom_auth/index.d.ts.map +1 -1
  508. package/types/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.d.ts +18 -0
  509. package/types/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.d.ts.map +1 -0
  510. package/types/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.d.ts +22 -0
  511. package/types/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.d.ts.map +1 -0
  512. package/types/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.d.ts +19 -0
  513. package/types/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.d.ts.map +1 -0
  514. package/types/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateParametersV2.d.ts +3 -0
  515. package/types/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateParametersV2.d.ts.map +1 -0
  516. package/types/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.d.ts +9 -0
  517. package/types/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.d.ts.map +1 -0
  518. package/types/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.d.ts +22 -0
  519. package/types/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.d.ts.map +1 -0
  520. package/types/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.d.ts +12 -0
  521. package/types/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.d.ts.map +1 -0
  522. package/types/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.d.ts +21 -0
  523. package/types/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.d.ts.map +1 -0
  524. package/types/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.d.ts +17 -0
  525. package/types/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.d.ts.map +1 -0
  526. package/types/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.d.ts +9 -0
  527. package/types/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.d.ts.map +1 -0
  528. package/types/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.d.ts +17 -0
  529. package/types/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.d.ts.map +1 -0
  530. package/types/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.d.ts +24 -0
  531. package/types/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.d.ts.map +1 -0
  532. package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateParametersV2.d.ts +4 -0
  533. package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateParametersV2.d.ts.map +1 -0
  534. package/types/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.d.ts +14 -0
  535. package/types/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.d.ts.map +1 -0
  536. package/types/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.d.ts +20 -0
  537. package/types/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.d.ts.map +1 -0
  538. package/types/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.d.ts +15 -0
  539. package/types/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.d.ts.map +1 -0
  540. package/types/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.d.ts +8 -0
  541. package/types/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.d.ts.map +1 -0
  542. package/types/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.d.ts +15 -0
  543. package/types/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.d.ts.map +1 -0
  544. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.d.ts +11 -0
  545. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.d.ts.map +1 -0
  546. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.d.ts +19 -0
  547. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.d.ts.map +1 -0
  548. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateParametersV2.d.ts +14 -0
  549. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateParametersV2.d.ts.map +1 -0
  550. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.d.ts +10 -0
  551. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.d.ts.map +1 -0
  552. package/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  553. package/types/interaction_client/RedirectClient.d.ts.map +1 -1
  554. package/types/packageMetadata.d.ts +1 -1
  555. package/types/webBrokerBridge/PerfEventNames.d.ts +30 -0
  556. package/types/webBrokerBridge/PerfEventNames.d.ts.map +1 -0
  557. package/types/webBrokerBridge/index.d.ts +1 -0
  558. package/types/webBrokerBridge/index.d.ts.map +1 -1
@@ -0,0 +1,70 @@
1
+ import type { SignUpAttributeV2 } from "./SignUpResultsV2.js";
2
+ export interface AuthorizeChallengeEntryResultV2 {
3
+ continuationToken: string;
4
+ resetPasswordHref?: string;
5
+ signInHref?: string;
6
+ signUpHref?: string;
7
+ }
8
+ export interface StartMethodV2 {
9
+ id: string;
10
+ type?: string;
11
+ hint?: string;
12
+ challengeHref: string;
13
+ }
14
+ export declare const AuthenticationFactorV2: {
15
+ readonly SINGLE_FACTOR: "singleFactor";
16
+ readonly MULTI_FACTOR: "multiFactor";
17
+ };
18
+ export type AuthenticationFactorV2 = (typeof AuthenticationFactorV2)[keyof typeof AuthenticationFactorV2];
19
+ export interface StartResultV2 {
20
+ continuationToken: string;
21
+ methods: StartMethodV2[];
22
+ authenticationFactor: AuthenticationFactorV2;
23
+ scenario?: string;
24
+ }
25
+ export type ResetPasswordStartApiResultV2 = StartResultV2;
26
+ export type SignInStartApiResultV2 = StartResultV2;
27
+ export declare const ChallengeNextActionV2: {
28
+ readonly VERIFY: "verify";
29
+ readonly RISK_VERIFY: "riskVerify";
30
+ };
31
+ export interface ChallengeVerificationResultV2 {
32
+ nextAction: typeof ChallengeNextActionV2.VERIFY;
33
+ continuationToken: string;
34
+ verifyHref: string;
35
+ resendHref?: string;
36
+ codeLength?: number;
37
+ hint?: string;
38
+ type?: string;
39
+ }
40
+ export interface RiskVerificationRequiredResultV2 {
41
+ nextAction: typeof ChallengeNextActionV2.RISK_VERIFY;
42
+ continuationToken: string;
43
+ riskVerifyHref: string;
44
+ }
45
+ export type ChallengeResultV2 = ChallengeVerificationResultV2 | RiskVerificationRequiredResultV2;
46
+ export declare const VerifyNextActionV2: {
47
+ readonly UPDATE: "update";
48
+ readonly CONTINUE: "continue";
49
+ readonly CHALLENGE: "challenge";
50
+ readonly COLLECT_ATTRIBUTES: "collectAttributes";
51
+ };
52
+ export type VerifyResultV2 = {
53
+ nextAction: typeof VerifyNextActionV2.UPDATE;
54
+ continuationToken: string;
55
+ updateHref: string;
56
+ } | {
57
+ nextAction: typeof VerifyNextActionV2.CONTINUE;
58
+ continuationToken: string;
59
+ } | {
60
+ nextAction: typeof VerifyNextActionV2.CHALLENGE;
61
+ continuationToken: string;
62
+ authenticationFactor: AuthenticationFactorV2;
63
+ methods: StartMethodV2[];
64
+ } | {
65
+ nextAction: typeof VerifyNextActionV2.COLLECT_ATTRIBUTES;
66
+ continuationToken: string;
67
+ attributes: SignUpAttributeV2[];
68
+ submitAttributesHref: string;
69
+ };
70
+ //# sourceMappingURL=BaseResultsV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseResultsV2.d.ts","sourceRoot":"","sources":["../../../../../../../src/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAG9D,MAAM,WAAW,+BAA+B;IAC5C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAOD,MAAM,WAAW,aAAa;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,sBAAsB;;;CAGzB,CAAC;AAEX,MAAM,MAAM,sBAAsB,GAC9B,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAA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,OAAO,EAAE,aAAa,EAAE,CAAC;CAC5B,GACD;IACI,UAAU,EAAE,OAAO,kBAAkB,CAAC,kBAAkB,CAAC;IACzD,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAChC,oBAAoB,EAAE,MAAM,CAAC;CAChC,CAAC"}
@@ -0,0 +1,10 @@
1
+ export interface ResetPasswordUpdateResultV2 {
2
+ continuationToken: string;
3
+ pollHref: string;
4
+ }
5
+ export interface ResetPasswordPollResultV2 {
6
+ continuationToken: string;
7
+ isCompleted: boolean;
8
+ pollHref?: string;
9
+ }
10
+ //# sourceMappingURL=ResetPasswordResultsV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResetPasswordResultsV2.d.ts","sourceRoot":"","sources":["../../../../../../../src/custom_auth/core/network_client/custom_auth_api/v2/result/ResetPasswordResultsV2.ts"],"names":[],"mappings":"AAWA,MAAM,WAAW,2BAA2B;IACxC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;CACpB;AAOD,MAAM,WAAW,yBAAyB;IACtC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,33 @@
1
+ import type { ChallengeVerificationResultV2 } from "./BaseResultsV2.js";
2
+ export interface SignUpAttributeV2 {
3
+ attributeId: string;
4
+ inputType?: string;
5
+ required?: boolean;
6
+ canChange?: boolean;
7
+ label?: string;
8
+ regex?: string;
9
+ confirmationInput?: string;
10
+ }
11
+ export interface SignUpStartApiResultV2 {
12
+ continuationToken: string;
13
+ submitAttributesHref: string;
14
+ attributes?: SignUpAttributeV2[];
15
+ }
16
+ export declare const SignUpSubmitAttributesNextActionV2: {
17
+ readonly VERIFY: "verify";
18
+ readonly COLLECT_ATTRIBUTES: "collectAttributes";
19
+ readonly CONTINUE: "continue";
20
+ };
21
+ export type SignUpSubmitAttributesApiResultV2 = (ChallengeVerificationResultV2 & {
22
+ nextAction: typeof SignUpSubmitAttributesNextActionV2.VERIFY;
23
+ attributes?: SignUpAttributeV2[];
24
+ }) | {
25
+ nextAction: typeof SignUpSubmitAttributesNextActionV2.COLLECT_ATTRIBUTES;
26
+ continuationToken: string;
27
+ attributes: SignUpAttributeV2[];
28
+ submitAttributesHref: string;
29
+ } | {
30
+ nextAction: typeof SignUpSubmitAttributesNextActionV2.CONTINUE;
31
+ continuationToken: string;
32
+ };
33
+ //# sourceMappingURL=SignUpResultsV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SignUpResultsV2.d.ts","sourceRoot":"","sources":["../../../../../../../src/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAExE,MAAM,WAAW,iBAAiB;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,sBAAsB;IACnC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,iBAAiB,EAAE,CAAC;CACpC;AAED,eAAO,MAAM,kCAAkC;;;;CAIrC,CAAC;AAEX,MAAM,MAAM,iCAAiC,GACvC,CAAC,6BAA6B,GAAG;IAC7B,UAAU,EAAE,OAAO,kCAAkC,CAAC,MAAM,CAAC;IAC7D,UAAU,CAAC,EAAE,iBAAiB,EAAE,CAAC;CACpC,CAAC,GACF;IACI,UAAU,EAAE,OAAO,kCAAkC,CAAC,kBAAkB,CAAC;IACzE,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAChC,oBAAoB,EAAE,MAAM,CAAC;CAChC,GACD;IACI,UAAU,EAAE,OAAO,kCAAkC,CAAC,QAAQ,CAAC;IAC/D,iBAAiB,EAAE,MAAM,CAAC;CAC7B,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { CustomAuthFlowScenarioV2 } from "../auth_flow/v2/CustomAuthFlowScenarioV2.js";
2
+ export type FlowStepV2 = "requestChallenge" | "submitCode" | "resendCode" | "submitNewPassword" | "submitPassword" | "submitAttributes" | "signInWithContinuation";
3
+ export declare function getPublicApiIdV2(scenario: CustomAuthFlowScenarioV2, step: FlowStepV2): number | undefined;
4
+ //# sourceMappingURL=FlowApiIdHelperV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlowApiIdHelperV2.d.ts","sourceRoot":"","sources":["../../../../src/custom_auth/core/telemetry/FlowApiIdHelperV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAC;AAkBvF,MAAM,MAAM,UAAU,GAChB,kBAAkB,GAClB,YAAY,GACZ,YAAY,GACZ,mBAAmB,GACnB,gBAAgB,GAChB,kBAAkB,GAClB,wBAAwB,CAAC;AA4B/B,wBAAgB,gBAAgB,CAC5B,QAAQ,EAAE,wBAAwB,EAClC,IAAI,EAAE,UAAU,GACjB,MAAM,GAAG,SAAS,CAEpB"}
@@ -22,4 +22,20 @@ export declare const JIT_CHALLENGE_AUTH_METHOD = 100081;
22
22
  export declare const JIT_SUBMIT_CHALLENGE = 100082;
23
23
  export declare const MFA_REQUEST_CHALLENGE = 100101;
24
24
  export declare const MFA_SUBMIT_CHALLENGE = 100102;
25
+ export declare const RESET_PASSWORD_V2_START = 100201;
26
+ export declare const RESET_PASSWORD_V2_SUBMIT_CODE = 100202;
27
+ export declare const RESET_PASSWORD_V2_RESEND_CODE = 100203;
28
+ export declare const RESET_PASSWORD_V2_SUBMIT = 100204;
29
+ export declare const RESET_PASSWORD_V2_CHALLENGE = 100205;
30
+ export declare const SIGN_IN_V2_START = 100206;
31
+ export declare const SIGN_IN_V2_CHALLENGE = 100207;
32
+ export declare const SIGN_IN_V2_SUBMIT_PASSWORD = 100208;
33
+ export declare const SIGN_IN_V2_COMPLETE = 100209;
34
+ export declare const SIGN_IN_V2_SUBMIT_CODE = 100210;
35
+ export declare const SIGN_UP_V2_START = 100211;
36
+ export declare const SIGN_UP_V2_CHALLENGE = 100212;
37
+ export declare const SIGN_UP_V2_SUBMIT_CODE = 100213;
38
+ export declare const SIGN_UP_V2_SUBMIT_ATTRIBUTES = 100214;
39
+ export declare const SIGN_UP_V2_RESEND_CODE = 100215;
40
+ export declare const SIGN_UP_V2_COMPLETE = 100216;
25
41
  //# sourceMappingURL=PublicApiId.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PublicApiId.d.ts","sourceRoot":"","sources":["../../../../src/custom_auth/core/telemetry/PublicApiId.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,uBAAuB,SAAS,CAAC;AAC9C,eAAO,MAAM,2BAA2B,SAAS,CAAC;AAClD,eAAO,MAAM,mBAAmB,SAAS,CAAC;AAC1C,eAAO,MAAM,uBAAuB,SAAS,CAAC;AAC9C,eAAO,MAAM,mBAAmB,SAAS,CAAC;AAC1C,eAAO,MAAM,qBAAqB,SAAS,CAAC;AAC5C,eAAO,MAAM,4BAA4B,SAAS,CAAC;AAGnD,eAAO,MAAM,2BAA2B,SAAS,CAAC;AAClD,eAAO,MAAM,aAAa,SAAS,CAAC;AACpC,eAAO,MAAM,mBAAmB,SAAS,CAAC;AAC1C,eAAO,MAAM,uBAAuB,SAAS,CAAC;AAC9C,eAAO,MAAM,yBAAyB,SAAS,CAAC;AAChD,eAAO,MAAM,mBAAmB,SAAS,CAAC;AAG1C,eAAO,MAAM,oBAAoB,SAAS,CAAC;AAC3C,eAAO,MAAM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M,wBAAwB,SAAS,CAAC;AAG/C,eAAO,MAAM,yBAAyB,SAAS,CAAC;AAChD,eAAO,MAAM,oBAAoB,SAAS,CAAC;AAG3C,eAAO,MAAM,qBAAqB,SAAS,CAAC;AAC5C,eAAO,MAAM,oBAAoB,SAAS,CAAC;AAG3C,eAAO,MAAM,uBAAuB,SAAS,CAAC;AAC9C,eAAO,MAAM,6BAA6B,SAAS,CAAC;AACpD,eAAO,MAAM,6BAA6B,SAAS,CAAC;AACpD,eAAO,MAAM,wBAAwB,SAAS,CAAC;AAC/C,eAAO,MAAM,2BAA2B,SAAS,CAAC;AAClD,eAAO,MAAM,gBAAgB,SAAS,CAAC;AACvC,eAAO,MAAM,oBAAoB,SAAS,CAAC;AAC3C,eAAO,MAAM,0BAA0B,SAAS,CAAC;AACjD,eAAO,MAAM,mBAAmB,SAAS,CAAC;AAC1C,eAAO,MAAM,sBAAsB,SAAS,CAAC;AAC7C,eAAO,MAAM,gBAAgB,SAAS,CAAC;AACvC,eAAO,MAAM,oBAAoB,SAAS,CAAC;AAC3C,eAAO,MAAM,sBAAsB,SAAS,CAAC;AAC7C,eAAO,MAAM,4BAA4B,SAAS,CAAC;AACnD,eAAO,MAAM,sBAAsB,SAAS,CAAC;AAC7C,eAAO,MAAM,mBAAmB,SAAS,CAAC"}
@@ -81,5 +81,42 @@ export { MfaFailedState } from "./core/auth_flow/mfa/state/MfaFailedState.js";
81
81
  export { MfaRequestChallengeResult, MfaRequestChallengeResultState, } from "./core/auth_flow/mfa/result/MfaRequestChallengeResult.js";
82
82
  export { MfaSubmitChallengeResult, MfaSubmitChallengeResultState, } from "./core/auth_flow/mfa/result/MfaSubmitChallengeResult.js";
83
83
  export { MfaRequestChallengeError, MfaSubmitChallengeError, } from "./core/auth_flow/mfa/error_type/MfaError.js";
84
+ export { ICustomAuthPublicClientApplicationV2 } from "./ICustomAuthPublicClientApplicationV2.js";
85
+ export { ResetPasswordInputsV2, SignInInputsV2, SignUpInputsV2, SignInContinuationInputsV2, } from "./CustomAuthActionInputs.js";
86
+ export { CustomAuthResultV2 } from "./core/auth_flow/v2/CustomAuthResultV2.js";
87
+ export { CustomAuthFlowScenarioV2 } from "./core/auth_flow/v2/CustomAuthFlowScenarioV2.js";
88
+ export { AuthenticationMethodV2 } from "./core/auth_flow/v2/AuthenticationMethodV2.js";
89
+ export { ResetPasswordStartErrorV2 } from "./core/auth_flow/v2/error/ResetPasswordStartErrorV2.js";
90
+ export { RequestChallengeErrorV2 } from "./core/auth_flow/v2/error/RequestChallengeErrorV2.js";
91
+ export { VerifyChallengeErrorV2 } from "./core/auth_flow/v2/error/VerifyChallengeErrorV2.js";
92
+ export { SubmitNewPasswordErrorV2 } from "./reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.js";
93
+ export { SignInStartErrorV2 } from "./sign_in/auth_flow/v2/error_type/SignInStartErrorV2.js";
94
+ export { SignUpStartErrorV2 } from "./sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.js";
95
+ export { SignInContinuationErrorV2 } from "./sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.js";
96
+ export { SubmitPasswordErrorV2 } from "./sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.js";
97
+ export { SubmitAttributesErrorV2 } from "./sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.js";
98
+ export { CompletedStateV2 } from "./core/auth_flow/v2/state/CompletedStateV2.js";
99
+ export { FailedStateV2 } from "./core/auth_flow/v2/state/FailedStateV2.js";
100
+ export { NewPasswordRequiredStateV2 } from "./reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.js";
101
+ export { CodeRequiredStateV2 } from "./core/auth_flow/v2/state/CodeRequiredStateV2.js";
102
+ export { MFAVerificationRequiredStateV2 } from "./core/auth_flow/v2/state/MFAVerificationRequiredStateV2.js";
103
+ export { AuthMethodSelectionRequiredStateV2 } from "./core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.js";
104
+ export { MFARequiredStateV2 } from "./core/auth_flow/v2/state/MFARequiredStateV2.js";
105
+ export { PasswordRequiredStateV2 } from "./sign_in/auth_flow/v2/state/PasswordRequiredStateV2.js";
106
+ export { SignInContinuationStateV2 } from "./sign_in/auth_flow/v2/state/SignInContinuationStateV2.js";
107
+ export { AttributesRequiredStateV2 } from "./sign_up/auth_flow/v2/state/AttributesRequiredStateV2.js";
108
+ export { SignUpPasswordRequiredStateV2 } from "./sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.js";
109
+ export { ResetPasswordStartResultV2, ResetPasswordStartResultStateV2, } from "./core/auth_flow/v2/result/ResetPasswordStartResultV2.js";
110
+ export { SignInStartResultV2, SignInStartResultStateV2, } from "./sign_in/auth_flow/v2/result/SignInStartResultV2.js";
111
+ export { SignUpStartResultV2, SignUpStartResultStateV2, } from "./sign_up/auth_flow/v2/result/SignUpStartResultV2.js";
112
+ export { RequestChallengeResultV2, RequestChallengeResultStateV2, } from "./core/auth_flow/v2/result/RequestChallengeResultV2.js";
113
+ export { MFARequestChallengeResultV2, MFARequestChallengeResultStateV2, } from "./core/auth_flow/v2/result/MFARequestChallengeResultV2.js";
114
+ export { MFASubmitChallengeResultV2, MFASubmitChallengeResultStateV2, } from "./core/auth_flow/v2/result/MFASubmitChallengeResultV2.js";
115
+ export { MFAResendChallengeResultV2, MFAResendChallengeResultStateV2, } from "./core/auth_flow/v2/result/MFAResendChallengeResultV2.js";
116
+ export { VerifyChallengeResultV2, VerifyChallengeResultStateV2, } from "./core/auth_flow/v2/result/VerifyChallengeResultV2.js";
117
+ export { SubmitNewPasswordResultV2, SubmitNewPasswordResultStateV2, } from "./reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.js";
118
+ export { SignInContinuationResultV2, SignInContinuationResultStateV2, } from "./sign_in/auth_flow/v2/result/SignInContinuationResultV2.js";
119
+ export { SubmitPasswordResultV2, SubmitPasswordResultStateV2, } from "./sign_in/auth_flow/v2/result/SubmitPasswordResultV2.js";
120
+ export { SubmitAttributesResultV2, SubmitAttributesResultStateV2, } from "./sign_up/auth_flow/v2/result/SubmitAttributesResultV2.js";
84
121
  export { LogLevel } from "@azure/msal-common/browser";
85
122
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/custom_auth/index.ts"],"names":[],"mappings":"AAKA;;;GAGG;AAEH;;;GAGG;AAGH,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAG7F,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AACrF,OAAO,EACH,4BAA4B,EAC5B,sCAAsC,GACzC,MAAM,iDAAiD,CAAC;AAGzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,kDAAkD,CAAC;AACzF,OAAO,EAAE,oBAAoB,EAAE,MAAM,iEAAiE,CAAC;AAGvG,OAAO,EACH,YAAY,EACZ,YAAY,EACZ,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,iCAAiC,GACpC,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AAGpF,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AACvE,OAAO,EAAE,uBAAuB,EAAE,MAAM,sDAAsD,CAAC;AAC/F,OAAO,EAAE,uBAAuB,EAAE,MAAM,sDAAsD,CAAC;AAC/F,OAAO,EAAE,2BAA2B,EAAE,MAAM,0DAA0D,CAAC;AACvG,OAAO,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AACzF,OAAO,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AAGnF,OAAO,EACH,YAAY,EACZ,iBAAiB,GACpB,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACH,sBAAsB,EACtB,2BAA2B,GAC9B,MA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wBAAwB,EACxB,6BAA6B,GAChC,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACH,2BAA2B,EAC3B,gCAAgC,GACnC,MAAM,2DAA2D,CAAC;AACnE,OAAO,EACH,0BAA0B,EAC1B,+BAA+B,GAClC,MAAM,0DAA0D,CAAC;AAClE,OAAO,EACH,0BAA0B,EAC1B,+BAA+B,GAClC,MAAM,0DAA0D,CAAC;AAClE,OAAO,EACH,uBAAuB,EACvB,4BAA4B,GAC/B,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACH,yBAAyB,EACzB,8BAA8B,GACjC,MAAM,mEAAmE,CAAC;AAC3E,OAAO,EACH,0BAA0B,EAC1B,+BAA+B,GAClC,MAAM,6DAA6D,CAAC;AACrE,OAAO,EACH,sBAAsB,EACtB,2BAA2B,GAC9B,MAAM,yDAAyD,CAAC;AACjE,OAAO,EACH,wBAAwB,EACxB,6BAA6B,GAChC,MAAM,2DAA2D,CAAC;AAGnE,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { AuthFlowErrorBaseV2 } from "../../../../core/auth_flow/v2/error/AuthFlowErrorBaseV2.js";
2
+ /**
3
+ * Error raised when submitting a new password. It exposes the detectors relevant
4
+ * to password submission so the app can react to a rejected password
5
+ * specifically. Unrecognised failures carry no specific detector; inspect the
6
+ * error code (`unexpected_error` when the server gives none) and
7
+ * `errorDescription`.
8
+ */
9
+ export declare class SubmitNewPasswordErrorV2 extends AuthFlowErrorBaseV2 {
10
+ /**
11
+ * Checks if the error is due to the new password being invalid, for example
12
+ * because it fails the tenant's complexity policy. Use it to prompt the user
13
+ * for a stronger password rather than restarting the reset flow.
14
+ * @returns True if the new password is invalid, false otherwise.
15
+ */
16
+ isInvalidPassword(): boolean;
17
+ }
18
+ //# sourceMappingURL=SubmitNewPasswordErrorV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubmitNewPasswordErrorV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4DAA4D,CAAC;AAEjG;;;;;;GAMG;AACH,qBAAa,wBAAyB,SAAQ,mBAAmB;IAC7D;;;;;OAKG;IACH,iBAAiB,IAAI,OAAO;CAG/B"}
@@ -0,0 +1,22 @@
1
+ import { CustomAuthResultV2 } from "../../../../core/auth_flow/v2/CustomAuthResultV2.js";
2
+ import type { FailedStateV2 } from "../../../../core/auth_flow/v2/state/FailedStateV2.js";
3
+ import type { SignInContinuationStateV2 } from "../../../../sign_in/auth_flow/v2/state/SignInContinuationStateV2.js";
4
+ import type { SubmitNewPasswordErrorV2 } from "../error_type/SubmitNewPasswordErrorV2.js";
5
+ /**
6
+ * The states a submit-new-password action can resolve to. Submitting the new
7
+ * password completes the reset; the flow does not sign the user in
8
+ * automatically, so on success it surfaces `SignInContinuationStateV2`
9
+ * (carrying the reset continuation) rather than the terminal `CompletedStateV2`.
10
+ * The app then calls its `signIn` to obtain tokens.
11
+ */
12
+ export type SubmitNewPasswordResultStateV2 = SignInContinuationStateV2 | FailedStateV2;
13
+ /**
14
+ * Result of submitting a new password. It wraps one of
15
+ * {@link SubmitNewPasswordResultStateV2} plus, on failure, a
16
+ * {@link SubmitNewPasswordErrorV2}. Submitting completes the reset but does not
17
+ * sign the user in, so a successful result reaches
18
+ * `SignInContinuationStateV2` and carries no account data; the account is
19
+ * surfaced by the subsequent sign-in.
20
+ */
21
+ export type SubmitNewPasswordResultV2 = CustomAuthResultV2<SubmitNewPasswordResultStateV2, SubmitNewPasswordErrorV2>;
22
+ //# sourceMappingURL=SubmitNewPasswordResultV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubmitNewPasswordResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AACzF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qEAAqE,CAAC;AACrH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAE1F;;;;;;GAMG;AACH,MAAM,MAAM,8BAA8B,GACpC,yBAAyB,GACzB,aAAa,CAAC;AAEpB;;;;;;;GAOG;AACH,MAAM,MAAM,yBAAyB,GAAG,kBAAkB,CACtD,8BAA8B,EAC9B,wBAAwB,CAC3B,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { AuthFlowActionRequiredStateBase } from "../../../../core/auth_flow/AuthFlowState.js";
2
+ import type { NewPasswordRequiredStateParametersV2 } from "./ResetPasswordStateParametersV2.js";
3
+ import type { SubmitNewPasswordResultV2 } from "../result/SubmitNewPasswordResultV2.js";
4
+ /**
5
+ * State returned when the user must supply a new password to complete the flow.
6
+ * A successful submission returns `SignInContinuationStateV2` so the app can
7
+ * sign the user in.
8
+ */
9
+ export declare class NewPasswordRequiredStateV2 extends AuthFlowActionRequiredStateBase<NewPasswordRequiredStateParametersV2> {
10
+ readonly stateType = "newPasswordRequired";
11
+ /**
12
+ * Submits the new password to complete the reset. The result either allows
13
+ * sign-in or reports that the password was rejected.
14
+ * @param password - The new password to set.
15
+ * @returns The result of submitting the new password.
16
+ */
17
+ submitNewPassword(password: string): Promise<SubmitNewPasswordResultV2>;
18
+ }
19
+ //# sourceMappingURL=NewPasswordRequiredStateV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NewPasswordRequiredStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,+BAA+B,EAAE,MAAM,6CAA6C,CAAC;AAI9F,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,qCAAqC,CAAC;AAChG,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAExF;;;;GAIG;AACH,qBAAa,0BAA2B,SAAQ,+BAA+B,CAAC,oCAAoC,CAAC;IACjH,QAAQ,CAAC,SAAS,yBAAyB;IAE3C;;;;;OAKG;IACG,iBAAiB,CACnB,QAAQ,EAAE,MAAM,GACjB,OAAO,CAAC,yBAAyB,CAAC;CAwCxC"}
@@ -0,0 +1,3 @@
1
+ import type { CustomAuthActionRequiredStateParametersV2 } from "../../../../core/auth_flow/v2/state/CustomAuthStateParametersV2.js";
2
+ export type NewPasswordRequiredStateParametersV2 = CustomAuthActionRequiredStateParametersV2;
3
+ //# sourceMappingURL=ResetPasswordStateParametersV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResetPasswordStateParametersV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateParametersV2.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,oEAAoE,CAAC;AAEpI,MAAM,MAAM,oCAAoC,GAC5C,yCAAyC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { AuthFlowErrorBaseV2 } from "../../../../core/auth_flow/v2/error/AuthFlowErrorBaseV2.js";
2
+ /**
3
+ * Error raised when redeeming a completed V2 flow's continuation for tokens.
4
+ * It adds no action-specific detectors beyond the inherited
5
+ * `isBrowserRequired()`; the app typically retries or starts sign-in explicitly.
6
+ */
7
+ export declare class SignInContinuationErrorV2 extends AuthFlowErrorBaseV2 {
8
+ }
9
+ //# sourceMappingURL=SignInContinuationErrorV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SignInContinuationErrorV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4DAA4D,CAAC;AAEjG;;;;GAIG;AACH,qBAAa,yBAA0B,SAAQ,mBAAmB;CAAG"}
@@ -0,0 +1,22 @@
1
+ import { AuthFlowErrorBaseV2 } from "../../../../core/auth_flow/v2/error/AuthFlowErrorBaseV2.js";
2
+ /**
3
+ * Error returned when native auth V2 sign-in cannot start.
4
+ */
5
+ export declare class SignInStartErrorV2 extends AuthFlowErrorBaseV2 {
6
+ /**
7
+ * Checks whether the service rejected the username parameter.
8
+ * @returns True when the username was empty or invalid.
9
+ */
10
+ isInvalidUsername(): boolean;
11
+ /**
12
+ * Checks whether the supplied username does not identify an account.
13
+ * @returns True when the service reports that the user was not found.
14
+ */
15
+ isUserNotFound(): boolean;
16
+ /**
17
+ * Checks whether an automatically submitted password was rejected.
18
+ * @returns True when the password is incorrect.
19
+ */
20
+ isInvalidPassword(): boolean;
21
+ }
22
+ //# sourceMappingURL=SignInStartErrorV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SignInStartErrorV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4DAA4D,CAAC;AAEjG;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,mBAAmB;IACvD;;;OAGG;IACH,iBAAiB,IAAI,OAAO;IAI5B;;;OAGG;IACH,cAAc,IAAI,OAAO;IAIzB;;;OAGG;IACH,iBAAiB,IAAI,OAAO;CAG/B"}
@@ -0,0 +1,12 @@
1
+ import { AuthFlowErrorBaseV2 } from "../../../../core/auth_flow/v2/error/AuthFlowErrorBaseV2.js";
2
+ /**
3
+ * Error returned when a password cannot be submitted for V2 sign-in.
4
+ */
5
+ export declare class SubmitPasswordErrorV2 extends AuthFlowErrorBaseV2 {
6
+ /**
7
+ * Checks whether the supplied password was rejected.
8
+ * @returns True when the password is incorrect.
9
+ */
10
+ isInvalidPassword(): boolean;
11
+ }
12
+ //# sourceMappingURL=SubmitPasswordErrorV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubmitPasswordErrorV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4DAA4D,CAAC;AAEjG;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,mBAAmB;IAC1D;;;OAGG;IACH,iBAAiB,IAAI,OAAO;CAG/B"}
@@ -0,0 +1,21 @@
1
+ import { CustomAuthResultV2 } from "../../../../core/auth_flow/v2/CustomAuthResultV2.js";
2
+ import type { CompletedStateV2 } from "../../../../core/auth_flow/v2/state/CompletedStateV2.js";
3
+ import type { FailedStateV2 } from "../../../../core/auth_flow/v2/state/FailedStateV2.js";
4
+ import type { CustomAuthAccountData } from "../../../../get_account/auth_flow/CustomAuthAccountData.js";
5
+ import type { SignInContinuationErrorV2 } from "../error_type/SignInContinuationErrorV2.js";
6
+ /**
7
+ * The states a V2 continuation sign-in can resolve to. Signing in redeems the
8
+ * flow continuation for tokens, so the terminal
9
+ * `CompletedStateV2` carries `CustomAuthAccountData`. `CompletedStateV2` and the
10
+ * account payload are declared together because they always occur together.
11
+ */
12
+ export type SignInContinuationResultStateV2 = CompletedStateV2 | FailedStateV2;
13
+ /**
14
+ * Result of signing the user in from a V2 continuation. It wraps one of
15
+ * {@link SignInContinuationResultStateV2} plus, on failure, a
16
+ * {@link SignInContinuationErrorV2}, and on success carries the signed-in
17
+ * account data. This is the flow's completion point, so a successful result
18
+ * reaches `CompletedStateV2`.
19
+ */
20
+ export type SignInContinuationResultV2 = CustomAuthResultV2<SignInContinuationResultStateV2, SignInContinuationErrorV2, CustomAuthAccountData>;
21
+ //# sourceMappingURL=SignInContinuationResultV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SignInContinuationResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AACzF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yDAAyD,CAAC;AAChG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACxG,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AAE5F;;;;;GAKG;AACH,MAAM,MAAM,+BAA+B,GAAG,gBAAgB,GAAG,aAAa,CAAC;AAE/E;;;;;;GAMG;AACH,MAAM,MAAM,0BAA0B,GAAG,kBAAkB,CACvD,+BAA+B,EAC/B,yBAAyB,EACzB,qBAAqB,CACxB,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { CustomAuthResultV2 } from "../../../../core/auth_flow/v2/CustomAuthResultV2.js";
2
+ import type { FailedStateV2 } from "../../../../core/auth_flow/v2/state/FailedStateV2.js";
3
+ import type { CompletedStateV2 } from "../../../../core/auth_flow/v2/state/CompletedStateV2.js";
4
+ import type { CustomAuthAccountData } from "../../../../get_account/auth_flow/CustomAuthAccountData.js";
5
+ import type { SignInStartErrorV2 } from "../error_type/SignInStartErrorV2.js";
6
+ import type { PasswordRequiredStateV2 } from "../state/PasswordRequiredStateV2.js";
7
+ import type { MFARequiredStateV2 } from "../../../../core/auth_flow/v2/state/MFARequiredStateV2.js";
8
+ import type { CodeRequiredStateV2 } from "../../../../core/auth_flow/v2/state/CodeRequiredStateV2.js";
9
+ /**
10
+ * States returned when native auth V2 sign-in starts.
11
+ */
12
+ export type SignInStartResultStateV2 = PasswordRequiredStateV2 | CodeRequiredStateV2 | MFARequiredStateV2 | CompletedStateV2 | FailedStateV2;
13
+ /**
14
+ * Result of starting native auth V2 sign-in.
15
+ */
16
+ export type SignInStartResultV2 = CustomAuthResultV2<SignInStartResultStateV2, SignInStartErrorV2, CustomAuthAccountData | undefined>;
17
+ //# sourceMappingURL=SignInStartResultV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SignInStartResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AACzF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yDAAyD,CAAC;AAChG,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACxG,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AACnF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2DAA2D,CAAC;AACpG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4DAA4D,CAAC;AAEtG;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAC9B,uBAAuB,GACvB,mBAAmB,GACnB,kBAAkB,GAClB,gBAAgB,GAChB,aAAa,CAAC;AAEpB;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,CAChD,wBAAwB,EACxB,kBAAkB,EAClB,qBAAqB,GAAG,SAAS,CACpC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { CustomAuthResultV2 } from "../../../../core/auth_flow/v2/CustomAuthResultV2.js";
2
+ import type { CompletedStateV2 } from "../../../../core/auth_flow/v2/state/CompletedStateV2.js";
3
+ import type { FailedStateV2 } from "../../../../core/auth_flow/v2/state/FailedStateV2.js";
4
+ import type { MFARequiredStateV2 } from "../../../../core/auth_flow/v2/state/MFARequiredStateV2.js";
5
+ import type { CustomAuthAccountData } from "../../../../get_account/auth_flow/CustomAuthAccountData.js";
6
+ import type { SubmitPasswordErrorV2 } from "../error_type/SubmitPasswordErrorV2.js";
7
+ export type SubmitPasswordResultStateV2 = CompletedStateV2 | MFARequiredStateV2 | FailedStateV2;
8
+ export type SubmitPasswordResultV2 = CustomAuthResultV2<SubmitPasswordResultStateV2, SubmitPasswordErrorV2, CustomAuthAccountData | undefined>;
9
+ //# sourceMappingURL=SubmitPasswordResultV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubmitPasswordResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AACzF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yDAAyD,CAAC;AAChG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2DAA2D,CAAC;AACpG,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACxG,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAEpF,MAAM,MAAM,2BAA2B,GACjC,gBAAgB,GAChB,kBAAkB,GAClB,aAAa,CAAC;AAEpB,MAAM,MAAM,sBAAsB,GAAG,kBAAkB,CACnD,2BAA2B,EAC3B,qBAAqB,EACrB,qBAAqB,GAAG,SAAS,CACpC,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { AuthFlowActionRequiredStateBase } from "../../../../core/auth_flow/AuthFlowState.js";
2
+ import type { PasswordRequiredStateParametersV2 } from "./SignInStateParametersV2.js";
3
+ import type { SubmitPasswordResultV2 } from "../result/SubmitPasswordResultV2.js";
4
+ /**
5
+ * State returned when the selected sign-in method requires the user's
6
+ * password.
7
+ */
8
+ export declare class PasswordRequiredStateV2 extends AuthFlowActionRequiredStateBase<PasswordRequiredStateParametersV2> {
9
+ readonly stateType = "passwordRequired";
10
+ /**
11
+ * Submits the password and advances sign-in.
12
+ * @param password - The account password.
13
+ * @returns A completed sign-in, MFA selection, or password submission error.
14
+ */
15
+ submitPassword(password: string): Promise<SubmitPasswordResultV2>;
16
+ }
17
+ //# sourceMappingURL=PasswordRequiredStateV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PasswordRequiredStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,+BAA+B,EAAE,MAAM,6CAA6C,CAAC;AAC9F,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AAKtF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AASlF;;;GAGG;AACH,qBAAa,uBAAwB,SAAQ,+BAA+B,CAAC,iCAAiC,CAAC;IAC3G,QAAQ,CAAC,SAAS,sBAAsB;IAExC;;;;OAIG;IACG,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC;CA+D1E"}
@@ -0,0 +1,24 @@
1
+ import { AuthFlowActionRequiredStateBase } from "../../../../core/auth_flow/AuthFlowState.js";
2
+ import type { SignInContinuationStateParametersV2 } from "./SignInStateParametersV2.js";
3
+ import type { SignInContinuationResultV2 } from "../result/SignInContinuationResultV2.js";
4
+ import type { SignInContinuationInputsV2 } from "../../../../CustomAuthActionInputs.js";
5
+ /**
6
+ * Shared state returned when a completed V2 flow can sign the user in by
7
+ * redeeming its continuation. Password reset and sign-up can both surface this
8
+ * state without duplicating the token-acquisition behavior.
9
+ */
10
+ export declare class SignInContinuationStateV2 extends AuthFlowActionRequiredStateBase<SignInContinuationStateParametersV2> {
11
+ readonly stateType = "signInContinuation";
12
+ /**
13
+ * Signs the user in using the continuation established by the completed V2
14
+ * flow. On success the returned result reaches the completed state
15
+ * carrying the signed-in account data; on failure the result's error reports
16
+ * why the follow-up sign-in could not complete.
17
+ * @param inputs - Optional scopes requested for the issued token. Claims
18
+ * are accepted for API alignment but are not sent until the V2 service
19
+ * supports them on authorize-challenge.
20
+ * @returns The result of signing in after the password reset.
21
+ */
22
+ signIn(inputs?: SignInContinuationInputsV2): Promise<SignInContinuationResultV2>;
23
+ }
24
+ //# sourceMappingURL=SignInContinuationStateV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SignInContinuationStateV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,+BAA+B,EAAE,MAAM,6CAA6C,CAAC;AAK9F,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,8BAA8B,CAAC;AACxF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAGxF;;;;GAIG;AACH,qBAAa,yBAA0B,SAAQ,+BAA+B,CAAC,mCAAmC,CAAC;IAC/G,QAAQ,CAAC,SAAS,wBAAwB;IAE1C;;;;;;;;;OASG;IACG,MAAM,CACR,MAAM,CAAC,EAAE,0BAA0B,GACpC,OAAO,CAAC,0BAA0B,CAAC;CA+CzC"}
@@ -0,0 +1,4 @@
1
+ import type { CustomAuthActionRequiredStateParametersV2 } from "../../../../core/auth_flow/v2/state/CustomAuthStateParametersV2.js";
2
+ export type SignInContinuationStateParametersV2 = CustomAuthActionRequiredStateParametersV2;
3
+ export type PasswordRequiredStateParametersV2 = CustomAuthActionRequiredStateParametersV2;
4
+ //# sourceMappingURL=SignInStateParametersV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SignInStateParametersV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/v2/state/SignInStateParametersV2.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,oEAAoE,CAAC;AAEpI,MAAM,MAAM,mCAAmC,GAC3C,yCAAyC,CAAC;AAE9C,MAAM,MAAM,iCAAiC,GACzC,yCAAyC,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { AuthFlowErrorBaseV2 } from "../../../../core/auth_flow/v2/error/AuthFlowErrorBaseV2.js";
2
+ /**
3
+ * Error returned when native auth V2 sign-up cannot start. It exposes
4
+ * detectors for failures that an app can correct without restarting the flow.
5
+ */
6
+ export declare class SignUpStartErrorV2 extends AuthFlowErrorBaseV2 {
7
+ /**
8
+ * Checks whether an upfront password violates the tenant's password policy.
9
+ * Use it to prompt the user for a stronger password.
10
+ * @returns True when the password violates policy, otherwise false.
11
+ */
12
+ isInvalidPassword(): boolean;
13
+ }
14
+ //# sourceMappingURL=SignUpStartErrorV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SignUpStartErrorV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4DAA4D,CAAC;AAEjG;;;GAGG;AACH,qBAAa,kBAAmB,SAAQ,mBAAmB;IACvD;;;;OAIG;IACH,iBAAiB,IAAI,OAAO;CAG/B"}
@@ -0,0 +1,20 @@
1
+ import { AuthFlowErrorBaseV2 } from "../../../../core/auth_flow/v2/error/AuthFlowErrorBaseV2.js";
2
+ /**
3
+ * Error returned when additional V2 sign-up attributes cannot be submitted. It
4
+ * identifies attribute failures that an app can correct and resubmit.
5
+ */
6
+ export declare class SubmitAttributesErrorV2 extends AuthFlowErrorBaseV2 {
7
+ /**
8
+ * Checks whether the service requires attributes omitted from the request.
9
+ * Use it to collect the required attributes before resubmitting.
10
+ * @returns True when required attributes are missing, otherwise false.
11
+ */
12
+ isMissingRequiredAttributes(): boolean;
13
+ /**
14
+ * Checks whether a submitted password violates the tenant's password policy.
15
+ * Use it to prompt the user for a stronger password.
16
+ * @returns True when the password violates policy, otherwise false.
17
+ */
18
+ isInvalidPassword(): boolean;
19
+ }
20
+ //# sourceMappingURL=SubmitAttributesErrorV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubmitAttributesErrorV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4DAA4D,CAAC;AAEjG;;;GAGG;AACH,qBAAa,uBAAwB,SAAQ,mBAAmB;IAC5D;;;;OAIG;IACH,2BAA2B,IAAI,OAAO;IAMtC;;;;OAIG;IACH,iBAAiB,IAAI,OAAO;CAG/B"}
@@ -0,0 +1,15 @@
1
+ import { CustomAuthResultV2 } from "../../../../core/auth_flow/v2/CustomAuthResultV2.js";
2
+ import type { CodeRequiredStateV2 } from "../../../../core/auth_flow/v2/state/CodeRequiredStateV2.js";
3
+ import type { FailedStateV2 } from "../../../../core/auth_flow/v2/state/FailedStateV2.js";
4
+ import type { SignUpStartErrorV2 } from "../error_type/SignUpStartErrorV2.js";
5
+ import type { AttributesRequiredStateV2 } from "../state/AttributesRequiredStateV2.js";
6
+ import type { SignUpPasswordRequiredStateV2 } from "../state/SignUpPasswordRequiredStateV2.js";
7
+ /**
8
+ * States returned when native auth V2 sign-up starts.
9
+ */
10
+ export type SignUpStartResultStateV2 = CodeRequiredStateV2 | SignUpPasswordRequiredStateV2 | AttributesRequiredStateV2 | FailedStateV2;
11
+ /**
12
+ * Result of starting native auth V2 sign-up.
13
+ */
14
+ export type SignUpStartResultV2 = CustomAuthResultV2<SignUpStartResultStateV2, SignUpStartErrorV2>;
15
+ //# sourceMappingURL=SignUpStartResultV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SignUpStartResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AACzF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4DAA4D,CAAC;AACtG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AACvF,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAE/F;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAC9B,mBAAmB,GACnB,6BAA6B,GAC7B,yBAAyB,GACzB,aAAa,CAAC;AAEpB;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,CAChD,wBAAwB,EACxB,kBAAkB,CACrB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { CustomAuthResultV2 } from "../../../../core/auth_flow/v2/CustomAuthResultV2.js";
2
+ import type { CodeRequiredStateV2 } from "../../../../core/auth_flow/v2/state/CodeRequiredStateV2.js";
3
+ import type { FailedStateV2 } from "../../../../core/auth_flow/v2/state/FailedStateV2.js";
4
+ import type { SignInContinuationStateV2 } from "../../../../sign_in/auth_flow/v2/state/SignInContinuationStateV2.js";
5
+ import type { SubmitAttributesErrorV2 } from "../error_type/SubmitAttributesErrorV2.js";
6
+ export type SubmitAttributesResultStateV2 = CodeRequiredStateV2 | SignInContinuationStateV2 | FailedStateV2;
7
+ export type SubmitAttributesResultV2 = CustomAuthResultV2<SubmitAttributesResultStateV2, SubmitAttributesErrorV2>;
8
+ //# sourceMappingURL=SubmitAttributesResultV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubmitAttributesResultV2.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AACzF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4DAA4D,CAAC;AACtG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qEAAqE,CAAC;AACrH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AAExF,MAAM,MAAM,6BAA6B,GACnC,mBAAmB,GACnB,yBAAyB,GACzB,aAAa,CAAC;AAEpB,MAAM,MAAM,wBAAwB,GAAG,kBAAkB,CACrD,6BAA6B,EAC7B,uBAAuB,CAC1B,CAAC"}