AWSCognitoIdentityMultiFactorAuthentication Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | AWSCognitoIdentityUserPool.h |
– getMultiFactorAuthenticationCode:mfaCodeCompletionSource:
required method
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:
required method
This step completed, usually either display an error to the end user or dismiss ui
- (void)didCompleteMultifactorAuthenticationStepWithError:(NSError *_Nullable)error
Parameters
error |
the error if any that occured |
---|
Declared In
AWSCognitoIdentityUserPool.h