IDTokenProvider

Represents an OAuthProvider capable of authenticating via an id token

Inheritors

Types

Link copied to clipboard
object Companion : KSerializer<IDTokenProvider>

Properties

Link copied to clipboard
abstract val name: String

The name of the provider.

Functions

Link copied to clipboard
open suspend override fun login(supabaseClient: SupabaseClient, onSuccess: suspend (UserSession) -> Unit, redirectUrl: String?, config: ExternalAuthConfig.() -> Unit?)

Used to login a user

Link copied to clipboard
open suspend override fun signUp(supabaseClient: SupabaseClient, onSuccess: suspend (UserSession) -> Unit, redirectUrl: String?, config: ExternalAuthConfig.() -> Unit?)

Used to sign up a user.