FIRFacebookAuthProvider


@interface FIRFacebookAuthProvider : NSObject

Utility class for constructing Facebook credentials.

  • Creates an FIRAuthCredential for a Facebook sign in.

    Declaration

    Swift

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

    Objective-C

    + (nonnull FIRAuthCredential *)credentialWithAccessToken:
        (nonnull NSString *)accessToken;

    Parameters

    accessToken

    The Access Token from Facebook.

    Return Value

    A FIRAuthCredential containing the Facebook credentials.

  • This class should not be initialized.

    Declaration

    Objective-C

    - (nonnull instancetype)init;