Log in
Model

Alert

Magento\TwoFactorAuth\Model\Alert

What it does

This class provides a centralized alert/event system for Magento 2's two-factor authentication module.

Developers use it to trigger security-related events that can be logged or monitored, dispatching multiple event types (generic, module-specific, and severity-based) simultaneously to allow flexible event observation throughout the system.

Public Methods

  • event()