Wraps an email and password tuple for authentication purposes.
Inherited Constant Summary
Field Summary
public static final Creator<EmailAuthCredential> | CREATOR |
Public Method Summary
String |
getProvider()
Returns the unique string identifier for the provider type with which the
credential is associated.
|
String |
getSignInMethod()
Returns either
EmailAuthProvider.EMAIL_LINK_SIGN_IN_METHOD for a credential
generated with
EmailAuthProvider.getCredentialWithLink(String, String) or
EmailAuthProvider.EMAIL_PASSWORD_SIGN_IN_METHOD for a credential
generated with
EmailAuthProvider.getCredential(String, String) .
|
Inherited Method Summary
Fields
public static final Creator<EmailAuthCredential> CREATOR
Public Methods
public String getProvider ()
Returns the unique string identifier for the provider type with which the credential is associated.
public String getSignInMethod ()
Returns either
EmailAuthProvider.EMAIL_LINK_SIGN_IN_METHOD
for a credential generated with
EmailAuthProvider.getCredentialWithLink(String, String)
or
EmailAuthProvider.EMAIL_PASSWORD_SIGN_IN_METHOD
for a credential generated
with
EmailAuthProvider.getCredential(String, String)
.