updateUser

abstract suspend fun updateUser(updateCurrentUser: Boolean = true, redirectUrl: String? = defaultRedirectUrl(), config: UserUpdateBuilder.() -> Unit): UserInfo(source)

Modifies the current user

Parameters

updateCurrentUser

Whether to update the current user in the SupabaseClient

config

The configuration to use

Throws

or one of its subclasses if receiving an error response. If the error response contains a error code, an AuthRestException will be thrown which can be used to easier identify the problem.

HttpRequestTimeoutException

if the request timed out

on network related issues