summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerje BrĂ¥ten <terje@braten.be>2012-11-18 23:08:07 +0100
committerFabien Potencier <fabien.potencier@gmail.com>2013-04-21 18:59:26 +0200
commitd156097a1b4653108637dedaaf2c64b876eb2f35 (patch)
treededb286f515ec4d448f99e6ec68bd7809d94667a
parent38e616ecd2dea264fa64730286f84f1a51b04614 (diff)
downloadsymfony-security-d156097a1b4653108637dedaaf2c64b876eb2f35.zip
symfony-security-d156097a1b4653108637dedaaf2c64b876eb2f35.tar.gz
symfony-security-d156097a1b4653108637dedaaf2c64b876eb2f35.tar.bz2
Added a DoktrineTokenProvider in Security/Bridge/Doctrine/security/RememberMe
-rw-r--r--Core/Authentication/RememberMe/TokenProviderInterface.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/Core/Authentication/RememberMe/TokenProviderInterface.php b/Core/Authentication/RememberMe/TokenProviderInterface.php
index 0c6f75e..44bf4b0 100644
--- a/Core/Authentication/RememberMe/TokenProviderInterface.php
+++ b/Core/Authentication/RememberMe/TokenProviderInterface.php
@@ -21,11 +21,11 @@ interface TokenProviderInterface
/**
* Loads the active token for the given series.
*
- * @throws TokenNotFoundException if the token is not found
- *
* @param string $series
*
* @return PersistentTokenInterface
+ *
+ * @throws TokenNotFoundException if the token is not found
*/
public function loadTokenBySeries($series);
@@ -42,6 +42,7 @@ interface TokenProviderInterface
* @param string $series
* @param string $tokenValue
* @param \DateTime $lastUsed
+ * @throws TokenNotFoundException if the token is not found
*/
public function updateToken($series, $tokenValue, \DateTime $lastUsed);