OAuthContainer

fun OAuthContainer(modifier: Modifier = Modifier, oAuthProvider: OAuthProvider, onResult: (Result<FirebaseUser?>) -> Unit, linkAccount: Boolean = false, content: @Composable UiContainerScope.() -> Unit)

Deprecated

Use rememberFirebaseOAuthSignInState(...) and call launch() from your own button's onClick. Scheduled for removal in 4.0.

Replace with

import com.mmk.kmpauth.firebase.oauth.rememberFirebaseOAuthSignInState
rememberFirebaseOAuthSignInState(oAuthProvider, linkAccount, onResult)

Legacy container API for OAuth sign-in with Firebase. Superseded by rememberFirebaseOAuthSignInState, which returns a com.mmk.kmpauth.core.SignInState you can wire to any clickable without the receiver-scope indirection.


fun OAuthContainer(modifier: Modifier = Modifier, oAuthProvider: OAuthProvider, onResult: (Result<FirebaseUser?>) -> Unit, content: @Composable UiContainerScope.() -> Unit)

Deprecated

Use OAuthContainer with linkAccount parameter, which defaults to false

Replace with