public abstract class

AuthCredential

extends Object
implements Parcelable
java.lang.Object
   ↳ com.google.firebase.auth.AuthCredential
Known Direct Subclasses

Class Overview

Represents a credential that the Firebase Authentication server can use to authenticate a user.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Methods
abstract String getProvider()
Returns the unique string identifier for the provider type with which the credential is associated.
abstract String getSignInMethod()
Returns the unique string identifier for the sign in method with which the credential is associated.
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Public Methods

public abstract String getProvider ()

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

Returns
String

public abstract 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.

Returns
String