FIRTwitterAuthProvider


@interface FIRTwitterAuthProvider : NSObject

Utility class for constructing Twitter credentials.

  • Creates an FIRAuthCredential for a Twitter sign in.

    Declaration

    Swift

    class func credential(withToken token: String, secret: String) -> FIRAuthCredential

    Objective-C

    + (nonnull FIRAuthCredential *)credentialWithToken:(nonnull NSString *)token
                                                secret:(nonnull NSString *)secret;

    Parameters

    token

    The Twitter OAuth token.

    secret

    The Twitter OAuth secret.

    Return Value

    A FIRAuthCredential containing the Twitter credential.

  • This class is not meant to be initialized.

    Declaration

    Objective-C

    - (nonnull instancetype)init;