Set the user pool multi-factor authentication (MFA) configuration.
cognitoidentityprovider_set_user_pool_mfa_config(UserPoolId,
SmsMfaConfiguration, SoftwareTokenMfaConfiguration, MfaConfiguration)
[required] The user pool ID.
The SMS text message MFA configuration.
The software token MFA configuration.
The MFA configuration. Valid values include:
OFF
MFA will not 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 enabled.
svc$set_user_pool_mfa_config( UserPoolId = "string", SmsMfaConfiguration = list( SmsAuthenticationMessage = "string", SmsConfiguration = list( SnsCallerArn = "string", ExternalId = "string" ) ), SoftwareTokenMfaConfiguration = list( Enabled = TRUE|FALSE ), MfaConfiguration = "OFF"|"ON"|"OPTIONAL" )