FacebookAuthProvider

public class FacebookAuthProvider extends Object

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

Constant Summary

String PROVIDER_ID Unique string identifier for this provider type.

Public Method Summary

static AuthCredential
getCredential(String accessToken)
Returns a new instance of AuthCredential that wraps a Facebook Login token.

Inherited Method Summary

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 a valid Facebook Login access token, obtained from the Facebook Login SDK

Send feedback about...

Need help? Visit our support page.