java.lang.Object | |
↳ | com.google.firebase.auth.PlayGamesAuthProvider |
Represents the Google Play Games authentication provider. Use this class to obtain PlayGamesAuthCredential
s.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | PLAY_GAMES_SIGN_IN_METHOD | Unique string identifier for Google Play Games Service sign-in method. | |||||||||
String | PROVIDER_ID | Unique string identifier for this provider type. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a new instance of
AuthCredential that wraps a Play Games Server Auth Code. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Unique string identifier for Google Play Games Service sign-in method.
Unique string identifier for this provider type.
Returns a new instance of AuthCredential
that wraps a Play Games Server Auth Code. Used
when calling signInWithCredential(AuthCredential)
or linkWithCredential(AuthCredential)
.
Parameters | |
---|---|
serverAuthCode |
String : a valid Google Play Games server auth code, obtained from Google Play
Games Sign In SDK.
|
Returns | |
---|---|
AuthCredential |