start

Begin a Google OneTap login flow. Returns an authenticated session if the flow was successfully initiated. If this returns an error, 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

NativeOAuthResponse

Parameters

parameters

required to begin the OneTap flow


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

Begin a Google OneTap login flow. Returns an authenticated session if the flow was successfully initiated. If this returns an error, 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 NativeOAuthResponse