SMSMfaSettingsType class
The type used for enabling SMS MFA at the user level. Phone numbers don't need to be verified to be used for SMS MFA. 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.
Constructors
- SMSMfaSettingsType.new({bool? enabled, bool? preferredMfa})
Properties
- enabled → bool?
-
Specifies whether SMS text message 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.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- preferredMfa → bool?
-
Specifies whether SMS is the preferred MFA method.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited