UserUpdateBuilder

constructor(email: String? = null, password: String? = null, phone: String? = null, nonce: String? = null, data: JsonObject? = null, currentPassword: String? = null, serializer: SupabaseSerializer = KotlinXSerializer())(source)

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

currentPassword

The user's current password This is only ever present when the user is resetting their password and GOTRUE_SECURITY_UPDATE_PASSWORD_REQUIRE_CURRENT_PASSWORD is true.