AWSSignInProvider Protocol Reference

Conforms to AWSIdentityProvider
Declared in AWSSignInProvider.h

Overview

AWSSignInProvider protocol defines a list of methods and properties which a Sign-In Provider should implement.

The AWSSignInProvider is implemented by difference Sign-In Providers like FacbookSignInProvider, GoogleSignInProvider, etc.

  loggedIn required method

Determines if a user is logged in.

@property (nonatomic, readonly, getter=isLoggedIn) BOOL loggedIn

Declared In

AWSSignInProvider.h

– login: required method

The login handler method for the Sign-In Provider. The completionHandler will bubble back errors to the developers.

- (void)login:(void ( ^ ) ( id _Nullable result , NSError *_Nullable error ))completionHandler

Declared In

AWSSignInProvider.h

– logout required method

The logout handler method for the Sign-In Provider.

- (void)logout

Declared In

AWSSignInProvider.h

– reloadSession required method

The handler method for managing the session reload for the Sign-In Provider. The completionHandler will bubble back errors to the developers.

- (void)reloadSession

Declared In

AWSSignInProvider.h