StartParameters

data class StartParameters(val context: Activity, val clientId: String, val autoSelectEnabled: Boolean = false, val sessionDurationMinutes: UInt = Constants.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: UInt = Constants.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