Summery Summery
Filters the authentication cookie.
Syntax Syntax
Parameters Parameters
- $cookie
-
Authentication cookie.
- $user_id
-
User ID.
- $expiration
-
The time the cookie expires as a UNIX timestamp.
- $scheme
-
Cookie scheme used. Accepts 'auth', 'secure_auth', or 'logged_in'.
- $token
-
User's session token used.
Source Source
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.0.0 | The $token parameter was added. |
2.5.0 | Introduced. |