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
getSeries()
Returns the series.
string
getTokenValue()
Returns the token value.
getLastUsed()
Returns the time the token was last used.
string
getUserIdentifier()
Returns the identifier used to authenticate (e.g. their email address or username).
Details
DateTime
getLastUsed()
Returns the time the token was last used.
Each call SHOULD return a new distinct DateTime instance.