PlayGamesAuthCredential

public class PlayGamesAuthCredential extends AuthCredential


Wraps a Google Play Games Server Auth Code, for authentication purposes.

Summary

Public methods

@NonNull String

Returns the unique string identifier for the provider type with which the credential is associated.

@NonNull String

Returns the unique string identifier for the sign in method with which the credential is associated.

Inherited Constants

From android.os.Parcelable
static final int
static final int
static final int
static final int

Inherited methods

From android.os.Parcelable
abstract int
int

Constants

CREATOR

public static final Parcelable.Creator<PlayGamesAuthCredentialCREATOR

Public methods

getProvider

public @NonNull String getProvider()

Returns the unique string identifier for the provider type with which the credential is associated.

getSignInMethod

public @NonNull String getSignInMethod()

Returns the unique string identifier for the sign in method with which the credential is associated. Should match that returned by fetchSignInMethodsForEmail after this user has signed in with this type of credential.