PersistentTokenInterface
in
Interface to be implemented by persistent token classes (such as Doctrine entities representing a remember-me token).
Tags
Table of Contents
Methods
- getClass() : string
- Returns the class of the user.
- getLastUsed() : DateTime
- Returns the time the token was last used.
- getSeries() : string
- Returns the series.
- getTokenValue() : string
- Returns the token value.
- getUserIdentifier() : string
- Returns the identifier used to authenticate (e.g. their email address or username).
Methods
getClass()
Returns the class of the user.
public
getClass() : string
Return values
stringgetLastUsed()
Returns the time the token was last used.
public
getLastUsed() : DateTime
Return values
DateTimegetSeries()
Returns the series.
public
getSeries() : string
Return values
stringgetTokenValue()
Returns the token value.
public
getTokenValue() : string
Return values
stringgetUserIdentifier()
Returns the identifier used to authenticate (e.g. their email address or username).
public
getUserIdentifier() : string