StartParameters
data class StartParameters( val context: Activity, val clientId: String, val oAuthRequestIdentifier: Int, val autoSelectEnabled: Boolean = false)
Content copied to clipboard
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)
Content copied to clipboard