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

string getClass()

Returns the class of the user.

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.

Each call SHOULD return a new distinct DateTime instance.

Return Value

DateTime

string getUserIdentifier()

Returns the identifier used to authenticate (e.g. their email address or username).

Return Value

string