GoogleButtonUiContainer
fun GoogleButtonUiContainer(modifier: Modifier = Modifier, filterByAuthorizedAccounts: Boolean = false, isAutoSelectEnabled: Boolean = true, scopes: List<String> = BASIC_AUTH_SCOPE, onGoogleSignInResult: (GoogleUser?) -> Unit, content: @Composable UiContainerScope.() -> Unit)
Deprecated
Use rememberGoogleSignInState(...) and call launch() from your own button's onClick. Scheduled for removal in 4.0.
Replace with
import com.mmk.kmpauth.google.rememberGoogleSignInState
Content copied to clipboard
rememberGoogleSignInState(filterByAuthorizedAccounts, isAutoSelectEnabled, scopes, onGoogleSignInResult)Content copied to clipboard
Legacy container API for Google Sign-In. Superseded by rememberGoogleSignInState, which returns a com.mmk.kmpauth.core.SignInState you can wire to any clickable without the receiver-scope indirection.