AWSCognitoIdentityProviderMFAOptionType

@interface AWSCognitoIdentityProviderMFAOptionType

This data type is no longer supported. You can use it only for SMS MFA configurations. You can’t use it for TOTP software token MFA configurations.

To set either type of MFA configuration, use the AdminSetUserMFAPreference or SetUserMFAPreference actions.

To look up information about either type of MFA configuration, use the AdminGetUserResponse$UserMFASettingList or GetUserResponse$UserMFASettingList responses.

  • The attribute name of the MFA option type. The only valid value is phone_number.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable attributeName;

    Swift

    var attributeName: String? { get set }
  • The delivery medium to send the MFA code. You can use this parameter to set only the SMS delivery medium value.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic)
        AWSCognitoIdentityProviderDeliveryMediumType deliveryMedium;

    Swift

    var deliveryMedium: AWSCognitoIdentityProviderDeliveryMediumType { get set }