FirebaseAuth Framework Reference

GitHubAuthProvider

class GitHubAuthProvider : NSObject

Utility class for constructing GitHub credentials.

  • Creates an AuthCredential for a GitHub sign in.

    Declaration

    Swift

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

    Parameters

    token

    The GitHub OAuth access token.

    Return Value

    An AuthCredential containing the GitHub credential.

  • This class is not meant to be initialized.