StartParameters

data class StartParameters(    val context: Activity,     val clientId: String,     val oAuthRequestIdentifier: Int,     val autoSelectEnabled: Boolean = false)

Data class used for wrapping parameters to start a Google OneTap flow

Constructors

Link copied to clipboard
fun StartParameters(    context: Activity,     clientId: String,     oAuthRequestIdentifier: Int,     autoSelectEnabled: Boolean = false)

Properties

Link copied to clipboard
val autoSelectEnabled: Boolean = false

toggles whether or not to autoselect an account if only one Google account exists

Link copied to clipboard
val clientId: String

is the Google Cloud OAuth Client Id

Link copied to clipboard
val context: Activity

is the calling Activity

Link copied to clipboard
val oAuthRequestIdentifier: Int

is an ID associated with the Google Sign In intent