Package-level declarations

Types

Link copied to clipboard
sealed interface NativeSignInResult

Represents the response of a Native SignIn

Link copied to clipboard

Represents the state of a Native Auth flow

Link copied to clipboard
sealed interface NativeSignInStatus

Represents the status of a Native Auth flow

Functions

Link copied to clipboard
expect fun ComposeAuth.rememberSignInWithApple(onResult: (NativeSignInResult) -> Unit, fallback: suspend () -> Unit = { fallbackLogin(Apple) }): NativeSignInState

Composable function that implements Native Apple Auth.

actual fun ComposeAuth.rememberSignInWithApple(onResult: (NativeSignInResult) -> Unit, fallback: suspend () -> Unit): NativeSignInState

Composable for Apple login with default behavior

Link copied to clipboard
expect fun ComposeAuth.rememberSignInWithGoogle(onResult: (NativeSignInResult) -> Unit = {}, fallback: suspend () -> Unit = { fallbackLogin(Google) }): NativeSignInState

Composable function that implements Native Google Auth.

actual fun ComposeAuth.rememberSignInWithGoogle(onResult: (NativeSignInResult) -> Unit, fallback: suspend () -> Unit): NativeSignInState

Composable function that implements Native Google Auth.