Documentation

SecurityEvents
in package

FinalYes

Table of Contents

Constants

ALIASES  = [\Symfony\Component\Security\Http\Event\InteractiveLoginEvent::class => self::INTERACTIVE_LOGIN, \Symfony\Component\Security\Http\Event\SwitchUserEvent::class => self::SWITCH_USER]
Event aliases.
INTERACTIVE_LOGIN  = 'security.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.
SWITCH_USER  = 'security.switch_user'
The SWITCH_USER event occurs before switch to another user and before exit from an already switched user.

Constants

ALIASES

Event aliases.

public mixed ALIASES = [\Symfony\Component\Security\Http\Event\InteractiveLoginEvent::class => self::INTERACTIVE_LOGIN, \Symfony\Component\Security\Http\Event\SwitchUserEvent::class => self::SWITCH_USER]

These aliases can be consumed by RegisterListenersPass.

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.

public mixed INTERACTIVE_LOGIN = 'security.interactive_login'
  • authentication using an HTTP basic or HTTP digest header.
Tags
Event

("Symfony\Component\Security\Http\Event\InteractiveLoginEvent")

SWITCH_USER

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

public mixed SWITCH_USER = 'security.switch_user'
Tags
Event

("Symfony\Component\Security\Http\Event\SwitchUserEvent")


        
On this page

Search results