diff --git a/security/api_key_authentication.rst b/security/api_key_authentication.rst index 9953099c7b0..3ac4a6ef6f6 100644 --- a/security/api_key_authentication.rst +++ b/security/api_key_authentication.rst @@ -27,6 +27,7 @@ value and then a User object is created:: // src/AppBundle/Security/ApiKeyAuthenticator.php namespace AppBundle\Security; + use AppBundle\Security\ApiKeyUserProvider; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Security\Core\Authentication\Token\PreAuthenticatedToken; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;