summaryrefslogtreecommitdiffstats
path: root/Http
diff options
context:
space:
mode:
authorbronze1man <bronze1man@gmail.com>2013-09-18 20:41:53 +0800
committerFabien Potencier <fabien.potencier@gmail.com>2013-09-19 11:36:05 +0200
commitc30af3532143759579e27c90c01e7c38e830cc80 (patch)
tree3d99ddce6b8e1f102c3e75705a2275276e3a70c4 /Http
parent89d082808b9b8c7b78c57cb5fee625383305c3db (diff)
downloadsymfony-security-c30af3532143759579e27c90c01e7c38e830cc80.zip
symfony-security-c30af3532143759579e27c90c01e7c38e830cc80.tar.gz
symfony-security-c30af3532143759579e27c90c01e7c38e830cc80.tar.bz2
Fix some annotates
Diffstat (limited to 'Http')
-rw-r--r--Http/Authentication/AuthenticationFailureHandlerInterface.php1
-rw-r--r--Http/Authentication/AuthenticationSuccessHandlerInterface.php1
-rw-r--r--Http/Authorization/AccessDeniedHandlerInterface.php1
-rw-r--r--Http/EntryPoint/AuthenticationEntryPointInterface.php1
-rw-r--r--Http/Firewall/LogoutListener.php1
-rw-r--r--Http/HttpUtils.php1
-rw-r--r--Http/Logout/LogoutSuccessHandlerInterface.php1
7 files changed, 7 insertions, 0 deletions
diff --git a/Http/Authentication/AuthenticationFailureHandlerInterface.php b/Http/Authentication/AuthenticationFailureHandlerInterface.php
index 8dbd29a..e2d375e 100644
--- a/Http/Authentication/AuthenticationFailureHandlerInterface.php
+++ b/Http/Authentication/AuthenticationFailureHandlerInterface.php
@@ -13,6 +13,7 @@ namespace Symfony\Component\Security\Http\Authentication;
use Symfony\Component\Security\Core\Exception\AuthenticationException;
use Symfony\Component\HttpFoundation\Request;
+use Symfony\Component\HttpFoundation\Response;
/**
* Interface for custom authentication failure handlers.
diff --git a/Http/Authentication/AuthenticationSuccessHandlerInterface.php b/Http/Authentication/AuthenticationSuccessHandlerInterface.php
index 5c08e73..9ec64b4 100644
--- a/Http/Authentication/AuthenticationSuccessHandlerInterface.php
+++ b/Http/Authentication/AuthenticationSuccessHandlerInterface.php
@@ -13,6 +13,7 @@ namespace Symfony\Component\Security\Http\Authentication;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\HttpFoundation\Request;
+use Symfony\Component\HttpFoundation\Response;
/**
* Interface for a custom authentication success handler
diff --git a/Http/Authorization/AccessDeniedHandlerInterface.php b/Http/Authorization/AccessDeniedHandlerInterface.php
index a10a5d0..5f60fd6 100644
--- a/Http/Authorization/AccessDeniedHandlerInterface.php
+++ b/Http/Authorization/AccessDeniedHandlerInterface.php
@@ -13,6 +13,7 @@ namespace Symfony\Component\Security\Http\Authorization;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
+use Symfony\Component\HttpFoundation\Response;
/**
* This is used by the ExceptionListener to translate an AccessDeniedException
diff --git a/Http/EntryPoint/AuthenticationEntryPointInterface.php b/Http/EntryPoint/AuthenticationEntryPointInterface.php
index d190fc7..0d7595d 100644
--- a/Http/EntryPoint/AuthenticationEntryPointInterface.php
+++ b/Http/EntryPoint/AuthenticationEntryPointInterface.php
@@ -13,6 +13,7 @@ namespace Symfony\Component\Security\Http\EntryPoint;
use Symfony\Component\Security\Core\Exception\AuthenticationException;
use Symfony\Component\HttpFoundation\Request;
+use Symfony\Component\HttpFoundation\Response;
/**
* AuthenticationEntryPointInterface is the interface used to start the
diff --git a/Http/Firewall/LogoutListener.php b/Http/Firewall/LogoutListener.php
index ca2f439..653c644 100644
--- a/Http/Firewall/LogoutListener.php
+++ b/Http/Firewall/LogoutListener.php
@@ -20,6 +20,7 @@ use Symfony\Component\Security\Core\Exception\LogoutException;
use Symfony\Component\Security\Http\HttpUtils;
use Symfony\Component\Security\Http\Logout\LogoutHandlerInterface;
use Symfony\Component\Security\Http\Logout\LogoutSuccessHandlerInterface;
+use Symfony\Component\Security\Core\Exception\InvalidCsrfTokenException;
/**
* LogoutListener logout users.
diff --git a/Http/HttpUtils.php b/Http/HttpUtils.php
index 0453520..c3ff865 100644
--- a/Http/HttpUtils.php
+++ b/Http/HttpUtils.php
@@ -20,6 +20,7 @@ use Symfony\Component\Routing\Matcher\RequestMatcherInterface;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
+use Symfony\Component\HttpFoundation\Response;
/**
* Encapsulates the logic needed to create sub-requests, redirect the user, and match URLs.
diff --git a/Http/Logout/LogoutSuccessHandlerInterface.php b/Http/Logout/LogoutSuccessHandlerInterface.php
index 61642a8..4246fa4 100644
--- a/Http/Logout/LogoutSuccessHandlerInterface.php
+++ b/Http/Logout/LogoutSuccessHandlerInterface.php
@@ -12,6 +12,7 @@
namespace Symfony\Component\Security\Http\Logout;
use Symfony\Component\HttpFoundation\Request;
+use Symfony\Component\HttpFoundation\Response;
/**
* LogoutSuccesshandlerInterface.