Config

@Serializable
data class Config(var phone: String = "", var password: String = "", var channel: Phone.Channel = Channel.SMS) : DefaultAuthProvider.Config(source)

The configuration for the phone authentication method

Parameters

phone

The phone number of the user

password

The password of the user

channel

The channel to send the confirmation to

Constructors

Link copied to clipboard
constructor(phone: String = "", password: String = "", channel: Phone.Channel = Channel.SMS)

Properties

Link copied to clipboard
@Serializable(with = CaptchaTokenSerializer::class)
@SerialName(value = "gotrue_meta_security")
var captchaToken: String?
Link copied to clipboard
Link copied to clipboard
var data: JsonObject?
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "phone")
var phone: String