CreateParams

sealed interface CreateParams

Represents the various strategies for initiating a SignUp request. This sealed interface encapsulates the different ways to create a sign-up, such as using standard parameters (e.g., email, password) or creating without any parameters to inspect the signUp object first.

Inheritors

Types

Link copied to clipboard
@Serializable
data class GoogleOneTap(val strategy: String = "google_one_tap", val token: String) : SignUp.CreateParams

The SignUp will be created using a Google One Tap token.

Link copied to clipboard

The SignUp will be created without any parameters.

Link copied to clipboard
@Serializable
data class Standard(val emailAddress: String? = null, val password: String? = null, val firstName: String? = null, val lastName: String? = null, val username: String? = null, val phoneNumber: String? = null) : SignUp.CreateParams

Standard sign-up strategy, allowing the user to provide common details such as email, password, and personal information.

Link copied to clipboard

The SignUp will be created by transferring an existing session.