Skip to main content

Action: set_auth_cookie

Gëtt direkt ausgeléist, ier den Authentifikatiouns-Cookie gesat gëtt.

Parameteren

NummTypBeschreiwung
$auth_cookiestringWäert vum Authentifikatiouns-Cookie.
$expireintD'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.
$expirationintD'Zäit, zu där den Authentifikatiouns-Cookie als UNIX-Zäitstempel ofleeft. Standard ass 14 Deeg vun elo un.
$user_idintUser-ID.
$schemestringAuthentifikatiounsschema. Wäerter enthalen 'auth' oder 'secure_auth'.
$tokenstringSessiounstoken vum User, dee fir dëse Cookie benotzt gëtt.

Zanter

  • 2.5.0
  • 4.9.0: The $token parameter was added.

Quell

Definéiert an inc/sso/auth-functions.php op der Linn 124