summaryrefslogtreecommitdiffstats
path: root/Http/EntryPoint/BasicAuthenticationEntryPoint.php
diff options
context:
space:
mode:
Diffstat (limited to 'Http/EntryPoint/BasicAuthenticationEntryPoint.php')
-rw-r--r--Http/EntryPoint/BasicAuthenticationEntryPoint.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Http/EntryPoint/BasicAuthenticationEntryPoint.php b/Http/EntryPoint/BasicAuthenticationEntryPoint.php
index 8f82426..984fbec 100644
--- a/Http/EntryPoint/BasicAuthenticationEntryPoint.php
+++ b/Http/EntryPoint/BasicAuthenticationEntryPoint.php
@@ -11,11 +11,11 @@
namespace Symfony\Component\Security\Http\EntryPoint;
-use Symfony\Component\EventDispatcher\EventInterface;
use Symfony\Component\Security\Core\Exception\AuthenticationException;
use Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Request;
+use Symfony\Component\HttpKernel\Event\GetResponseEventArgs;
/**
* BasicAuthenticationEntryPoint starts an HTTP Basic authentication.
@@ -31,7 +31,7 @@ class BasicAuthenticationEntryPoint implements AuthenticationEntryPointInterface
$this->realmName = $realmName;
}
- public function start(EventInterface $event, Request $request, AuthenticationException $authException = null)
+ public function start(GetResponseEventArgs $event, Request $request, AuthenticationException $authException = null)
{
$response = new Response();
$response->headers->set('WWW-Authenticate', sprintf('Basic realm="%s"', $this->realmName));