AWSCognitoIdentitySoftwareMfaSetupRequired
Objective-C
@protocol AWSCognitoIdentitySoftwareMfaSetupRequired <NSObject>
/**
Obtain information about end user's software mfa
@param softwareMfaSetupInput contains secret code necessary for end user to configure their software mfa
@param softwareMfaSetupRequiredCompletionSource set softwareMfaSetupRequiredCompletionSource.result with the secret code and device name from the end user
*/
-(void) getSoftwareMfaSetupDetails: (AWSCognitoIdentitySoftwareMfaSetupRequiredInput *) softwareMfaSetupInput softwareMfaSetupRequiredCompletionSource: (AWSTaskCompletionSource<AWSCognitoIdentitySoftwareMfaSetupRequiredDetails *> *) softwareMfaSetupRequiredCompletionSource;
/**
This step completed, usually either display an error to the end user or dismiss ui
@param error the error if any that occured
*/
-(void) didCompleteMfaSetupStepWithError:(NSError* _Nullable) error;
@end
Swift
protocol AWSCognitoIdentitySoftwareMfaSetupRequired : NSObjectProtocol
Undocumented
-
Obtain information about end user’s software mfa
Declaration
Objective-C
- (void)getSoftwareMfaSetupDetails: (nonnull AWSCognitoIdentitySoftwareMfaSetupRequiredInput *) softwareMfaSetupInput softwareMfaSetupRequiredCompletionSource: (id)softwareMfaSetupRequiredCompletionSource;
Swift
func getSoftwareMfaSetupDetails(_ softwareMfaSetupInput: AWSCognitoIdentitySoftwareMfaSetupRequiredInput, softwareMfaSetupRequiredCompletionSource: Any!)
Parameters
softwareMfaSetupInput
contains secret code necessary for end user to configure their software mfa
softwareMfaSetupRequiredCompletionSource
set softwareMfaSetupRequiredCompletionSource.result with the secret code and device name from the end user
-
This step completed, usually either display an error to the end user or dismiss ui
Declaration
Objective-C
- (void)didCompleteMfaSetupStepWithError:(NSError *_Nullable)error;
Swift
func didCompleteMfaSetupStepWithError(_ error: Error?)
Parameters
error
the error if any that occured