FirebaseAuth Framework Reference

FIRGitHubAuthProvider


@interface FIRGitHubAuthProvider : NSObject

Utility class for constructing GitHub credentials.

  • Creates an AuthCredential for a GitHub sign in.

    Declaration

    Objective-C

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

    Parameters

    token

    The GitHub OAuth access token.

    Return Value

    An AuthCredential containing the GitHub credential.

  • This class is not meant to be initialized.

    Declaration

    Objective-C

    - (nonnull instancetype)init;