AdminUserUpdateBuilder

@Serializable
data class AdminUserUpdateBuilder(var email: String? = null, var password: String? = null, var appMetadata: JsonObject? = null, var userMetadata: JsonObject? = null, var emailConfirm: Boolean? = null, var phoneConfirm: Boolean? = null, var phone: String? = null, var banDuration: String? = null, var role: String? = null)(source)

A builder for updating a user.

Constructors

Link copied to clipboard
constructor(email: String? = null, password: String? = null, appMetadata: JsonObject? = null, userMetadata: JsonObject? = null, emailConfirm: Boolean? = null, phoneConfirm: Boolean? = null, phone: String? = null, banDuration: String? = null, role: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "app_metadata")
var appMetadata: JsonObject?

Extra app metadata

Link copied to clipboard
@SerialName(value = "ban_duration")
var banDuration: String?

Determines how long a user is banned for. The format for the ban duration follows a strict sequence of decimal numbers with a unit suffix.

Link copied to clipboard

The user's email address

Link copied to clipboard
@SerialName(value = "email_confirm")
var emailConfirm: Boolean?

Automatically confirms the email address

Link copied to clipboard

The user's password

Link copied to clipboard

The user's phone number

Link copied to clipboard
@SerialName(value = "phone_confirm")
var phoneConfirm: Boolean?

Automatically confirms the phone number

Link copied to clipboard
var role: String?

The role claim set in the user's access token JWT.

Link copied to clipboard
@SerialName(value = "user_metadata")
var userMetadata: JsonObject?

Extra user metadata