AuthCredential

abstract class AuthCredential : Parcelable

Known direct subclasses
EmailAuthCredential

Wraps an email and password tuple for authentication purposes.

FacebookAuthCredential

Wraps a Facebook Login access token for authentication purposes.

GithubAuthCredential

Wraps a Github OAuth access token for authentication purposes.

GoogleAuthCredential

Wraps a Google Sign-In ID token and/or access token, for authentication purposes.

OAuthCredential

Holds credentials generated by a sign-in with a credential to an IDP that uses OAuth

PhoneAuthCredential

Wraps phone number and verification information for authentication purposes.

PlayGamesAuthCredential

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

TwitterAuthCredential

Wraps a Log in with Twitter token and secret tuple for authentication purposes.


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

Summary

Public functions

abstract String

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

abstract String

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

Inherited functions

From android.os.Parcelable
abstract Int
Int
abstract Unit
writeToParcel(p: Parcel!, p1: Int)

Public functions

getProvider

abstract fun getProvider(): String

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

getSignInMethod

abstract fun getSignInMethod(): String

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.