Package com.firebase.ui.auth.data.remote
Class ProfileMerger
- java.lang.Object
-
- com.firebase.ui.auth.data.remote.ProfileMerger
-
- All Implemented Interfaces:
com.google.android.gms.tasks.Continuation<com.google.firebase.auth.AuthResult,com.google.android.gms.tasks.Task<com.google.firebase.auth.AuthResult>>
public class ProfileMerger extends java.lang.Object implements com.google.android.gms.tasks.Continuation<com.google.firebase.auth.AuthResult,com.google.android.gms.tasks.Task<com.google.firebase.auth.AuthResult>>Merges an existing account's profile with the new user's profile.Note: This operation always returns a successful task to minimize login interruptions.
-
-
Constructor Summary
Constructors Constructor Description ProfileMerger(IdpResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.android.gms.tasks.Task<com.google.firebase.auth.AuthResult>then(com.google.android.gms.tasks.Task<com.google.firebase.auth.AuthResult> task)
-
-
-
Constructor Detail
-
ProfileMerger
public ProfileMerger(IdpResponse response)
-
-
Method Detail
-
then
public com.google.android.gms.tasks.Task<com.google.firebase.auth.AuthResult> then(@NonNull com.google.android.gms.tasks.Task<com.google.firebase.auth.AuthResult> task)- Specified by:
thenin interfacecom.google.android.gms.tasks.Continuation<com.google.firebase.auth.AuthResult,com.google.android.gms.tasks.Task<com.google.firebase.auth.AuthResult>>
-
-