public class FlowParameters extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
boolean |
alwaysShowProviderChoice |
String |
appName |
AuthMethodPickerLayout |
authMethodPickerLayout |
static Parcelable.Creator<FlowParameters> |
CREATOR |
AuthUI.IdpConfig |
defaultProvider |
String |
emailLink |
boolean |
enableAnonymousUpgrade |
boolean |
enableCredentials |
boolean |
enableHints |
boolean |
lockOrientation |
int |
logoId |
com.google.firebase.auth.ActionCodeSettings |
passwordResetSettings |
String |
privacyPolicyUrl |
List<AuthUI.IdpConfig> |
providers |
String |
termsOfServiceUrl |
int |
themeId |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
FlowParameters(String appName,
List<AuthUI.IdpConfig> providers,
AuthUI.IdpConfig defaultProvider,
int themeId,
int logoId,
String termsOfServiceUrl,
String privacyPolicyUrl,
boolean enableCredentials,
boolean enableHints,
boolean enableAnonymousUpgrade,
boolean alwaysShowProviderChoice,
boolean lockOrientation,
String emailLink,
com.google.firebase.auth.ActionCodeSettings passwordResetSettings,
AuthMethodPickerLayout authMethodPickerLayout) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
static FlowParameters |
fromIntent(Intent intent)
Extract FlowParameters from an Intent.
|
AuthUI.IdpConfig |
getDefaultOrFirstProvider() |
boolean |
isAnonymousUpgradeEnabled() |
boolean |
isPlayServicesRequired() |
boolean |
isPrivacyPolicyUrlProvided() |
boolean |
isProviderEnabled(String provider) |
boolean |
isSingleProviderFlow() |
boolean |
isTermsOfServiceUrlProvided() |
boolean |
shouldShowProviderChoice() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<FlowParameters> CREATOR
@NonNull public final String appName
@NonNull public final List<AuthUI.IdpConfig> providers
@Nullable public final AuthUI.IdpConfig defaultProvider
@StyleRes public final int themeId
@DrawableRes public final int logoId
@Nullable public final String termsOfServiceUrl
@Nullable public final String privacyPolicyUrl
@Nullable public String emailLink
@Nullable public final com.google.firebase.auth.ActionCodeSettings passwordResetSettings
public final boolean enableCredentials
public final boolean enableHints
public final boolean enableAnonymousUpgrade
public final boolean alwaysShowProviderChoice
public final boolean lockOrientation
@Nullable public final AuthMethodPickerLayout authMethodPickerLayout
public FlowParameters(@NonNull
String appName,
@NonNull
List<AuthUI.IdpConfig> providers,
@Nullable
AuthUI.IdpConfig defaultProvider,
@StyleRes
int themeId,
@DrawableRes
int logoId,
@Nullable
String termsOfServiceUrl,
@Nullable
String privacyPolicyUrl,
boolean enableCredentials,
boolean enableHints,
boolean enableAnonymousUpgrade,
boolean alwaysShowProviderChoice,
boolean lockOrientation,
@Nullable
String emailLink,
@Nullable
com.google.firebase.auth.ActionCodeSettings passwordResetSettings,
@Nullable
AuthMethodPickerLayout authMethodPickerLayout)
public static FlowParameters fromIntent(Intent intent)
public void writeToParcel(Parcel dest, int flags)
writeToParcel in interface Parcelablepublic int describeContents()
describeContents in interface Parcelablepublic boolean isSingleProviderFlow()
public boolean isTermsOfServiceUrlProvided()
public boolean isPrivacyPolicyUrlProvided()
public boolean isAnonymousUpgradeEnabled()
public boolean isPlayServicesRequired()
public boolean isProviderEnabled(String provider)
public boolean shouldShowProviderChoice()
public AuthUI.IdpConfig getDefaultOrFirstProvider()