/home/techb158/immovalet.com/vendor/google/auth/src
NameSizeModeActions
Cache/-0755rm
Credentials/-0755rm
HttpHandler/-0755rm
Middleware/-0755rm
Subscriber/-0755rm
AccessToken.php176530644editdlrm
ApplicationDefaultCredentials.php120500644editdlrm
CacheTrait.php21660644editdlrm
CredentialsLoader.php79770644editdlrm
FetchAuthTokenCache.php85850644editdlrm
FetchAuthTokenInterface.php16440644editdlrm
GCECache.php24870644editdlrm
GetQuotaProjectInterface.php9470644editdlrm
Iam.php31150644editdlrm
OAuth2.php372050644editdlrm
ProjectIdProviderInterface.php9620644editdlrm
ServiceAccountSignerTrait.php18440644editdlrm
SignBlobInterface.php15310644editdlrm
UpdateMetadataInterface.php12310644editdlrm
Edit: /home/techb158/immovalet.com/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; } }