public class GoogleAuthCredential extends AuthCredential
Wraps a Google Sign-In ID token and/or access token, for authentication purposes.
Inherited Constant Summary
Field Summary
public static final Creator<GoogleAuthCredential> | CREATOR |
Public Method Summary
String |
getProvider()
Returns the unique string identifier for the provider type with which the
credential is associated.
|
String |
getSignInMethod()
Returns the unique string identifier for the sign in method with which the
credential is associated.
|
Inherited Method Summary
Fields
public static final Creator<GoogleAuthCredential> 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 the unique string identifier for the sign in method with which the
credential is associated. Should match that returned by
fetchSignInMethodsForEmail(String)
after this user has signed in with this
type of credential.