Package com.stytch.sdk.consumer.oauth
Class OAuth.GoogleOneTap.StartParameters
-
- All Implemented Interfaces:
public final class OAuth.GoogleOneTap.StartParametersData class used for wrapping parameters to start a Google OneTap flow
-
-
Field Summary
Fields Modifier and Type Field Description private final Activitycontextprivate final StringclientIdprivate final BooleanautoSelectEnabledprivate final IntegersessionDurationMinutes
-
Constructor Summary
Constructors Constructor Description OAuth.GoogleOneTap.StartParameters(Activity context, String clientId, Boolean autoSelectEnabled, Integer sessionDurationMinutes)OAuth.GoogleOneTap.StartParameters(Activity context, String clientId, Boolean autoSelectEnabled)OAuth.GoogleOneTap.StartParameters(Activity context, String clientId)
-
Method Summary
Modifier and Type Method Description final ActivitygetContext()is the calling Activity final StringgetClientId()is the Google Cloud OAuth Client Id final BooleangetAutoSelectEnabled()toggles whether or not to autoselect an account if only one Google account exists final IntegergetSessionDurationMinutes()indicates how long the session should last before it expires -
-
Constructor Detail
-
OAuth.GoogleOneTap.StartParameters
OAuth.GoogleOneTap.StartParameters(Activity context, String clientId, Boolean autoSelectEnabled, Integer sessionDurationMinutes)
-
OAuth.GoogleOneTap.StartParameters
OAuth.GoogleOneTap.StartParameters(Activity context, String clientId, Boolean autoSelectEnabled)
-
-
Method Detail
-
getContext
final Activity getContext()
is the calling Activity
-
getClientId
final String getClientId()
is the Google Cloud OAuth Client Id
-
getAutoSelectEnabled
final Boolean getAutoSelectEnabled()
toggles whether or not to autoselect an account if only one Google account exists
-
getSessionDurationMinutes
final Integer getSessionDurationMinutes()
indicates how long the session should last before it expires
-
-
-
-