Skip to main content

Action: set_auth_cookie

Na-amalite ozugbo tupu e debe authentication cookie.

Parameters

NameTypeDescription
$auth_cookiestringUru authentication cookie.
$expireintOge login grace period ga-agwụ dị ka UNIX timestamp. Ndabara bụ awa 12 gafere oge ngwụcha cookie ahụ.
$expirationintOge mgbe authentication cookie ga-agwụ dị ka UNIX timestamp. Ndabara bụ ụbọchị 14 site ugbu a.
$user_idintUser ID.
$schemestringAuthentication scheme. Ụkpụrụ gụnyere 'auth' ma ọ bụ 'secure_auth'.
$tokenstringSession token nke user a ga-eji maka cookie a.

Since

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

Source

Akọwara ya na inc/sso/auth-functions.php n'ahịrị 124