public function logout() {
		$allConfiguration = $this->configurationManager->getConfiguration(\TYPO3\Flow\Configuration\ConfigurationManager::CONFIGURATION_TYPE_SETTINGS, 'TYPO3.Flow');
		$tokens = $this->securityContext->getAuthenticationTokensOfType('Flowpack\SingleSignOn\Client\Security\SingleSignOnToken');
		foreach ($tokens as $token) {
			$providerName = $token->getAuthenticationProviderName();
			$serverIdentifier = \TYPO3\Flow\Utility\Arrays::getValueByPath($allConfiguration, 'security.authentication.providers.' . $providerName . '.providerOptions.server');
			if ($serverIdentifier !== NULL) {
				$ssoClient = $this->ssoClientFactory->create();
				$ssoServer = $this->ssoServerFactory->create($serverIdentifier);
				$ssoServer->destroySession($ssoClient, $token->getGlobalSessionId());
			}
		}
	}