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