Package com.firebase.ui.auth.data.remote
Class GenericIdpAnonymousUpgradeLinkingHandler
- java.lang.Object
-
- androidx.lifecycle.ViewModel
-
- androidx.lifecycle.AndroidViewModel
-
- com.firebase.ui.auth.viewmodel.ViewModelBase<I>
-
- com.firebase.ui.auth.viewmodel.OperableViewModel<T,Resource<IdpResponse>>
-
- com.firebase.ui.auth.viewmodel.ProviderSignInBase<AuthUI.IdpConfig>
-
- com.firebase.ui.auth.data.remote.GenericIdpSignInHandler
-
- com.firebase.ui.auth.data.remote.GenericIdpAnonymousUpgradeLinkingHandler
-
public class GenericIdpAnonymousUpgradeLinkingHandler extends GenericIdpSignInHandler
-
-
Constructor Summary
Constructors Constructor Description GenericIdpAnonymousUpgradeLinkingHandler(android.app.Application application)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstartSignIn(HelperActivityBase activity)Start the login process for the IDP, e.g.voidstartSignIn(com.google.firebase.auth.FirebaseAuth auth, HelperActivityBase activity, java.lang.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, handleMergeFailure, handleNormalSignInFlow, handleSuccess, handleSuccess, initializeForTesting, onActivityResult
-
Methods inherited from class com.firebase.ui.auth.viewmodel.OperableViewModel
getOperation, setResult
-
Methods inherited from class com.firebase.ui.auth.viewmodel.ViewModelBase
getArguments, init, onCleared, onCreate, setArguments
-
-
-
-
Method Detail
-
startSignIn
public void startSignIn(@NonNull HelperActivityBase activity)Description copied from class:ProviderSignInBaseStart the login process for the IDP, e.g. show the Google sign-in activity.- Overrides:
startSignInin classGenericIdpSignInHandler- Parameters:
activity- from which to start the login, DO NOT USE OUTSIDE OF THIS METHOD!!!
-
startSignIn
public void startSignIn(@NonNull com.google.firebase.auth.FirebaseAuth auth, @NonNull HelperActivityBase activity, @NonNull java.lang.String providerId)Description copied from class:ProviderSignInBaseStart 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.- Overrides:
startSignInin classGenericIdpSignInHandler- 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. "microsoft.com")
-
-