Commit 20201963 authored by Fabien Potencier's avatar Fabien Potencier

minor #1558 Update guard_authentication.rst (symac)

This PR was merged into the 2.2.x-dev branch.

Discussion
----------

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.

Commits
-------

50da4b33 Update guard_authentication.rst
parents a6bbc81d 50da4b33
...@@ -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