Skip to content

Commit b53c771

Browse files
committed
minor #8550 Missing use reference (matt9mg)
This PR was submitted for the 3.3 branch but it was merged into the 2.7 branch instead (closes #8550). Discussion ---------- Missing use reference This example is missing the use statement for a class that is created later on in the code examples. Commits ------- c6fa5d3 Missing use reference
2 parents 0d4356a + c6fa5d3 commit b53c771

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)