App Completed

Basic Prototype App Completed. Proposal, Literature Review and Final
Report to Follow.
This commit is contained in:
Alexander Davis
2017-04-13 18:18:38 +01:00
parent 933a4acff6
commit 0018e82ee5
510 changed files with 86109 additions and 1315 deletions

View File

@@ -0,0 +1,55 @@
//
// AWSFacebookSignInProvider.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 AWSFacebookSignInProviderKey;
/**
* `AWSFacebookSignInProvider` adopts the `AWSSignInProvider` protocol.
*
* It works with the FacebookLoginSDK internally and uses the Facebook App ID specified in the info.plist file.
*/
@interface AWSFacebookSignInProvider : NSObject <AWSSignInProvider>
/**
Fetches the singleton instance of AWSFacebookSignInProvider.
@return the singleton instance of AWSFacebookSignInProvider
*/
+ (instancetype)sharedInstance;
/**
Sets the login behavior of the Facebook SignIn SDK.
Choices are listed in enum FBSDKLoginBehavior.
Default behaviors for iOS:
9+ SFSafariViewController used.
8 WebViewController used.
@loginBehavior a FBSDKLoginBehavior enum entry
*/
- (void)setLoginBehavior:(NSUInteger)loginBehavior;
/**
Sets the permissions requested during login.
Default behavior is no permissions are required.
*/
- (void)setPermissions:(NSArray *)permissions;
/**
Sets the ViewController used for Facebook SignIn.
Defaults to nil and handled by Facebook SDK.
*/
- (void)setViewControllerForFacebookSignIn:(UIViewController *)signInViewController;
@end
NS_ASSUME_NONNULL_END