Skip to main content
type MfaListenerOptions = {
  scope?: HTMLElement;
};
Options for registering an MFA listener.

Properties

PropertyTypeDescription
scope?HTMLElementOptional DOM element that defines the scope for this handler. When provided, this handler will only respond to MFA triggers that originate from within this element (e.g., button clicks inside a container). Handlers without a scope act as global handlers.