-
@RestrictTo(value = RestrictTo.Scope.LIBRARY_GROUP) public class GenericIdpAnonymousUpgradeLinkingHandler extends GenericIdpSignInHandler
-
-
Constructor Summary
Constructors Constructor Description GenericIdpAnonymousUpgradeLinkingHandler(Application application)
-
Method Summary
Modifier and Type Method Description voidstartSignIn(@NonNull() FirebaseAuth auth, @NonNull() HelperActivityBase activity, @NonNull() String providerId)Start the login process for the IDP using the web based Generic IDP flow if applicable,e.g. -
Methods inherited from class com.firebase.ui.auth.data.remote.GenericIdpSignInHandler
buildOAuthProvider, getGenericFacebookConfig, getGenericGoogleConfig, initializeForTesting, onActivityResult, startSignIn -
Methods inherited from class com.firebase.ui.auth.viewmodel.ProviderSignInBase
initWith, startSignIn -
Methods inherited from class com.firebase.ui.auth.viewmodel.OperableViewModel
getOperation -
Methods inherited from class com.firebase.ui.auth.viewmodel.ViewModelBase
init -
Methods inherited from class androidx.lifecycle.AndroidViewModel
getApplication -
Methods inherited from class androidx.lifecycle.ViewModel
addCloseable -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
GenericIdpAnonymousUpgradeLinkingHandler
GenericIdpAnonymousUpgradeLinkingHandler(Application application)
-
-
Method Detail
-
startSignIn
void startSignIn(@NonNull() FirebaseAuth auth, @NonNull() HelperActivityBase activity, @NonNull() String providerId)
Start the login process for the IDP using the web based Generic IDP flow if applicable,e.g. sign-in through a custom-chrome tab, otherwise falls back to the default method.
- Parameters:
auth- the Firebase auth instanceactivity- from which to start the login, DO NOT USE OUTSIDE OF THIS METHOD!!!providerId- the provider to sign-in with (e.g.
-
-
-
-