Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices::generateCookieValue
Generates the cookie value.
Signature
protected function generateCookieValue(string
$class,
string
$username,
integer
$expires,
string
$password )
Parameters
$class
— string$username
— string- The username
$expires
— integer- The unixtime when the cookie expires
$password
— string- The encoded password
Returns
- string
Errors/Exceptions
-
RuntimeException
- if username contains invalid chars