FacebookAuthProvider
class FacebookAuthProvider : NSObject
Utility class for constructing Facebook credentials.
-
Creates an
AuthCredential
for a Facebook sign in.Declaration
Swift
class func credential(withAccessToken accessToken: String) -> FIRAuthCredential
Parameters
accessToken
The access token from Facebook.
Return Value
An
AuthCredential
containing the Facebook credentials. -
This class should not be initialized.