Aksyon: set_auth_cookie
Deklanche imedyatman anvan yo mete cookie otantifikasyon an.
Paramèt
| Name | Type | Description |
|---|---|---|
| $auth_cookie | string | Valè cookie otantifikasyon an. |
| $expire | int | Lè peryòd gras koneksyon an ekspire kòm yon timestamp UNIX. Defo a se 12 èdtan apre lè ekspirasyon cookie a. |
| $expiration | int | Lè cookie otantifikasyon an ekspire kòm yon timestamp UNIX. Defo a se 14 jou apati kounye a. |
| $user_id | int | ID itilizatè. |
| $scheme | string | Konplo otantifikasyon. Valè yo enkli 'auth' oswa 'secure_auth'. |
| $token | string | Token sesyon itilizatè a pou itilize pou cookie sa a. |
Depi
- 2.5.0
- 4.9.0: The
$tokenparameter was added.
Sous
Defini nan inc/sso/auth-functions.php nan liy 124