Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7f1fc25

Browse files
committed
Merge branch '6.0' into 6.1
* 6.0: Add InteractiveAuthenticatorInterface reference
2 parents d6362f3 + a8d4976 commit 7f1fc25

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

security/custom_authenticator.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,14 @@ can define what happens in these cases:
174174
above. Use :class:`Symfony\\Component\\Security\\Core\\Exception\\CustomUserMessageAuthenticationException`
175175
if you want to set custom error messages.
176176

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+
177185
.. _security-passport:
178186

179187
Security Passports

0 commit comments

Comments
 (0)