FIRGitHubAuthProvider


@interface FIRGitHubAuthProvider : NSObject

Utility class for constructing GitHub credentials.

  • Creates an FIRAuthCredential for a GitHub sign in.

    Declaration

    Swift

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

    Objective-C

    + (nonnull FIRAuthCredential *)credentialWithToken:(nonnull NSString *)token;

    Parameters

    token

    The GitHub OAuth access token.

    Return Value

    A FIRAuthCredential containing the GitHub credential.

  • This class is not meant to be initialized.

    Declaration

    Objective-C

    - (nonnull instancetype)init;