Skip to content

Commit 3ae47aa

Browse files
Florian-BFlorian Bogey
authored and
Florian Bogey
committed
Add InteractiveAuthenticatorInterface reference
1 parent 0718196 commit 3ae47aa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

security/custom_authenticator.rst

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

179+
.. tip::
180+
181+
If your login method is interactive, which means that the user actively logged into your application, you may want your authenticator to implement the
182+
:class:`Symfony\\Component\\Security\\Http\\Authenticator\\InteractiveAuthenticatorInterface`
183+
so that it dispatches an
184+
:class:`Symfony\\Component\\Security\\Http\\Event\\InteractiveLoginEvent`
185+
179186
.. _security-passport:
180187

181188
Security Passports

0 commit comments

Comments
 (0)