Lines Matching full:cache
25 use Google\Auth\Cache\MemoryCacheItemPool;
33 use Psr\Cache\CacheItemPoolInterface;
63 private $cache; variable in Google\\Auth\\AccessToken
67 * @param CacheItemPoolInterface $cache [optional] A PSR-6 compatible cache implementation.
71 CacheItemPoolInterface $cache = null argument
75 $this->cache = $cache ?: new MemoryCacheItemPool();
89 * @type string $cacheKey The cache key of the cached certs. Defaults to
305 'Cache-Control' => 'no-store',
322 * @param string $cacheKey The key under which to cache the retrieved certs.
329 $cacheItem = $this->cache->getItem($cacheKey);
351 // Don't want to cache bad data.
355 $this->cache->save($cacheItem);
362 * Retrieve and cache a certificates file.
470 * Generate a cache key based on the cert location using sha1 with the