FacebookAuthProvider

class FacebookAuthProvider


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

Summary

Constants

const String!
FACEBOOK_SIGN_IN_METHOD = "facebook.com"

Unique string identifier for Facebook sign-in method.

const String!
PROVIDER_ID = "facebook.com"

Unique string identifier for this provider type.

Public functions

java-static AuthCredential
getCredential(accessToken: String)

Returns a new instance of AuthCredential that wraps a Facebook Login token.

Constants

FACEBOOK_SIGN_IN_METHOD

const val FACEBOOK_SIGN_IN_METHOD = "facebook.com": String!

Unique string identifier for Facebook sign-in method.

PROVIDER_ID

const val PROVIDER_ID = "facebook.com": String!

Unique string identifier for this provider type.

Public functions

getCredential

java-static fun getCredential(accessToken: String): AuthCredential

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

Parameters
accessToken: String

a valid Facebook Login access token, obtained from the Facebook Login SDK