Creates a new user.
autoConfirm
to true. Both arguments default to false.val userWithEmail = supabase.gotrue.admin.createUserWithEmail \{
email = "example@email.com"
password = "secretpassword"
userMetadata \{
put("name", "John")
\}
\}
val userWithPhone = supabase.gotrue.admin.createUserWithPhone \{
phoneNumber = "+49123456789"
password = "secretpassword"
userMetadata \{
put("name", "John")
\}
\}
val userWithEmail = supabase.gotrue.admin.createUserWithEmail \{
email = "example@email.com"
password = "secretpassword"
autoConfirm = true
\}
val userWithPhone = supabase.gotrue.admin.createUserWithPhone \{
phoneNumber = "+49123456789"
password = "secretpassword"
autoConfirm = true
\}