-
- All Implemented Interfaces:
-
android.os.Parcelable
@RestrictTo(value = RestrictTo.Scope.LIBRARY_GROUP) public class FlowParameters implements Parcelable
Encapsulates the core parameters and data captured during the authentication flow, in a serializable manner, in order to pass data between activities.
-
-
Field Summary
Fields Modifier and Type Field Description public final static Parcelable.Creator<FlowParameters>CREATORpublic final StringappNamepublic final List<AuthUI.IdpConfig>providerspublic final AuthUI.IdpConfigdefaultProviderpublic final intthemeIdpublic final intlogoIdpublic final StringtermsOfServiceUrlpublic final StringprivacyPolicyUrlpublic StringemailLinkpublic final ActionCodeSettingspasswordResetSettingspublic final booleanenableCredentialspublic final booleanenableAnonymousUpgradepublic final booleanalwaysShowProviderChoicepublic final booleanlockOrientationpublic final AuthMethodPickerLayoutauthMethodPickerLayout
-
Constructor Summary
Constructors Constructor Description FlowParameters(String appName, List<AuthUI.IdpConfig> providers, AuthUI.IdpConfig defaultProvider, int themeId, int logoId, String termsOfServiceUrl, String privacyPolicyUrl, boolean enableCredentials, boolean enableAnonymousUpgrade, boolean alwaysShowProviderChoice, boolean lockOrientation, String emailLink, ActionCodeSettings passwordResetSettings, AuthMethodPickerLayout authMethodPickerLayout)
-
Method Summary
Modifier and Type Method Description static FlowParametersfromIntent(Intent intent)Extract FlowParameters from an Intent. voidwriteToParcel(Parcel dest, int flags)intdescribeContents()booleanisSingleProviderFlow()booleanisTermsOfServiceUrlProvided()booleanisPrivacyPolicyUrlProvided()booleanisAnonymousUpgradeEnabled()booleanisPlayServicesRequired()booleanisProviderEnabled(String provider)booleanshouldShowProviderChoice()AuthUI.IdpConfiggetDefaultOrFirstProvider()-
-
Constructor Detail
-
FlowParameters
FlowParameters(String appName, List<AuthUI.IdpConfig> providers, AuthUI.IdpConfig defaultProvider, int themeId, int logoId, String termsOfServiceUrl, String privacyPolicyUrl, boolean enableCredentials, boolean enableAnonymousUpgrade, boolean alwaysShowProviderChoice, boolean lockOrientation, String emailLink, ActionCodeSettings passwordResetSettings, AuthMethodPickerLayout authMethodPickerLayout)
-
-
Method Detail
-
fromIntent
static FlowParameters fromIntent(Intent intent)
Extract FlowParameters from an Intent.
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
describeContents
int describeContents()
-
isSingleProviderFlow
boolean isSingleProviderFlow()
-
isTermsOfServiceUrlProvided
boolean isTermsOfServiceUrlProvided()
-
isPrivacyPolicyUrlProvided
boolean isPrivacyPolicyUrlProvided()
-
isAnonymousUpgradeEnabled
boolean isAnonymousUpgradeEnabled()
-
isPlayServicesRequired
boolean isPlayServicesRequired()
-
isProviderEnabled
boolean isProviderEnabled(String provider)
-
shouldShowProviderChoice
boolean shouldShowProviderChoice()
-
getDefaultOrFirstProvider
AuthUI.IdpConfig getDefaultOrFirstProvider()
-
-
-
-