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

Parameters

context

is the calling Activity

clientId

is the Google Cloud OAuth Client Id

oAuthRequestIdentifier

is an ID associated with the Google Sign In intent

autoSelectEnabled

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

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
Link copied to clipboard
val clientId: String
Link copied to clipboard
val context: Activity
Link copied to clipboard
val oAuthRequestIdentifier: Int