public function sweepProvider()
    {
        $user = $this->getUser();
        $hybridAuth = $this->getHybridAuth();
        // first test, if there is a connection at all
        // that prevents an authentification just for to logout
        if ($hybridAuth->isConnectedWith($this->providerKey)) {
            $this->getAdapter($this->providerKey)->logout();
        }
        $user->removeSessionData($this->providerKey);
        unset($this->adapter);
        return $this;
    }