CookieValuePrefix
class CookieValuePrefix (View source)
Methods
static string
create(string $cookieName, string $key)
Create a new cookie value prefix for the given cookie name.
static string
remove(string $cookieValue)
Remove the cookie value prefix.
static string|null
getVerifiedValue(string $name, string $value, string $key)
Verify the provided cookie's value.
Details
static string
create(string $cookieName, string $key)
Create a new cookie value prefix for the given cookie name.
static string
remove(string $cookieValue)
Remove the cookie value prefix.
static string|null
getVerifiedValue(string $name, string $value, string $key)
Verify the provided cookie's value.