AWSCognitoIdentityProviderSetUserPoolMfaConfigRequest
Objective-C
@interface AWSCognitoIdentityProviderSetUserPoolMfaConfigRequest
Swift
class AWSCognitoIdentityProviderSetUserPoolMfaConfigRequest
-
The MFA configuration. If you set the MfaConfiguration value to ‘ON’, only users who have set up an MFA factor can sign in. To learn more, see Adding Multi-Factor Authentication (MFA) to a user pool. Valid values include:
OFF
MFA won’t be used for any users.ON
MFA is required for all users to sign in.OPTIONAL
MFA will be required only for individual users who have an MFA factor activated.
Declaration
Objective-C
@property (nonatomic) AWSCognitoIdentityProviderUserPoolMfaType mfaConfiguration;
Swift
var mfaConfiguration: AWSCognitoIdentityProviderUserPoolMfaType { get set }
-
The SMS text message MFA configuration.
Declaration
Objective-C
@property (nonatomic, strong) AWSCognitoIdentityProviderSmsMfaConfigType *_Nullable smsMfaConfiguration;
Swift
var smsMfaConfiguration: AWSCognitoIdentityProviderSmsMfaConfigType? { get set }
-
The software token MFA configuration.
Declaration
Objective-C
@property (nonatomic, strong) AWSCognitoIdentityProviderSoftwareTokenMfaConfigType *_Nullable softwareTokenMfaConfiguration;
Swift
var softwareTokenMfaConfiguration: AWSCognitoIdentityProviderSoftwareTokenMfaConfigType? { get set }
-
The user pool ID.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable userPoolId;
Swift
var userPoolId: String? { get set }