AdminUserBuilder

@Serializable(with = AdminUserBuilder.Companion::class)
sealed class AdminUserBuilder(source)

A builder for creating a new user when signing up.

Inheritors

Types

Link copied to clipboard
object Companion : KSerializer<AdminUserBuilder>
Link copied to clipboard
data class Email(var email: String = "") : AdminUserBuilder
Link copied to clipboard
data class Phone(var phone: String = "") : AdminUserBuilder

Properties

Link copied to clipboard
var appMetadata: JsonObject?

Extra app metadata

Link copied to clipboard

Automatically confirms either the phone number or the email address

Link copied to clipboard

The user's password

Link copied to clipboard
var userMetadata: JsonObject?

Extra user metadata

Functions

Link copied to clipboard
fun appMetadata(metadata: JsonObjectBuilder.() -> Unit)

Adds app-specific metadata

Link copied to clipboard
fun userMetadata(metadata: JsonObjectBuilder.() -> Unit)

Adds user-specific metadata