public final class FirebaseAuthUserCollisionException extends FirebaseAuthException

Thrown when an operation on a FirebaseUser instance couldn't be completed due to a conflict with another existing user.

This could happen in the following cases:

Inspect the error code and message to find out the specific cause.

Resolve this exception by asking the user to sign in again with valid credentials. In the case that this is thrown when using a PhoneAuthCredential, you can retrieve an updated credential from getUpdatedCredential() and use it to sign-in.

Public Method Summary

String
getEmail()
Returns the email used when an error occurred when trying to sign in or link with an AuthCredential which was already associated with an account.
AuthCredential
getUpdatedCredential()
Returns a new valid AuthCredential if this error occurred when trying to sign in or link with an AuthCredential which was already associated with an account.

Inherited Method Summary

Public Methods

public String getEmail ()

Returns the email used when an error occurred when trying to sign in or link with an AuthCredential which was already associated with an account. Otherwise, returns null.

public AuthCredential getUpdatedCredential ()

Returns a new valid AuthCredential if this error occurred when trying to sign in or link with an AuthCredential which was already associated with an account. Otherwise, returns null.