Skip to content

Commit 50a3187

Browse files
committed
minor #10631 Document logout success_handler configuration (simshaun)
This PR was squashed before being merged into the 2.8 branch (closes #10631). Discussion ---------- Document logout success_handler configuration The [Security docs](https://symfony.com/doc/current/security.html#logging-out) tell how to control what happens after logging out, but the security configuration reference is missing documentation on the logout success_handler. _Partially_ related to #4258 Commits ------- b93452a Document logout success_handler configuration
2 parents 5ece010 + b93452a commit 50a3187

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

reference/configuration/security.rst

+8
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,14 @@ The ``invalidate_session`` option allows to redefine this behavior. Set this
166166
option to ``false`` in every firewall and the user will only be logged out from
167167
the current firewall and not the other ones.
168168

169+
success_handler
170+
~~~~~~~~~~~~~~~
171+
172+
**type**: ``string`` **default**: ``'security.logout.success_handler'``
173+
174+
The service ID used for handling a successful logout. The service must implement
175+
:class:`Symfony\\Component\\Security\\Http\\Logout\\LogoutSuccessHandlerInterface`.
176+
169177
.. _reference-security-ldap:
170178

171179
LDAP functionality

0 commit comments

Comments
 (0)