Package-level declarations

Types

Link copied to clipboard
@Serializable
data class SignUp(val id: String, val status: SignUp.Status = Status.UNKNOWN, val requiredFields: List<String>, val optionalFields: List<String>, val missingFields: List<String>, val unverifiedFields: List<String>, val verifications: Map<String, Verification?>, val username: String? = null, val emailAddress: String? = null, val phoneNumber: String? = null, val passwordEnabled: Boolean, val firstName: String? = null, val lastName: String? = null, val unsafeMetadata: JsonObject? = null, val createdSessionId: String? = null, val createdUserId: String? = null, val abandonedAt: Long? = null)

The SignUp object holds the state of the current sign-up and provides helper methods to navigate and complete the sign-up process. Once a sign-up is complete, a new user is created.

Properties

Link copied to clipboard

Helper property to get the first field that needs to be collected.

Link copied to clipboard

Helper property to get the first field that needs to be verified.

Functions

Link copied to clipboard

Attempts to complete the verification process.

Link copied to clipboard

Prepares verification for the specified strategy.

Link copied to clipboard

Sends a verification code to the specified email or phone.

Link copied to clipboard

Sends a verification code to the email address associated with this sign-up.

Link copied to clipboard

Sends a verification code to the phone number associated with this sign-up.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for SignUp.AuthenticateWithRedirectParams.toMap(): Map<String, String>
fun ERROR CLASS: Symbol not found for SignUp.CreateParams.toMap(): Map<String, String>
fun ERROR CLASS: Symbol not found for SignUp.SignUpUpdateParams.toMap(): Map<String, String>
fun ERROR CLASS: Symbol not found for SignUp.AuthenticateWithRedirectParams.toMap(): Map<String, String>
fun ERROR CLASS: Symbol not found for SignUp.CreateParams.toMap(): Map<String, String>
fun ERROR CLASS: Symbol not found for SignUp.SignUpUpdateParams.toMap(): Map<String, String>
Link copied to clipboard

Updates the sign-up with additional information.

Link copied to clipboard

Verifies with the provided code and type.