AWSUserPoolMFAViewController Class Reference

Inherits from UIViewController
Conforms to AWSCognitoIdentityMultiFactorAuthentication
Declared in AWSUserPoolMFAViewController.h
AWSUserPoolMFAViewController.m

– getMultiFactorAuthenticationCode:mfaCodeCompletionSource:

Obtain mfa code from the end user

- (void)getMultiFactorAuthenticationCode:(AWSCognitoIdentityMultifactorAuthenticationInput *)authenticationInput mfaCodeCompletionSource:(AWSTaskCompletionSource<NSString*> *)mfaCodeCompletionSource

Parameters

authenticationInput

details about the deliveryMedium and masked destination for where the code was sent

mfaCodeCompletionSource

set mfaCodeCompletionSource.result with the mfa code from end user

Declared In

AWSCognitoIdentityUserPool.h

– didCompleteMultifactorAuthenticationStepWithError:

This step completed, usually either display an error to the end user or dismiss ui

- (void)didCompleteMultifactorAuthenticationStepWithError:(NSError *)error

Parameters

error

the error if any that occured

Declared In

AWSCognitoIdentityUserPool.h