Commit 50da4b33 authored by Sylvain Machefert's avatar Sylvain Machefert Committed by GitHub

Update guard_authentication.rst

I am still working on it to get authentication working in my project so my suggestion might be false, but I believe a ```use``` is missing in the header of this example.
parent 59ef20a3
...@@ -34,6 +34,7 @@ AbstractGuardAuthenticator. This requires you to implement six methods: ...@@ -34,6 +34,7 @@ AbstractGuardAuthenticator. This requires you to implement six methods:
use Symfony\Component\Security\Guard\AbstractGuardAuthenticator; use Symfony\Component\Security\Guard\AbstractGuardAuthenticator;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Core\Exception\AuthenticationException; use Symfony\Component\Security\Core\Exception\AuthenticationException;
use Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface;
class TokenAuthenticator extends AbstractGuardAuthenticator class TokenAuthenticator extends AbstractGuardAuthenticator
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment