GitHubAuthProvider

class GitHubAuthProvider : NSObject

Utility class for constructing GitHub credentials.

  • Creates an FIRAuthCredential for a GitHub sign in.

    Declaration

    Swift

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

    Parameters

    token

    The GitHub OAuth access token.

    Return Value

    A FIRAuthCredential containing the GitHub credential.

  • This class is not meant to be initialized.