AWSCognitoIdentityProviderSoftwareTokenMfaSettingsType

Objective-C

@interface AWSCognitoIdentityProviderSoftwareTokenMfaSettingsType

Swift

class AWSCognitoIdentityProviderSoftwareTokenMfaSettingsType

The type used for enabling software token MFA at the user level. If an MFA type is enabled for a user, the user will be prompted for MFA during all sign in attempts, unless device tracking is turned on and the device has been trusted. If you would like MFA to be applied selectively based on the assessed risk level of sign in attempts, disable MFA for users and turn on Adaptive Authentication for the user pool.

  • Specifies whether software token MFA is enabled. If an MFA type is enabled for a user, the user will be prompted for MFA during all sign in attempts, unless device tracking is turned on and the device has been trusted.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable enabled;

    Swift

    var enabled: NSNumber? { get set }
  • Specifies whether software token MFA is the preferred MFA method.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable preferredMfa;

    Swift

    var preferredMfa: NSNumber? { get set }