FIRGitHubAuthProvider
@interface FIRGitHubAuthProvider : NSObjectUtility class for constructing GitHub credentials.
-
Creates an
AuthCredentialfor a GitHub sign in.Declaration
Objective-C
+ (nonnull FIRAuthCredential *)credentialWithToken:(nonnull NSString *)token;Parameters
tokenThe 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;