Classes/Flowpack/SingleSignOn/Client/Security/EntryPoint/SingleSignOnRedirect.php
public function startAuthentication(Request $request, Response $response) {
		$callbackUri = $request->getUri();

		if (!isset($this->options['server'])) {
			throw new Exception('Missing "server" option for SingleSignOnRedirect entry point. Please specifiy one using the entryPointOptions setting.', 1351690358);
		}
		$ssoServer = $this->ssoServerFactory->create($this->options['server']);
		$ssoClient = $this->ssoClientFactory->create();

		$redirectUri = $ssoServer->buildAuthenticationEndpointUri($ssoClient, $callbackUri);
		$response->setStatus(303);
		$response->setHeader('Location', $redirectUri);
	}
public function startAuthentication(Request $request, Response $response) {
		$callbackUri = $request->getUri();

		if (!isset($this->options['server'])) {
			throw new Exception('Missing "server" option for SingleSignOnRedirect entry point. Please specifiy one using the entryPointOptions setting.', 1351690358);
		}
		$ssoServer = $this->ssoServerFactory->create($this->options['server']);
		$ssoClient = $this->ssoClientFactory->create();

		$redirectUri = $ssoServer->buildAuthenticationEndpointUri($ssoClient, $callbackUri);
		$response->setStatus(303);
		$response->setHeader('Location', $redirectUri);
	}
public function startAuthentication ( Request $ request , Response $ response ) { $ callbackUri = $ request -> getUri ( ) ; if ( ! isset ( $ this -> options [ 'server' ] ) ) { throw new Exception ( 'Missing "server" option for SingleSignOnRedirect entry point. Please specifiy one using the entryPointOptions setting.' , 1351690358 ) ; } $ ssoServer = $ this -> ssoServerFactory -> create ( $ this -> options [ 'server' ] ) ; $ ssoClient = $ this -> ssoClientFactory -> create ( ) ; $ redirectUri = $ ssoServer -> buildAuthenticationEndpointUri ( $ ssoClient , $ callbackUri ) ; $ response -> setStatus ( 303 ) ; $ response -> setHeader ( 'Location' , $ redirectUri ) ; }
Starts the authentication by redirecting to the SSO endpoint

The redirect includes the callback URI (the original URI from the given request)
the client identifier and a signature of the arguments with the client private key.

@param \TYPO3\Flow\Http\Request $request The current request
@param \TYPO3\Flow\Http\Response $response The current response
@return void
Starts the authentication by redirecting to the SSO endpoint