Skip to main content

Action: set_auth_cookie

ପ୍ରମାଣୀକରଣ cookie ସେଟ୍ ହେବାର ଠିକ୍ ପୂର୍ବରୁ ଚାଲୁ ହୁଏ।

ପାରାମିଟରଗୁଡ଼ିକ

ନାମପ୍ରକାରବିବରଣୀ
$auth_cookiestringପ୍ରମାଣୀକରଣ cookie ମୂଲ୍ୟ।
$expireintUNIX timestamp ଭାବରେ login grace period ସମାପ୍ତ ହେବାର ସମୟ। ଡିଫଲ୍ଟ ହେଉଛି cookie ର ସମାପ୍ତି ସମୟର ୧୨ ଘଣ୍ଟା ପରେ।
$expirationintUNIX timestamp ଭାବରେ ପ୍ରମାଣୀକରଣ cookie ସମାପ୍ତ ହେବାର ସମୟ। ଡିଫଲ୍ଟ ହେଉଛି ଏବେଠାରୁ ୧୪ ଦିନ।
$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 ରେ ୧୨୪ ନମ୍ବର ଲାଇନରେ ପରିଭାଷିତ।