You are here

public function SetCookie::setHttpOnly in Auth0 Single Sign On 8.2

Set whether or not this is an HTTP only cookie

Parameters

bool $httpOnly Set to true or false if this is HTTP only:

File

vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php, line 282

Class

SetCookie
Set-Cookie object

Namespace

GuzzleHttp\Cookie

Code

public function setHttpOnly($httpOnly) {
  $this->data['HttpOnly'] = $httpOnly;
}