AWSCognitoIdentityRememberDevice
Objective-C
@protocol AWSCognitoIdentityRememberDevice <NSObject>
/**
Obtain whether to remember this device or not
@param rememberDeviceCompletionSource set customAuthCompletionSource.result with YES or NO answer from the end user
*/
-(void) getRememberDevice: (AWSTaskCompletionSource<NSNumber *> *) rememberDeviceCompletionSource;
/**
This step completed, usually either display an error to the end user or dismiss ui
@param error the error if any that occured
*/
-(void) didCompleteRememberDeviceStepWithError:(NSError* _Nullable) error;
@end
Swift
protocol AWSCognitoIdentityRememberDevice : NSObjectProtocol
Undocumented
-
Obtain whether to remember this device or not
Declaration
Objective-C
- (void)getRememberDevice:(id)rememberDeviceCompletionSource;
Swift
func getRememberDevice(_ rememberDeviceCompletionSource: Any!)
Parameters
rememberDeviceCompletionSource
set customAuthCompletionSource.result with YES or NO answer from the end user
-
This step completed, usually either display an error to the end user or dismiss ui
Declaration
Objective-C
- (void)didCompleteRememberDeviceStepWithError:(NSError *_Nullable)error;
Swift
func didCompleteStepWithError(_ error: Error?)
Parameters
error
the error if any that occured