InMemoryTokenProvider
class InMemoryTokenProvider implements TokenProviderInterface
This class is used for testing purposes, and is not really suited for production.
Methods
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.
Details
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.