Lines Matching refs:redis
25 protected $redis; variable in OAuth\\Common\\Storage\\Redis
38 * @param Predis $redis An instantiated and connected redis client
42 public function __construct(Predis $redis, $key, $stateKey) argument
44 $this->redis = $redis;
64 $val = $this->redis->hget($this->key, $service);
75 $this->redis->hset($this->key, $service, serialize($token));
93 return $this->redis->hexists($this->key, $service);
101 $this->redis->hdel($this->key, $service);
117 $keys = $this->redis->hkeys($this->key);
121 $this->redis->pipeline(
146 $val = $this->redis->hget($this->stateKey, $service);
157 $this->redis->hset($this->stateKey, $service, $state);
175 return $this->redis->hexists($this->stateKey, $service);
183 $this->redis->hdel($this->stateKey, $service);
199 $keys = $this->redis->hkeys($this->stateKey);
203 $this->redis->pipeline(
220 return $this->redis;