Skip to content

Commit dc4021a

Browse files
committed
Merge branch '5.2' into 5.x
* 5.2: [Security] Clarify the DeauthenticatedEvent
2 parents e9b44ba + 8d1e715 commit dc4021a

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

components/security/authentication.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -276,15 +276,15 @@ Authentication Events
276276

277277
The security component provides the following authentication events:
278278

279-
=============================== ================================================================= ==============================================================================
280-
Name Event Constant Argument Passed to the Listener
281-
=============================== ================================================================= ==============================================================================
282-
security.authentication.success ``AuthenticationEvents::AUTHENTICATION_SUCCESS`` :class:`Symfony\\Component\\Security\\Core\\Event\\AuthenticationSuccessEvent`
283-
security.authentication.failure ``AuthenticationEvents::AUTHENTICATION_FAILURE`` :class:`Symfony\\Component\\Security\\Core\\Event\\AuthenticationFailureEvent`
284-
security.interactive_login ``SecurityEvents::INTERACTIVE_LOGIN`` :class:`Symfony\\Component\\Security\\Http\\Event\\InteractiveLoginEvent`
285-
security.switch_user ``SecurityEvents::SWITCH_USER`` :class:`Symfony\\Component\\Security\\Http\\Event\\SwitchUserEvent`
286-
security.logout_on_change ``Symfony\Component\Security\Http\Event\DeauthenticatedEvent`` :class:`Symfony\\Component\\Security\\Http\\Event\\DeauthenticatedEvent`
287-
=============================== ================================================================= ==============================================================================
279+
=============================== ======================================================================== ==============================================================================
280+
Name Event Constant Argument Passed to the Listener
281+
=============================== ======================================================================== ==============================================================================
282+
security.authentication.success ``AuthenticationEvents::AUTHENTICATION_SUCCESS`` :class:`Symfony\\Component\\Security\\Core\\Event\\AuthenticationSuccessEvent`
283+
security.authentication.failure ``AuthenticationEvents::AUTHENTICATION_FAILURE`` :class:`Symfony\\Component\\Security\\Core\\Event\\AuthenticationFailureEvent`
284+
security.interactive_login ``SecurityEvents::INTERACTIVE_LOGIN`` :class:`Symfony\\Component\\Security\\Http\\Event\\InteractiveLoginEvent`
285+
security.switch_user ``SecurityEvents::SWITCH_USER`` :class:`Symfony\\Component\\Security\\Http\\Event\\SwitchUserEvent`
286+
security.logout_on_change ``Symfony\Component\Security\Http\Event\DeauthenticatedEvent::class`` :class:`Symfony\\Component\\Security\\Http\\Event\\DeauthenticatedEvent`
287+
=============================== ======================================================================== ==============================================================================
288288

289289
Authentication Success and Failure Events
290290
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -317,7 +317,7 @@ The ``security.switch_user`` event is triggered every time you activate
317317
the ``switch_user`` firewall listener.
318318

319319
The ``Symfony\Component\Security\Http\Event\DeauthenticatedEvent`` event is triggered when a token has been deauthenticated
320-
because of a user change, it can help you doing some clean-up task when a logout has been triggered.
320+
because of a user change, it can help you doing some clean-up task.
321321

322322
.. seealso::
323323

0 commit comments

Comments
 (0)