We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ab9c84 commit d3b1f4dCopy full SHA for d3b1f4d
security/login_link.rst
@@ -660,8 +660,10 @@ Customizing the Success Handler
660
661
Sometimes, the default success handling does not fit your use-case (e.g.
662
when you need to generate and return an API key). To customize how the
663
-success handler behaves, create your own
664
-:class:`Symfony\\Component\\Security\\Http\\Authentication\\AuthenticationSuccessHandlerInterface`::
+success handler behaves, create your own that must implement
+:class:`Symfony\\Component\\Security\\Http\\Authentication\\AuthenticationSuccessHandlerInterface`.
665
+
666
+.. code-block:: php
667
668
// src/Security/Authentication/AuthenticationSuccessHandler.php
669
namespace App\Security\Authentication;
0 commit comments