PersistentToken
class PersistentToken implements PersistentTokenInterface
Methods
__construct(string $class, string $username, string $series, string $tokenValue, DateTime $lastUsed) | ||
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
__construct(string $class, string $username, string $series, string $tokenValue, DateTime $lastUsed)
Parameters
string | $class | |
string | $username | |
string | $series | |
string | $tokenValue | |
DateTime | $lastUsed |
string getClass()
Returns the class of the user.
Return Value
string |
string getUsername()
Returns the username.
Return Value
string |
string getSeries()
Returns the series.
Return Value
string |
string getTokenValue()
Returns the token value.
Return Value
string |
DateTime getLastUsed()
Returns the time the token was last used.
Return Value
DateTime |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Security/Core/Authentication/RememberMe/PersistentToken.html