/**
  * {@inheritDoc}
  */
 public function clearToken($service)
 {
     $this->redis->hdel($this->key, $service);
     unset($this->cachedTokens[$service]);
     // allow chaining
     return $this;
 }
Beispiel #2
0
 /**
  * {@inheritDoc}
  */
 public function clearAuthorizationState($service)
 {
     $this->redis->hdel($this->stateKey, $service);
     unset($this->cachedStates[$service]);
     // allow chaining
     return $this;
 }