FacebookAuthProvider

class FacebookAuthProvider : NSObject

Utility class for constructing Facebook credentials.

  • Creates an FIRAuthCredential for a Facebook sign in.

    Declaration

    Swift

    class func credential(withAccessToken accessToken: String) -> FIRAuthCredential

    Parameters

    accessToken

    The Access Token from Facebook.

    Return Value

    A FIRAuthCredential containing the Facebook credentials.

  • This class should not be initialized.