Class WelcomeBackPasswordHandler
- java.lang.Object
-
- androidx.lifecycle.ViewModel
-
- androidx.lifecycle.AndroidViewModel
-
- com.firebase.ui.auth.viewmodel.ViewModelBase<I>
-
- com.firebase.ui.auth.viewmodel.OperableViewModel<FlowParameters,Resource<T>>
-
- com.firebase.ui.auth.viewmodel.AuthViewModelBase<IdpResponse>
-
- com.firebase.ui.auth.viewmodel.SignInViewModelBase
-
- com.firebase.ui.auth.viewmodel.email.WelcomeBackPasswordHandler
-
public class WelcomeBackPasswordHandler extends SignInViewModelBase
Handles the logic forWelcomeBackPasswordPromptincluding signing in with email and password, linking other credentials, and saving credentials to SmartLock.
-
-
Constructor Summary
Constructors Constructor Description WelcomeBackPasswordHandler(android.app.Application application)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetPendingPassword()Get the most recent pending password.voidstartSignIn(java.lang.String email, java.lang.String password, IdpResponse inputResponse, com.google.firebase.auth.AuthCredential credential)Kick off the sign-in process.-
Methods inherited from class com.firebase.ui.auth.viewmodel.SignInViewModelBase
handleMergeFailure, handleMergeFailure, handleSuccess, setResult
-
Methods inherited from class com.firebase.ui.auth.viewmodel.AuthViewModelBase
getAuth, getCredentialsClient, getCurrentUser, getPhoneAuth, initializeForTesting, onCreate
-
Methods inherited from class com.firebase.ui.auth.viewmodel.OperableViewModel
getOperation
-
Methods inherited from class com.firebase.ui.auth.viewmodel.ViewModelBase
getArguments, init, onCleared, setArguments
-
-
-
-
Method Detail
-
startSignIn
public void startSignIn(@NonNull java.lang.String email, @NonNull java.lang.String password, @NonNull IdpResponse inputResponse, @Nullable com.google.firebase.auth.AuthCredential credential)Kick off the sign-in process.
-
getPendingPassword
public java.lang.String getPendingPassword()
Get the most recent pending password.
-
-