Package-level declarations
Functions
Link copied to clipboard
fun GoogleButtonUiContainerFirebase(modifier: Modifier = Modifier, onResult: (Result<FirebaseUser?>) -> Unit, content: @Composable UiContainerScope.() -> Unit)
fun GoogleButtonUiContainerFirebase(modifier: Modifier = Modifier, linkAccount: Boolean = false, filterByAuthorizedAccounts: Boolean = false, isAutoSelectEnabled: Boolean = true, scopes: List<String> = listOf("email", "profile"), onResult: (Result<FirebaseUser?>) -> Unit, content: @Composable UiContainerScope.() -> Unit)
Legacy container API for Google Sign-In with Firebase. Superseded by rememberFirebaseGoogleSignInState, which returns a com.mmk.kmpauth.core.SignInState you can wire to any clickable without the receiver-scope indirection.
Link copied to clipboard
fun rememberFirebaseGoogleSignInState(linkAccount: Boolean = false, filterByAuthorizedAccounts: Boolean = false, isAutoSelectEnabled: Boolean = true, scopes: List<String> = listOf("email", "profile"), onResult: (Result<FirebaseUser?>) -> Unit): SignInState
Google Sign-In exchanged for a Firebase session, as a Compose state holder. Make sure GoogleAuthProvider.create was called at application start.