Skip to main content
Checks if the next MFA-protected action will require MFA verification. Returns true if the user is enrolled in MFA but hasn’t verified recently (within the configured verification window). When true, calling an MFA-protected action will trigger the registered MFA verification handler. Use this to pre-warn users or show UI hints before they start a sensitive flow.

Returns

boolean True if MFA verification will be required for the next sensitive action.

Example