Config

data class Config(var googleLoginConfig: GoogleLoginConfig? = null, var appleLoginConfig: AppleLoginConfig? = null, var serializer: SupabaseSerializer? = null) : CustomSerializationConfig(source)

Config for ComposeAuth

Constructors

Link copied to clipboard
constructor(googleLoginConfig: GoogleLoginConfig? = null, appleLoginConfig: AppleLoginConfig? = null, serializer: SupabaseSerializer? = null)

Properties

Link copied to clipboard

Config for Apple Login. Currently a placeholder.

Link copied to clipboard

Config for Google Login

Link copied to clipboard
open override var serializer: SupabaseSerializer?

The SupabaseSerializer to use for serialization when using NativeSignInState.startFlow

Functions

Link copied to clipboard

Helper function that return native configs

Link copied to clipboard
fun ComposeAuth.Config.googleNativeLogin(serverClientId: String, isSupported: Boolean = true, associateLinkedAccounts: Pair<String, List<String>>? = null, handleSignOut: suspend () -> Unit? = ::handleGoogleSignOut)

Helper function that return native configs