AWSCognitoAuthDelegate
Objective-C
@protocol AWSCognitoAuthDelegate <NSObject>
Swift
protocol AWSCognitoAuthDelegate : NSObjectProtocol
For obtaining current view controller to interact with the end user
-
Get view controller to display user authentication on top of.
Declaration
Objective-C
- (nonnull UIViewController *)getViewController;Swift
func getViewController() -> UIViewController -
If refresh token is expired, let the user decide if the signInVC should be presented or an error should be returned.
Declaration
Objective-C
- (BOOL)shouldLaunchSignInVCIfRefreshTokenIsExpired;Swift
optional func shouldLaunchSignInVCIfRefreshTokenIsExpired() -> Bool
View on GitHub
Install in Dash
AWSCognitoAuthDelegate Protocol Reference