You've already forked Task-Master-2.0
mirror of
https://github.com/MrLyallCSIT/Task-Master-2.0.git
synced 2026-01-17 22:59:37 +00:00
40 lines
1004 B
Objective-C
Executable File
40 lines
1004 B
Objective-C
Executable File
/** @file FIRGitHubAuthProvider.h
|
|
@brief Firebase Auth SDK
|
|
@copyright Copyright 2016 Google Inc.
|
|
@remarks Use of this SDK is subject to the Google APIs Terms of Service:
|
|
https://developers.google.com/terms/
|
|
*/
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@class FIRAuthCredential;
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
/**
|
|
@brief A string constant identifying the GitHub identity provider.
|
|
*/
|
|
extern NSString *const FIRGitHubAuthProviderID;
|
|
|
|
/** @class FIRGitHubAuthProvider
|
|
@brief Utility class for constructing GitHub credentials.
|
|
*/
|
|
@interface FIRGitHubAuthProvider : NSObject
|
|
|
|
/** @fn credentialWithToken:
|
|
@brief Creates an @c FIRAuthCredential for a GitHub sign in.
|
|
|
|
@param token The GitHub OAuth access token.
|
|
@return A FIRAuthCredential containing the GitHub credential.
|
|
*/
|
|
+ (FIRAuthCredential *)credentialWithToken:(NSString *)token;
|
|
|
|
/** @fn init
|
|
@brief This class is not meant to be initialized.
|
|
*/
|
|
- (instancetype)init NS_UNAVAILABLE;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|