You've already forked FinalYearProject-MyMind
mirror of
https://github.com/MrLyallCSIT/FinalYearProject-MyMind.git
synced 2026-01-18 07:09:41 +00:00
44 lines
1.1 KiB
Objective-C
Executable File
44 lines
1.1 KiB
Objective-C
Executable File
//
|
|
// AWSGoogleSignInProvider.h
|
|
//
|
|
// Copyright 2016 Amazon.com, Inc. or its affiliates (Amazon). All Rights Reserved.
|
|
//
|
|
// Code generated by AWS Mobile Hub. Amazon gives unlimited permission to
|
|
// copy, distribute and modify it.
|
|
//
|
|
#import <Foundation/Foundation.h>
|
|
#import "AWSSignInProvider.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
FOUNDATION_EXPORT NSString *const AWSGoogleSignInProviderKey;
|
|
|
|
/**
|
|
* `AWSGoogleSignInProvider` adopts the `AWSSignInProvider` protocol.
|
|
*
|
|
* It works with the Google Sign In SDK internally and requires the Google Client ID provided by Google.
|
|
*/
|
|
@interface AWSGoogleSignInProvider : NSObject <AWSSignInProvider>
|
|
|
|
/**
|
|
Fetches the shared instance for AWSGoogleSignInProvider.
|
|
|
|
@return the single instance of AWSGoogleSignInProvider
|
|
*/
|
|
+ (instancetype)sharedInstance;
|
|
|
|
/**
|
|
Sets the scopes required by the app during login.
|
|
Defaults are openid and profile.
|
|
*/
|
|
- (void)setScopes:(NSArray *)scopes;
|
|
|
|
/**
|
|
Sets the ViewController used for Google SignIn.
|
|
Defaults to rootViewController in keyWindow during signin.
|
|
*/
|
|
- (void)setViewControllerForGoogleSignIn:(UIViewController *)signInViewController;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END |