Logs the authenticated user out.

@return bool
554813
public function logout()
    {
        $this->_session->delete('auth');
        $this->_session->delete('expire');
        $this->_session->delete('_token');
        $this->_session->delete('_token_meta');

        return $this->check() ? false : true;
    }
1351181
public function logout()
    {
        // deleting session info
        Registry::getSession()->deleteVariable('usr'); // for front end
        Registry::getSession()->deleteVariable('auth'); // for back end
        Registry::getSession()->deleteVariable('dynvalue');
        Registry::getSession()->deleteVariable('paymentid');
        // Registry::getSession()->deleteVariable( 'deladrid' );

        // delete cookie
        Registry::getUtilsServer()->deleteUserCookie(\OxidEsales\Eshop\Core\Registry::getConfig()->getShopID());

        // unsetting global user
        $this->setUser(null);

        return true;
    }
979192
public function isLogged()
    {
        if (is_null($this->logged)) {
            $this->logged = (bool)is_user_logged_in();
        }

        return $this->logged;
    }
733110
async def log_out(self):
        
        try:
            await self(functions.auth.LogOutRequest())
        except errors.RPCError:
            return False

        self._bot = None
        self._self_input_peer = None
        self._authorized = False
        self._state_cache.reset()

        await self.disconnect()
        self.session.delete()
        return True
786783
public function getLogout()
    {
        $this->di->get("session")->delete("user");
        $this->di->get("session")->delete("userid");
        $this->di->get("response")->redirect("user/login");
    }
430013
public function logout()
    {
        if ($this->isAuthenticated() !== true) {
            return;
        }
        $this->isAuthenticated = null;
        $session = $this->sessionManager->getCurrentSession();

        /** @var $token TokenInterface */
        foreach ($this->securityContext->getAuthenticationTokens() as $token) {
            $token->setAuthenticationStatus(TokenInterface::NO_CREDENTIALS_GIVEN);
        }
        $this->emitLoggedOut();
        if ($session->isStarted()) {
            $session->destroy('Logout through AuthenticationProviderManager');
        }
    }
904018
public function isLogged()
    {
        return self::$is_logged || self::$is_logged = (bool)(
                isset($_SESSION['admin_logged'], $_SESSION['admin_id'], $_SESSION['admin_sid'])
                && $_SESSION['admin_logged'] && $_SESSION['admin_id']
                && $this->checkSession($_SESSION['admin_id'], $_SESSION['admin_sid'], true)
            );
    }
954881
public function logout()
    {
        $request = new Request();
        (new Cookies())->delete('user', '/', $request->getServerName());
        session_regenerate_id(); //Avoid session hijacking

        return Session::delete('user');
    }
1245475
public function isLogined()
    {
        $session = $this->getSession();
        $cookie = $this->getCookie();

        if ($cookie->has(self::USER_SESSION)) {
            $login = $cookie->get(self::USER_SESSION);
            $login = unserialize(base64_decode($login));
        }elseif (false !== $session->has(self::USER_SESSION)) {
            $login = $session->get(self::USER_SESSION);
        }else{
            return false;
        }

        return $this->isSameIp($login);
    }
185822
public function logout()
    {
        $this->storeAuthenticationResult(AuthenticationResult::LOGOUT);

        $this->setIdentity(null)->setCredential(null);

        return $this->authenticateCreateAuthResult();
    }
1078778
public function logout()
    {
        $result = $this->Auth->logout();
        $this->viewBuilder()->layout('login');
        $this->title(__d('user', 'Logout'));

        if ($result) {
            return $this->redirect($result);
        } else {
            $this->Flash->danger(__d('user', 'Something went wrong, and logout operation could not be completed.'));

            return $this->redirect($this->referer());
        }
    }
525554
public function logout()
    {
        if ($this->instance instanceof \Phavour\Session\Storage) {
            if ($this->instance->isLocked()) {
                $this->instance->unlock();
            }
            $this->instance->destroy();
        }

        return false;
    }
731877
public function logout() : Response
    {
        if ($this->userData->isLoggedIn()) {
            $this->userData->logOut();
        }

        return $this->response(['Logged Out']);
    }
1355397
public function logout() {

        set_user_preference('repository_flickr_access_token', null);
        set_user_preference('repository_flickr_access_token_secret', null);

        $this->accesstoken = null;
        $this->accesstokensecret = null;

        return $this->print_login();
    }
486316
public function logout()
    {
        $this->Flash->success(__('You are now logged out.'));
        return $this->redirect($this->Auth->logout());
    }
1054107
public function log_out() {
        if ($accesstoken = $this->get_accesstoken()) {
            $params = array(
                'client_id' => $this->get_clientid(),
                'client_secret' => $this->get_clientsecret(),
                'token' => $accesstoken->token
            );
            $this->reset_state();
            $this->post($this->revoke_url(), $params);
        }
        parent::log_out();
    }
1030333
public function sign_out() {

		if ( !$this->authenticated ) 
		{
			return false;
		}

		// remove the restore login
		\DB::delete( $this->config->get( 'logins.table' ) )
			->where( 'restore_token', $this->restore_key( $this->user ) )
			->run();

		// logout the user
		$this->session->delete( $this->config->session_key );

		// pass the user object through all user hooks
		$this->user = \CCEvent::pass( 'auth.sign_out', $this->user );
		$this->user->save();

		$user_model = $this->config->user_model;

		// create new empty user
		$this->user = new $user_model;

		return $this->authenticated = false;
	}