Lines Matching full:cache
23 use Google\Auth\Cache\MemoryCacheItemPool;
35 use Psr\Cache\CacheItemPoolInterface;
70 * @var CacheItemPoolInterface $cache
72 private $cache; variable in Google\\Client
162 // Cache class implementing Psr\Cache\CacheItemPoolInterface.
163 // Defaults to Google\Auth\Cache\MemoryCacheItemPool.
164 'cache' => null,
165 // cache config for downstream auth caching
210 if (!is_null($this->config['cache'])) {
211 $this->setCache($this->config['cache']);
212 unset($this->config['cache']);
497 * cache pool is not provided, creating a new instance of the client will
498 * allow modification of access tokens. If a persistent cache pool is
501 * as calling `clear()` will remove all cache items, including any items not
1085 * Set the Cache object
1086 * @param CacheItemPoolInterface $cache
1088 public function setCache(CacheItemPoolInterface $cache) argument
1090 $this->cache = $cache;
1098 if (!$this->cache) {
1099 $this->cache = $this->createDefaultCache();
1102 return $this->cache;
1240 // When $sub is provided, we cannot pass cache classes to ::getCredentials
1275 // Be very careful using the cache, as the underlying auth library's cache
1276 // implementation is naive, and the cache keys do not account for user