summaryrefslogtreecommitdiffstats
path: root/Http
diff options
context:
space:
mode:
Diffstat (limited to 'Http')
-rw-r--r--Http/Firewall/SwitchUserListener.php2
-rw-r--r--Http/Logout/CookieClearingLogoutHandler.php2
-rw-r--r--Http/RememberMe/RememberMeServices.php11
3 files changed, 13 insertions, 2 deletions
diff --git a/Http/Firewall/SwitchUserListener.php b/Http/Firewall/SwitchUserListener.php
index 4df51f0..3adc1be 100644
--- a/Http/Firewall/SwitchUserListener.php
+++ b/Http/Firewall/SwitchUserListener.php
@@ -29,7 +29,7 @@ use Symfony\Component\Security\Core\Exception\AuthenticationCredentialsNotFoundE
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
/**
- * SwitchUserListener allows a user to impersonate another one temporarly
+ * SwitchUserListener allows a user to impersonate another one temporarily
* (like the Unix su command).
*
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
diff --git a/Http/Logout/CookieClearingLogoutHandler.php b/Http/Logout/CookieClearingLogoutHandler.php
index 91fdc3d..e4673af 100644
--- a/Http/Logout/CookieClearingLogoutHandler.php
+++ b/Http/Logout/CookieClearingLogoutHandler.php
@@ -16,7 +16,7 @@ use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Request;
/**
- * This handler cleares the passed cookies when a user logs out.
+ * This handler clears the passed cookies when a user logs out.
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
diff --git a/Http/RememberMe/RememberMeServices.php b/Http/RememberMe/RememberMeServices.php
index 8b837df..2d727ca 100644
--- a/Http/RememberMe/RememberMeServices.php
+++ b/Http/RememberMe/RememberMeServices.php
@@ -63,6 +63,17 @@ abstract class RememberMeServices implements RememberMeServicesInterface, Logout
}
/**
+ * Returns the parameter that is used for checking whether remember-me
+ * services have been requested.
+ *
+ * @return string
+ */
+ public function getRememberMeParameter()
+ {
+ return $this->options['remember_me_parameter'];
+ }
+
+ /**
* Implementation of RememberMeServicesInterface. Detects whether a remember-me
* cookie was set, decodes it, and hands it to subclasses for further processing.
*