Package-level declarations

Types

Link copied to clipboard
data object AppleLoginConfig

Config for Apple's Authorization API

Link copied to clipboard

Plugin that extends the Auth Module with composable function that enables an easy implementation of Native Auth. Currently supported Google Login (Android with OneTap or CM on Android 14+) and Apple Login (iOS), other compose-supported targets rely on GoTrue login.

Link copied to clipboard
data class GoogleLoginConfig(val serverClientId: String, val isSupported: Boolean = true, val associateLinkedAccounts: Pair<String, List<String>>? = null, val handleSignOut: suspend () -> Unit? = ::handleGoogleSignOut)

Config for requesting IDToken from play-auth API

Properties

Link copied to clipboard

Composable plugin that handles Native Auth on supported platforms

Functions

Link copied to clipboard

Helper function that return native configs

Link copied to clipboard

Composable of default behavior if Native Auth is not supported on the platform

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