Config

class Config(serializer: SupabaseSerializer)(source)

The configuration for the OTP authentication method

Note: Only email or phone can be set

Constructors

Link copied to clipboard
constructor(serializer: SupabaseSerializer)

Properties

Link copied to clipboard

The captcha token for the request

Link copied to clipboard

The channel to send the OTP to. Only applies when phone is set. Defaults to SMS when not specified.

Link copied to clipboard

Whether to create a new user if the user doesn't exist

Link copied to clipboard
var data: JsonObject?

Additional data to store with the user

Link copied to clipboard

The email of the user

Link copied to clipboard

The phone number of the user

Functions

Link copied to clipboard
inline fun <T : Any> data(data: T)

Sets data to the given value.