TwitterAuthProvider

class TwitterAuthProvider : 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

    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.