Core\Authentication\RememberMe\PersistentTokenInterface (Component\Security)
Symfony\Component\Security\Core\Authentication\RememberMe\PersistentTokenInterface
interface PersistentTokenInterface
Interface to be implemented by persistent token classes (such as Doctrine entities representing a remember-me token).
Methods
string | getClass() Returns the class of the user. | |
string | getUsername() Returns the username. | |
string | getSeries() Returns the series. | |
string | getTokenValue() Returns the token value. | |
DateTime | getLastUsed() Returns the time the token was last used. |
Details
public string getClass()
Returns the class of the user.
public string getUsername()
Returns the username.
public string getSeries()
Returns the series.
public string getTokenValue()
Returns the token value.
public DateTime getLastUsed()
Returns the time the token was last used.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Security/Core/Authentication/RememberMe/PersistentTokenInterface.html