Delete an enrolled MFA authenticator by its ID.
The ID of the authenticator to delete.
A promise resolving to a success flag.
Enroll a new MFA factor (e.g., SMS, TOTP, Email).
The type of MFA to enroll.
Optionaloptions: EnrollOptionsOptional options like phone number or email.
A promise resolving to the enrollment response.
Fetch the list of MFA authenticators grouped by factor type.
OptionalonlyActive: booleanWhether to return only active authenticators.
A promise resolving to factors grouped by type.
Result returned by the
useMFAhook. Provides methods to fetch, enroll, and delete MFA authenticators.