Skip to main content

عمل: set_auth_cookie

تصديقي cookie سيٽ ٿيڻ کان بلڪل اڳ هلندو آهي.

پيرا ميٽر

نالوقسموضاحت
$auth_cookiestringتصديقي cookie جي قيمت.
$expireintاهو وقت جڏهن login جي رعايتي مدت UNIX timestamp طور ختم ٿئي ٿي. ڊفالٽ cookie جي ختم ٿيڻ واري وقت کان 12 ڪلاڪ پوءِ آهي.
$expirationintاهو وقت جڏهن تصديقي cookie UNIX timestamp طور ختم ٿئي ٿي. ڊفالٽ هاڻي کان 14 ڏينهن آهي.
$user_idintواپرائيندڙ ID.
$schemestringتصديقي scheme. قيمتن ۾ 'auth' يا 'secure_auth' شامل آهن.
$tokenstringهن cookie لاءِ استعمال ڪرڻ واسطي واپرائيندڙ جو session token.

کان وٺي

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

ذريعو

inc/sso/auth-functions.php ۾ line 124 تي بيان ڪيل.