Check if the current user meets an MFA requirement.
Example
const { mfaSettings, userMeetsMfaRequirement } = awaitmfaService.checkIsMfaEnabled('any') if (userMeetsMfaRequirement) { // User has met the MFA requirement } else { // Prompt user to set up MFA }
Check if the current user meets an MFA requirement.
Example