public class

FacebookAuthProvider

extends Object
java.lang.Object
   ↳ com.google.firebase.auth.FacebookAuthProvider

Class Overview

Represents the Facebook Login authentication provider. Use this class to obtain FacebookAuthCredentials.

Summary

Constants
String PROVIDER_ID Unique string identifier for this provider type.
Public Methods
static AuthCredential getCredential(String accessToken)
Returns a new instance of AuthCredential that wraps a Facebook Login token.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String PROVIDER_ID

Unique string identifier for this provider type.

Constant Value: "facebook.com"

Public Methods

public static AuthCredential getCredential (String accessToken)

Returns a new instance of AuthCredential that wraps a Facebook Login token. Used when calling signInWithCredential(AuthCredential) or linkWithCredential(AuthCredential).

Parameters
accessToken String: a valid Facebook Login access token, obtained from the Facebook Login SDK
Returns
AuthCredential