* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Interface to be implemented by persistent token classes (such as * Doctrine entities representing a remember-me token) * * @author Johannes M. Schmitt */ interface PersistentTokenInterface { /** * Returns the class of the user * @return string */ function getClass(); /** * Returns the username * @return string */ function getUsername(); /** * Returns the series * @return string */ function getSeries(); /** * Returns the token value * @return string */ function getTokenValue(); /** * Returns the last time the cookie was used * @return \DateTime */ function getLastUsed(); }