Skip to content

Commit c6fa5d3

Browse files
matt9mgxabbuh
authored andcommitted
Missing use reference
This example is missing the use statement for a class that is created later on in the code examples.
1 parent 0d4356a commit c6fa5d3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

security/api_key_authentication.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@ value and then a User object is created::
2222
// src/AppBundle/Security/ApiKeyAuthenticator.php
2323
namespace AppBundle\Security;
2424

25+
use AppBundle\Security\ApiKeyUserProvider;
26+
use Symfony\Component\HttpFoundation\Request;
2527
use Symfony\Component\Security\Core\Authentication\SimplePreAuthenticatorInterface;
28+
use Symfony\Component\Security\Core\Authentication\Token\PreAuthenticatedToken;
2629
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
2730
use Symfony\Component\Security\Core\Exception\AuthenticationException;
28-
use Symfony\Component\Security\Core\Authentication\Token\PreAuthenticatedToken;
29-
use Symfony\Component\HttpFoundation\Request;
3031
use Symfony\Component\Security\Core\User\UserProviderInterface;
3132
use Symfony\Component\Security\Core\Exception\BadCredentialsException;
3233

0 commit comments

Comments
 (0)