Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d6362f3 + a8d4976 commit 7f1fc25Copy full SHA for 7f1fc25
security/custom_authenticator.rst
@@ -174,6 +174,14 @@ can define what happens in these cases:
174
above. Use :class:`Symfony\\Component\\Security\\Core\\Exception\\CustomUserMessageAuthenticationException`
175
if you want to set custom error messages.
176
177
+.. tip::
178
+
179
+ If your login method is interactive, which means that the user actively
180
+ logged into your application, you may want your authenticator to implement the
181
+ :class:`Symfony\\Component\\Security\\Http\\Authenticator\\InteractiveAuthenticatorInterface`
182
+ so that it dispatches an
183
+ :class:`Symfony\\Component\\Security\\Http\\Event\\InteractiveLoginEvent`
184
185
.. _security-passport:
186
187
Security Passports
0 commit comments