Tries to log the user out. Uses the {@link SsecAccess#logout()} method.
338637
public void onClick(ClickEvent event) {
		GwtCommandDispatcher dispatcher = GwtCommandDispatcher.getInstance();
		SsecAccess.logout();
		dispatcher.logout();
	}
774251
public void logout(Subject subject) {
		if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
			SibTr.entry(tc, CLASS_NAME + "logout");
		}
		if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
			SibTr.exit(tc, CLASS_NAME + "logout");
		}
	}
931904
public void logout( String sessionId ) throws DebugWsException {

		this.logger.finer( "Logging out... Session ID = " + sessionId );
		WebResource path = this.resource.path( UrlConstants.AUTHENTICATION ).path( "s" );
		ClientResponse response = this.wsClient.createBuilder( path ).get( ClientResponse.class );
		this.logger.finer( String.valueOf( response.getStatusInfo()));
		this.wsClient.setSessionId( null );
	}
383004
public static function logout() {
		$_SESSION = [];
		session_destroy();
		session_unset();
		self::$isGuest = true;
		self::$user = user::guest();
	}
229433
public boolean logout() {
    subject.getPrincipals().removeAll(principals);
    subject.getPrivateCredentials().removeAll(privateCredentials);
    subject.getPublicCredentials().removeAll(publicCredentials);
    principals.clear();
    privateCredentials.clear();
    publicCredentials.clear();
    return true;
  }
374279
public void logout() throws Exception {
    Api apiResult = getActionResult("logout", "", null, null);
    if (apiResult != null) {
      userid = null;
      // FIXME check apiResult
    }
    if (cookies != null) {
      cookies.clear();
      cookies = null;
    }
  }
1275761
public function logout()
    {
        if ($this->has()) {
            $this->sessionBag->remove(self::AUTH_NAMESPACE);
        }

        if ($this->reAuth->isStored()) {
            $this->reAuth->clear();
        }
    }
27919
public void logout( String token ) {
		if( token != null ) {
			this.tokenToLoginTime.remove( token );
			this.tokenToUsername.remove( token );
		}
	}
125290
public function logout()
  {
    $this->request("logout");
    $this->whoamiReset();

    $this->delStorage("_login_user");
    $this->delStorage("_login_pass");

    TeamSpeak3_Helper_Signal::getInstance()->emit("notifyLogout", $this);
  }
1204836
def _logout(self):
        """"""

        if self.auth:
            logger.debug("ZabbixAPI.logout()")

            if self.user.logout():
                self.auth = None
1079171
public function logout()
    {
        $this->di->get('session')->set("user", null);
        $this->di->get("response")->redirect("user/login");
    }
1084825
public function logout()
    {
        $user = $this->user();
        // If we have an event dispatcher instance, we can fire off the logout event
        // so any further processing can be done. This allows the developer to be
        // listening for anytime a user signs out of this application manually.
        $this->clearUserDataFromStorage();
        if (isset($this->events)) {
            $this->events->dispatch(new Logout($user));
        }
        // Once we have fired the logout event we will clear the users out of memory
        // so they are no longer available as the user is no longer considered as
        // being signed into this application and should not be available here.
        $this->user = NULL;
        $this->loggedOut = TRUE;
    }
1266684
public void logout() throws WorkspaceApiException {
        try {
            ApiSuccessResponse response = this.voiceApi.logoutVoice(null);
            throwIfNotOk("voiceLogout", response);
        } catch (ApiException e) {
            throw new WorkspaceApiException("voiceLogout failed", e);
        }
    }
1371645
@Subscribe
    public void onLogout(LogoutRequestEvent event) {
        Subject subject = ThreadContext.getSubject();
        if (subject != null) {
            subject.logout();
        }
    }
228125
def logout(self):
        """"""
        if self._logged_in is True:
            self.si.flush_cache()
            self.sc.sessionManager.Logout()
            self._logged_in = False
908143
def logout(request):
    
    # Dispatch the signal before the user is logged out so the receivers have a
    # chance to find out *who* logged out.
    user = getattr(request, 'user', None)
    if hasattr(user, 'is_authenticated') and not user.is_authenticated:
        user = None
    user_logged_out.send(sender=user.__class__, request=request, user=user)

    # remember language choice saved to session
    language = request.session.get(LANGUAGE_SESSION_KEY)

    request.session.flush()

    if language is not None:
        request.session[LANGUAGE_SESSION_KEY] = language

    if hasattr(request, 'user'):
        request.user = MojAnonymousUser()
581818
public function logout()
    {
        if (false === $this->isEnabled()) {
            throw new UserInactiveException();
        }

        $this->publish(
            new UserLoggedOut(
                $this->id,
                $this->email
            )
        );
    }