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