summaryrefslogtreecommitdiffstats
path: root/Csrf/TokenStorage/SessionTokenStorage.php
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2015-08-24 09:21:16 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2015-08-24 09:21:16 +0200
commit71e7f364d47b122b0b6f2acd66ff9439495aaef6 (patch)
tree6a6d0ecd5a85a42f600c60b96e403c14ee8f9c80 /Csrf/TokenStorage/SessionTokenStorage.php
parentc63a0c6b5f1d05f1e57d8b29cf2c38b770fad5b3 (diff)
parent1ce741e1c146dfadc1b8abc2bbc7626ac682f363 (diff)
downloadsymfony-security-71e7f364d47b122b0b6f2acd66ff9439495aaef6.zip
symfony-security-71e7f364d47b122b0b6f2acd66ff9439495aaef6.tar.gz
symfony-security-71e7f364d47b122b0b6f2acd66ff9439495aaef6.tar.bz2
Merge branch '2.8'
* 2.8: fixes CS fixed CS [DependencyInjection] Add missing file headers fixed typo made Symfony compatible with both Twig 1.x and 2.x [FrameworkBundle] Fix precedence of xdebug.file_link_format
Diffstat (limited to 'Csrf/TokenStorage/SessionTokenStorage.php')
-rw-r--r--Csrf/TokenStorage/SessionTokenStorage.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/Csrf/TokenStorage/SessionTokenStorage.php b/Csrf/TokenStorage/SessionTokenStorage.php
index f08eb96..a6a6ea3 100644
--- a/Csrf/TokenStorage/SessionTokenStorage.php
+++ b/Csrf/TokenStorage/SessionTokenStorage.php
@@ -18,18 +18,21 @@ use Symfony\Component\Security\Csrf\Exception\TokenNotFoundException;
* Token storage that uses a Symfony2 Session object.
*
* @since 2.4
+ *
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class SessionTokenStorage implements TokenStorageInterface
{
/**
* The namespace used to store values in the session.
+ *
* @var string
*/
const SESSION_NAMESPACE = '_csrf';
/**
- * The user session from which the session ID is returned
+ * The user session from which the session ID is returned.
+ *
* @var SessionInterface
*/
private $session;