devsite/tools/jazzy/templates

FirebaseAuth Framework Reference

FacebookAuthProvider

@available(iOS 13, tvOS 13, macOS 10.15, watchOS 7, *)
@objc(FIRFacebookAuthProvider)
open class FacebookAuthProvider : NSObject

Utility class for constructing Facebook Sign In credentials.

  • id

    A string constant identifying the Facebook identity provider.

    Declaration

    Swift

    @objc
    public static let id: String
  • Creates an AuthCredential for a Facebook sign in.

    Declaration

    Swift

    @objc
    open class func credential(withAccessToken accessToken: String) -> AuthCredential

    Parameters

    accessToken

    The Access Token from Facebook.

    Return Value

    An AuthCredential containing the Facebook credentials.