Files
FinalYearProject-MyMind/My Mind/My Mind/AmazonAws/AWSMobileHubHelper.framework/Headers/AWSGoogleSignInProvider.h
2017-04-08 00:50:00 +01:00

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