SignInCredential

public final class SignInCredential extends Object
implements Parcelable

The credential returned as a result of a successful sign-in. Data returned within this object depends on the type of credential that user has selected; for example a password is returned only when a password-backed credential was selected.

Inherited Constant Summary

Field Summary

public static final Creator<SignInCredential> CREATOR

Public Method Summary

boolean
String
String
String
String
String
getId()
Returns the identifier of the credential.
String
String
getPhoneNumber()
This method is deprecated. No replacement.
Uri
PublicKeyCredential
getPublicKeyCredential()
Returns publicKeyCredential.
int
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Fields

public static final Creator<SignInCredential> CREATOR

Public Methods

public boolean equals (Object o)

public String getDisplayName ()

public String getFamilyName ()

public String getGivenName ()

public String getGoogleIdToken ()

public String getId ()

Returns the identifier of the credential. For an ID token credential, this returns the email address of the user's account and for a password-backed credential, it returns the username for that password.

public String getPassword ()

public String getPhoneNumber ()

This method is deprecated.
No replacement.

public Uri getProfilePictureUri ()

public PublicKeyCredential getPublicKeyCredential ()

Returns publicKeyCredential.

public int hashCode ()

public void writeToParcel (Parcel dest, int flags)