Config
class Config(serializer: SupabaseSerializer, var email: String? = null, var phone: String? = null, var data: JsonObject? = null, var createUser: Boolean = true, var captchaToken: String? = null)(source)
The configuration for the OTP authentication method
Note: Only email or phone can be set
Parameters
email
The email of the user
phone
The phone number of the user
data
Additional data to store with the user
createUser
Whether to create a new user if the user doesn't exist
captchaToken
The captcha token for the request