class SecurityEvents

Constants

INTERACTIVE_LOGIN

The INTERACTIVE_LOGIN event occurs after a user has actively logged into your website. It is important to distinguish this action from non-interactive authentication methods, such as: - authentication based on your session.

  • authentication using a HTTP basic or HTTP digest header.

The event listener method receives a Symfony\Component\Security\Http\Event\InteractiveLoginEvent instance.

SWITCH_USER

The SWITCH_USER event occurs before switch to another user and before exit from an already switched user.

The event listener method receives a Symfony\Component\Security\Http\Event\SwitchUserEvent instance.