TwitterAuthProvider
@available(iOS 13, tvOS 13, macOS 10.15, watchOS 7, *)
@objc(FIRTwitterAuthProvider)
open class TwitterAuthProvider : NSObjectUtility class for constructing Twitter Sign In credentials.
-
A string constant identifying the Twitter identity provider.
Declaration
Swift
@objc public static let id: String -
Creates an
AuthCredentialfor a Twitter sign in.Declaration
Swift
@objc open class func credential(withToken token: String, secret: String) -> AuthCredentialParameters
tokenThe Twitter OAuth token.
secretThe Twitter OAuth secret.
Return Value
An AuthCredential containing the Twitter credentials.