Core\Authentication\RememberMe\InMemoryTokenProvider (Component\Security)
Symfony\Component\Security\Core\Authentication\RememberMe\InMemoryTokenProvider
class InMemoryTokenProvider implements TokenProviderInterface
This class is used for testing purposes, and is not really suited for production.
Methods
PersistentTokenInterface | loadTokenBySeries(string $series) Loads the active token for the given series. | |
updateToken(string $series, string $tokenValue, DateTime $lastUsed) Updates the token according to this data. | ||
deleteTokenBySeries(string $series) Deletes all tokens belonging to series. | ||
createNewToken(PersistentTokenInterface $token) Creates a new token. |
Details
public PersistentTokenInterface loadTokenBySeries(string $series)
Loads the active token for the given series.
public updateToken(string $series, string $tokenValue, DateTime $lastUsed)
Updates the token according to this data.
public deleteTokenBySeries(string $series)
Deletes all tokens belonging to series.
public createNewToken(PersistentTokenInterface $token)
Creates a new token.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Security/Core/Authentication/RememberMe/InMemoryTokenProvider.html