Skip to content

Commit 3115210

Browse files
authored
Update api_key_authentication.rst
1 parent c6f402b commit 3115210

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)