AuthProvider

interface AuthProvider<C, R>(source)

An authentication provider

Inheritors

Functions

Link copied to clipboard
abstract suspend fun login(supabaseClient: SupabaseClient, onSuccess: suspend (UserSession) -> Unit, redirectUrl: String? = null, config: C.() -> Unit? = null)

Used to login a user

Link copied to clipboard
abstract suspend fun signUp(supabaseClient: SupabaseClient, onSuccess: suspend (UserSession) -> Unit, redirectUrl: String? = null, config: C.() -> Unit? = null): R?

Used to sign up a user.