StartParameters

data class StartParameters @JvmOverloads constructor(val context: Activity, val clientId: String, val autoSelectEnabled: Boolean = false, val sessionDurationMinutes: Int = DEFAULT_SESSION_TIME_MINUTES)

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

Constructors

Link copied to clipboard
constructor(context: Activity, clientId: String, autoSelectEnabled: Boolean = false, sessionDurationMinutes: Int = DEFAULT_SESSION_TIME_MINUTES)

Properties

Link copied to clipboard

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

Link copied to clipboard

is the Google Cloud OAuth Client Id

Link copied to clipboard

is the calling Activity

Link copied to clipboard

indicates how long the session should last before it expires