コード例 #1
0
 /**
  * {@inheritDoc}
  */
 public function clearToken($service)
 {
     $this->redis->hdel($this->key, $service);
     unset($this->cachedTokens[$service]);
     // allow chaining
     return $this;
 }
コード例 #2
0
ファイル: Redis.php プロジェクト: anthrotech/laravel_sample
 /**
  * {@inheritDoc}
  */
 public function clearAuthorizationState($service)
 {
     $this->redis->hdel($this->stateKey, $service);
     unset($this->cachedStates[$service]);
     // allow chaining
     return $this;
 }