UserUpdateBuilder

@Serializable
data class UserUpdateBuilder(var email: String? = null, var password: String? = null, var phone: String? = null, var nonce: String? = null, var data: JsonObject? = null, serializer: SupabaseSerializer = KotlinXSerializer())(source)

A builder for updating a user.

Parameters

email

The user's new email address

password

The user's new password

phone

The user's new phone number

nonce

The nonce sent for reauthentication if the user's password is to be updated. Call Auth.reauthenticate to send the nonce to the user's email.

data

Extra user metadata

Constructors

Link copied to clipboard
constructor(email: String? = null, password: String? = null, phone: String? = null, nonce: String? = null, data: JsonObject? = null, serializer: SupabaseSerializer = KotlinXSerializer())

Properties

Link copied to clipboard
var data: JsonObject?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "phone")
var phone: String?

Functions

Link copied to clipboard
inline fun <T : Any> data(data: T)
inline fun data(builder: JsonObjectBuilder.() -> Unit)

Adds user-specific metadata