Represents the Facebook Login authentication provider. Use this class to obtain
FacebookAuthCredential
s.
Constant Summary
String | FACEBOOK_SIGN_IN_METHOD | Unique string identifier for Facebook sign-in method. |
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 FACEBOOK_SIGN_IN_METHOD
Unique string identifier for Facebook sign-in method.
public static final String PROVIDER_ID
Unique string identifier for this provider type.
Public Methods
public static AuthCredential getCredential (String accessToken)
Returns a new instance of AuthCredential
that wraps a Facebook Login token. Used when calling
FirebaseAuth.signInWithCredential(AuthCredential)
or
FirebaseUser.linkWithCredential(AuthCredential)
.
Parameters
accessToken | a valid Facebook Login access token, obtained from the Facebook Login SDK |
---|