GoogleAuthCredential

public class GoogleAuthCredential extends AuthCredential


Wraps a Google Sign-In ID token and/or access token, 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<GoogleAuthCredentialCREATOR

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.