Package-level declarations
Types
Link copied to clipboard
The states for a Google Sign-In screen.
Link copied to clipboard
open class GoogleSignInViewModel(val googleSignInClient: GoogleSignInClient, googleSignInEventListener: GoogleSignInEventListener = GoogleSignInEventListenerNoOpImpl) : ViewModel
A view model for a Google Sign-In screen.
Functions
Link copied to clipboard
fun GoogleSignInScreen(onAuthCancelled: () -> Unit, onAuthSucceed: () -> Unit, modifier: Modifier = Modifier, viewModel: GoogleSignInViewModel = viewModel())
A GoogleSignInScreen with:
fun GoogleSignInScreen(onAuthCancelled: () -> Unit, failedContent: @Composable () -> Unit, modifier: Modifier = Modifier, viewModel: GoogleSignInViewModel = viewModel(), content: @Composable (successState: GoogleSignInScreenState.Success) -> Unit)
A screen for the Google Sign-In authentication method.