AWSCognitoIdentitySoftwareMfaSetupRequiredDetails

@interface AWSCognitoIdentitySoftwareMfaSetupRequiredDetails : NSObject

When responding to a software mfa setup required challenge this encapsulates the end user’s user code and friendly name for their TOTP

  • The end user’s code from their software mfa

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nonnull) NSString *userCode;

    Swift

    var userCode: String { get set }
  • The friendly device name that will be specified when this software mfa is requested.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable) NSString *friendlyDeviceName;

    Swift

    var friendlyDeviceName: String? { get set }
  • Initializer given the software tokens’ code and friendly device name *

    Declaration

    Objective-C

    - (nonnull instancetype)initWithUserCode:(nonnull NSString *)userCode
                          friendlyDeviceName:
                              (NSString *_Nullable)friendlyDeviceName;

    Swift

    init(userCode: String, friendlyDeviceName: String?)