CookieService
class CookieService (View source)
Constants
COOKIE_NAME |
The name of the cookie to be used to remember the currently logged in user. |
Properties
protected CookieJar | $cookieJar | ||
protected Repository | $config |
Methods
CookieValue|null
getCookie()
Get the authentication data corrently contained in the cookie jar.
deleteCookie()
Delete the authentication cookie.
string
CookieValue|null
unserializeCookieValue(string|mixed $rawValue)
No description
Details
__construct(CookieJar $cookieJar, Repository $config)
Initialize the instance.
CookieValue|null
getCookie()
Get the authentication data corrently contained in the cookie jar.
setCookie(CookieValue $value = null)
Set (or delete) the authentication cookie.
deleteCookie()
Delete the authentication cookie.
protected string
serializeCookieValue(CookieValue $value)
No description
protected CookieValue|null
unserializeCookieValue(string|mixed $rawValue)
No description