AWSCognitoIdentitySelectMfa
Objective-C
@protocol AWSCognitoIdentitySelectMfa <NSObject>
/**
Obtain which mfa end user wants to provide
@param selectMfaInput contains which mfas are available
@param selectMfaCompletionSource set selectMfaCompletionSource.result with the mfa end user picked
*/
-(void) getSelectMfaDetails: (AWSCognitoIdentitySelectMfaInput *) selectMfaInput selectMfaCompletionSource: (AWSTaskCompletionSource<AWSCognitoIdentitySelectMfaDetails *> *) selectMfaCompletionSource;
/**
This step completed, usually either display an error to the end user or dismiss ui
@param error the error if any that occured
*/
-(void) didCompleteSelectMfaStepWithError:(NSError* _Nullable) error;
@end
Swift
protocol AWSCognitoIdentitySelectMfa : NSObjectProtocol
Undocumented
-
Obtain which mfa end user wants to provide
Declaration
Objective-C
- (void)getSelectMfaDetails: (nonnull AWSCognitoIdentitySelectMfaInput *)selectMfaInput selectMfaCompletionSource:(id)selectMfaCompletionSource;
Swift
func getDetails(_ selectMfaInput: AWSCognitoIdentitySelectMfaInput, selectMfaCompletionSource: Any!)
Parameters
selectMfaInput
contains which mfas are available
selectMfaCompletionSource
set selectMfaCompletionSource.result with the mfa end user picked
-
This step completed, usually either display an error to the end user or dismiss ui
Declaration
Objective-C
- (void)didCompleteSelectMfaStepWithError:(NSError *_Nullable)error;
Swift
func didCompleteStepWithError(_ error: Error?)
Parameters
error
the error if any that occured