@@ -2,7 +2,15 @@ import type { ClerkError } from '../errors/clerkError';
22import type { SetActiveNavigate } from './clerk' ;
33import type { PhoneCodeChannel } from './phoneCodeChannel' ;
44import type { SignUpField , SignUpIdentificationField , SignUpStatus , SignUpVerificationResource } from './signUpCommon' ;
5- import type { Web3Strategy } from './strategies' ;
5+ import type {
6+ AppleIdTokenStrategy ,
7+ EnterpriseSSOStrategy ,
8+ GoogleOneTapStrategy ,
9+ OAuthStrategy ,
10+ PhoneCodeStrategy ,
11+ TicketStrategy ,
12+ Web3Strategy ,
13+ } from './strategies' ;
614import type { VerificationResource } from './verification' ;
715
816export interface SignUpFutureAdditionalParams {
@@ -38,6 +46,17 @@ export interface SignUpFutureAdditionalParams {
3846}
3947
4048export interface SignUpFutureCreateParams extends SignUpFutureAdditionalParams {
49+ /**
50+ * The first factor verification strategy to use in the sign-in flow. Depends on the `identifier` value. Each
51+ * authentication identifier supports different verification strategies.
52+ */
53+ strategy ?:
54+ | OAuthStrategy
55+ | EnterpriseSSOStrategy
56+ | TicketStrategy
57+ | GoogleOneTapStrategy
58+ | AppleIdTokenStrategy
59+ | PhoneCodeStrategy ;
4160 /**
4261 * The user's email address. Only supported if [Email address](https://clerk.com/docs/guides/configure/auth-strategies/sign-up-sign-in-options#email)
4362 * is enabled. Keep in mind that the email address requires an extra verification process.
@@ -55,6 +74,11 @@ export interface SignUpFutureCreateParams extends SignUpFutureAdditionalParams {
5574 * the instance settings.
5675 */
5776 username ?: string ;
77+ /**
78+ * The user's password. Only supported if
79+ * [password](https://clerk.com/docs/guides/configure/auth-strategies/sign-up-sign-in-options#password) is enabled.
80+ */
81+ password ?: string ;
5882 /**
5983 * When set to `true`, the `SignUp` will attempt to retrieve information from the active `SignIn` instance and use it
6084 * to complete the sign-up process. This is useful when you want to seamlessly transition a user from a sign-in
0 commit comments