Classes/Flowpack/SingleSignOn/Client/Service/SingleSignOnManager.php
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());
			}
		}
	}
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());
			}
		}
	}
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 ( ) ) ; } } }
Notify SSO servers about the logged out client

All active authentication tokens of type SingleSignOnToken will be
used to get the registered global session id and send a request
to the session service on the SSO server.

@return void
Notify SSO servers about the logged out client