SignUpBuilder

Builder for sign-up with standard details.

Example usage:

clerk.auth.signUp {
email = "newuser@email.com"
password = "secretpassword"
firstName = "John"
lastName = "Doe"
}

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The email address for the new account.

Link copied to clipboard

The user's first name.

Link copied to clipboard

The user's last name.

Link copied to clipboard

Whether the user has accepted the legal terms (privacy policy and terms of service).

Link copied to clipboard

The password for the new account.

Link copied to clipboard

The phone number for the new account.

Link copied to clipboard

Custom metadata that will be attached to the created user. This metadata is not validated by Clerk and should not contain sensitive information.

Link copied to clipboard

The username for the new account.