| java.lang.Object | |
| ↳ | com.google.firebase.auth.GoogleAuthProvider |
Represents the Google Sign-In authentication provider. Use this class to obtain
GoogleAuthCredentials.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | PROVIDER_ID | Unique string identifier for this provider type. | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns a new instance of
AuthCredential that wraps Google Sign-In ID or access
tokens. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Unique string identifier for this provider type.
Returns a new instance of AuthCredential that wraps Google Sign-In ID or access
tokens. Used when calling signInWithCredential(AuthCredential) or
linkWithCredential(AuthCredential).
Both parameters are optional but at least one must be present.
| idToken | a valid Google Sign-In id token, obtained from the Google Sign-In SDK |
|---|---|
| accessToken | a valid Google Sign-In access token, obtained from the Google Sign-In SDK |