AWSSignInViewController Class Reference

Inherits from UIViewController
Declared in AWSSignInViewController.h
AWSSignInViewController.m

Other Methods

  canCancel

If set to YES user can hit cancel button to dismiss sign in UI *

@property (atomic) BOOL canCancel

Declared In

AWSSignInViewController.h

  signInButton

UIButton that kicks off the SignIn flow on click *

@property (weak, nonatomic) IBOutlet UIButton *signInButton

Declared In

AWSSignInViewController.h

  signUpButton

UIButton that kicks off the SignUp flow on click *

@property (weak, nonatomic) IBOutlet UIButton *signUpButton

Declared In

AWSSignInViewController.h

  forgotPasswordButton

UIButton that kicks off the ForgotPassword flow on click *

@property (weak, nonatomic) IBOutlet UIButton *forgotPasswordButton

Declared In

AWSSignInViewController.h

  orSignInWithLabel

Text Label that displays “or sign in with” when userpools and one or more SignIn Buttons are configured *

@property (weak, nonatomic) IBOutlet UILabel *orSignInWithLabel

Declared In

AWSSignInViewController.h

  logoView

Image View for holding the Logo Image *

@property (weak, nonatomic) IBOutlet UIImageView *logoView

Declared In

AWSSignInViewController.h

  tableFormView

The table form view for userpools *

@property (weak, nonatomic) IBOutlet UIView *tableFormView

Declared In

AWSSignInViewController.h

  tableView

The table view for userpools *

@property (weak, nonatomic) IBOutlet UITableView *tableView

Declared In

AWSSignInViewController.h

  logoViewHeight

Layout constraint for specifying the height of the logo view *

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *logoViewHeight

Declared In

AWSSignInViewController.h

  completionHandler

Callback to the application which notifies success/failure of the SignIn *

@property (nonatomic, copy) void ( ^ ) ( id<AWSSignInProvider> signInProvider , NSError *_Nullable error ) completionHandler

Declared In

AWSSignInViewController.h

  config

Auth UI Confguration *

@property (strong, nonatomic) AWSAuthUIConfiguration *config

Declared In

AWSSignInViewController.h

+ getAWSSignInViewControllerWithconfiguration:

Creates a new AWSSignInViewController instance

+ (AWSSignInViewController *)getAWSSignInViewControllerWithconfiguration:(AWSAuthUIConfiguration *)configuration

Parameters

configuration

The AWSAuthUIConfiguration object configured with logo, background color, etc.

Return Value

AWSSignInViewController The SignIniewController object initialized with the storyboard *

Declared In

AWSSignInViewController.h

Other Methods

– setUpBackground:

 If user did not select a logo image, use the default AWS Logo
 Else, use the logo image passed in by the user
- (void)setUpBackground:(UIColor *)color

Declared In

AWSSignInViewController.m