/home/desid573/public_html/tollster/vendor/google/auth/src
NameSizeModeActions
Cache/-0755rm
Credentials/-0755rm
HttpHandler/-0755rm
Middleware/-0755rm
Subscriber/-0755rm
ApplicationDefaultCredentials.php64020644editdlrm
CacheTrait.php21660644editdlrm
CredentialsLoader.php69880644editdlrm
FetchAuthTokenCache.php28530644editdlrm
FetchAuthTokenInterface.php16510644editdlrm
OAuth2.php342860644editdlrm
Edit: /home/desid573/public_html/tollster/vendor/google/auth/src/CacheTrait.php (2166B)
cache)) { return; } $key = $this->getFullCacheKey($k); if (is_null($key)) { return; } $cacheItem = $this->cache->getItem($key); if ($cacheItem->isHit()) { return $cacheItem->get(); } } /** * Saves the value in the cache when that is available. */ private function setCachedValue($k, $v) { if (is_null($this->cache)) { return; } $key = $this->getFullCacheKey($k); if (is_null($key)) { return; } $cacheItem = $this->cache->getItem($key); $cacheItem->set($v); $cacheItem->expiresAfter($this->cacheConfig['lifetime']); return $this->cache->save($cacheItem); } private function getFullCacheKey($key) { if (is_null($key)) { return; } $key = $this->cacheConfig['prefix'] . $key; // ensure we do not have illegal characters $key = preg_replace('|[^a-zA-Z0-9_\.!]|', '', $key); // Hash keys if they exceed $maxKeyLength (defaults to 64) if ($this->maxKeyLength && strlen($key) > $this->maxKeyLength) { $key = substr(hash('sha256', $key), 0, $this->maxKeyLength); } return $key; } }