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