OptionalcustomOptionaldisableWhether to disable the ability to delete existing MFA factors.
OptionaldisableWhether to disable the ability to enroll new MFA factors.
OptionalfactorConfiguration for individual MFA factor types. Allows hiding or disabling specific factor types.
factorConfig={{
sms: { visible: true, enabled: true },
email: { visible: true, enabled: false },
otp: { visible: false },
}}
OptionalhideWhether to hide the component header.
OptionalonCallback invoked before an MFA action is performed.
Return false or a Promise resolving to false to cancel the action.
The action about to be performed ('enroll', 'delete', or 'confirm')
The MFA factor type involved in the action
true to proceed, false to cancel
OptionalonCallback invoked after a factor is successfully deleted.
OptionalonCallback invoked after a factor is successfully enrolled.
OptionalonCallback invoked when an error occurs during an MFA action.
The error that occurred
The action that failed ('enroll', 'delete', or 'confirm')
OptionalonCallback invoked after factors are successfully fetched.
OptionalreadWhether the component should be in read-only mode.
When true, users cannot enroll or delete factors.
OptionalschemaOptionalshowWhether to show only active (enrolled) MFA factors.
When true, only factors that are currently enrolled will be displayed.
Optionalstyling
Props for the UserMFAMgmt component.
See