protected function tokenExpired($token) { if (!$this->isExpirationEnabled()) { return false; } $expirationTime = strtotime($token['created_at']) + $this->expires; return $expirationTime < $this->getCurrentTime(); }