AWSCognitoIdentityMfaCodeDetails

Objective-C

@interface AWSCognitoIdentityMfaCodeDetails : NSObject

Swift

class AWSCognitoIdentityMfaCodeDetails : NSObject

When responding to a mfa code challenge this encapsulates the end users’ mfa code and client metadata

  • The end user’s new password

    Declaration

    Objective-C

    @property (nonatomic, copy, nonnull) NSString *mfaCode;

    Swift

    var mfaCode: String { get set }
  • A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSDictionary<NSString *, NSString *> *clientMetaData;

    Swift

    var clientMetaData: [String : String]? { get set }
  • Initializer given the mfa code *

    Declaration

    Objective-C

    - (nonnull instancetype)initWithMfaCode:(nonnull NSString *)mfaCode;

    Swift

    init(mfaCode: String)