Skip to content

Commit 4d65cec

Browse files
committed
minor #12381 Update api_key_authentication.rst (atailouloute)
This PR was merged into the 3.4 branch. Discussion ---------- Update api_key_authentication.rst Remove unused dependency Commits ------- 3115210 Update api_key_authentication.rst
2 parents c879d0e + 3115210 commit 4d65cec

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

security/api_key_authentication.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -582,16 +582,9 @@ current URL is before creating the token in ``createToken()``::
582582

583583
// ...
584584
use Symfony\Component\HttpFoundation\Request;
585-
use Symfony\Component\Security\Http\HttpUtils;
586585

587586
class ApiKeyAuthenticator implements SimplePreAuthenticatorInterface
588587
{
589-
protected $httpUtils;
590-
591-
public function __construct(HttpUtils $httpUtils)
592-
{
593-
$this->httpUtils = $httpUtils;
594-
}
595588

596589
public function createToken(Request $request, $providerKey)
597590
{

0 commit comments

Comments
 (0)