Classes/Flowpack/SingleSignOn/Server/Domain/Model/SsoClient.php
public function buildDestroySessionRequest(SsoServer $ssoServer, $sessionId) {
		$serviceUri = new Uri(rtrim($this->serviceBaseUri, '/') . '/session/' . urlencode($sessionId) . '/destroy');
		$serviceUri->setQuery(http_build_query(array('serverIdentifier' => $ssoServer->getServiceBaseUri())));
		$request = \TYPO3\Flow\Http\Request::create($serviceUri, 'DELETE');
		$request->setContent('');

		return $this->requestSigner->signRequest($request, $ssoServer->getKeyPairFingerprint(), $ssoServer->getKeyPairFingerprint());
	}
public function buildDestroySessionRequest(SsoServer $ssoServer, $sessionId) {
		$serviceUri = new Uri(rtrim($this->serviceBaseUri, '/') . '/session/' . urlencode($sessionId) . '/destroy');
		$serviceUri->setQuery(http_build_query(array('serverIdentifier' => $ssoServer->getServiceBaseUri())));
		$request = \TYPO3\Flow\Http\Request::create($serviceUri, 'DELETE');
		$request->setContent('');

		return $this->requestSigner->signRequest($request, $ssoServer->getKeyPairFingerprint(), $ssoServer->getKeyPairFingerprint());
	}
public function buildDestroySessionRequest ( SsoServer $ ssoServer , $ sessionId ) { $ serviceUri = new Uri ( rtrim ( $ this -> serviceBaseUri , '/' ) . '/session/' . urlencode ( $ sessionId ) . '/destroy' ) ; $ serviceUri -> setQuery ( http_build_query ( array ( 'serverIdentifier' => $ ssoServer -> getServiceBaseUri ( ) ) ) ) ; $ request = \ TYPO3 \ Flow \ Http \ Request :: create ( $ serviceUri , 'DELETE' ) ; $ request -> setContent ( '' ) ; return $ this -> requestSigner -> signRequest ( $ request , $ ssoServer -> getKeyPairFingerprint ( ) , $ ssoServer -> getKeyPairFingerprint ( ) ) ; }
Builds a request for calling the destroy session webservice on this client

@param \Flowpack\SingleSignOn\Server\Domain\Model\SsoServer $ssoServer
@param string $sessionId
@return \TYPO3\Flow\Http\Request
Builds a request for calling the destroy session webservice on this client