Action: set_auth_cookie
Na-amalite ozugbo tupu e debe authentication cookie.
Parameters
| Name | Type | Description |
|---|---|---|
| $auth_cookie | string | Uru authentication cookie. |
| $expire | int | Oge login grace period ga-agwụ dị ka UNIX timestamp. Ndabara bụ awa 12 gafere oge ngwụcha cookie ahụ. |
| $expiration | int | Oge mgbe authentication cookie ga-agwụ dị ka UNIX timestamp. Ndabara bụ ụbọchị 14 site ugbu a. |
| $user_id | int | User ID. |
| $scheme | string | Authentication scheme. Ụkpụrụ gụnyere 'auth' ma ọ bụ 'secure_auth'. |
| $token | string | Session token nke user a ga-eji maka cookie a. |
Since
- 2.5.0
- 4.9.0: The
$tokenparameter was added.
Source
Akọwara ya na inc/sso/auth-functions.php n'ahịrị 124