You are here

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

Check if the cookie is expired

Return value

bool

File

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

Class

SetCookie
Set-Cookie object

Namespace

GuzzleHttp\Cookie

Code

public function isExpired() {
  return $this
    ->getExpires() !== null && time() > $this
    ->getExpires();
}