You are here

public function CookieJarInterface::setCookie in Auth0 Single Sign On 8.2

Sets a cookie in the cookie jar.

Parameters

SetCookie $cookie Cookie to set.:

Return value

bool Returns true on success or false on failure

1 method overrides CookieJarInterface::setCookie()
CookieJar::setCookie in vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php
Sets a cookie in the cookie jar.

File

vendor/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php, line 49

Class

CookieJarInterface
Stores HTTP cookies.

Namespace

GuzzleHttp\Cookie

Code

public function setCookie(SetCookie $cookie);