start

abstract suspend fun start(parameters: OAuth.GoogleOneTap.StartParameters): Boolean

Begin a Google OneTap login flow. Returns true if the flow was successfully initiated, false if not. If this returns false, it means the Google OneTap flow is not available (no play services on device or user signed out), and you can fallback to the ThirdParty/Legacy Google OAuth flow

Return

Boolean

Parameters

parameters

required to begin the OneTap flow


abstract fun start(parameters: OAuth.GoogleOneTap.StartParameters, callback: (Boolean) -> Unit)

Begin a Google OneTap login flow. Returns true if the flow was successfully initiated, false if not. If this returns false, it means the Google OneTap flow is not available (no play services on device or user signed out), and you can fallback to the ThirdParty/Legacy Google OAuth flow

Parameters

parameters

required to begin the OneTap flow

callback

a callback that receives a Boolean