Action: set_auth_cookie
Gëtt direkt ausgeléist, ier den Authentifikatiouns-Cookie gesat gëtt.
Parameteren
| Numm | Typ | Beschreiwung |
|---|---|---|
| $auth_cookie | string | Wäert vum Authentifikatiouns-Cookie. |
| $expire | int | D'Zäit, zu där d'Karenzzäit fir de Login als UNIX-Zäitstempel ofleeft. Standard ass 12 Stonnen no der Oflafzäit vum Cookie. |
| $expiration | int | D'Zäit, zu där den Authentifikatiouns-Cookie als UNIX-Zäitstempel ofleeft. Standard ass 14 Deeg vun elo un. |
| $user_id | int | User-ID. |
| $scheme | string | Authentifikatiounsschema. Wäerter enthalen 'auth' oder 'secure_auth'. |
| $token | string | Sessiounstoken vum User, dee fir dëse Cookie benotzt gëtt. |
Zanter
- 2.5.0
- 4.9.0: The
$tokenparameter was added.
Quell
Definéiert an inc/sso/auth-functions.php op der Linn 124