src/Surfnet/StepupGateway/GatewayBundle/Controller/GatewayController.php 1 location
|
@@ 191-202 (lines=12) @@
|
188 |
|
/** |
189 |
|
* @return \Surfnet\StepupGateway\GatewayBundle\Saml\ResponseContext |
190 |
|
*/ |
191 |
|
public function getResponseContext() |
192 |
|
{ |
193 |
|
$stateHandler = $this->get('gateway.proxy.state_handler'); |
194 |
|
|
195 |
|
$responseContextServiceId = $stateHandler->getResponseContextServiceId(); |
196 |
|
|
197 |
|
if (!$responseContextServiceId) { |
198 |
|
return $this->get(static::RESPONSE_CONTEXT_SERVICE_ID); |
199 |
|
} |
200 |
|
|
201 |
|
return $this->get($responseContextServiceId); |
202 |
|
} |
203 |
|
|
204 |
|
/** |
205 |
|
* @param SAMLResponse $response |
src/Surfnet/StepupGateway/SamlStepupProviderBundle/Controller/SamlProxyController.php 1 location
|
@@ 366-377 (lines=12) @@
|
363 |
|
/** |
364 |
|
* @return \Surfnet\StepupGateway\GatewayBundle\Saml\ResponseContext |
365 |
|
*/ |
366 |
|
public function getResponseContext() |
367 |
|
{ |
368 |
|
$stateHandler = $this->get('gateway.proxy.state_handler'); |
369 |
|
|
370 |
|
$responseContextServiceId = $stateHandler->getResponseContextServiceId(); |
371 |
|
|
372 |
|
if (!$responseContextServiceId) { |
373 |
|
return $this->get(GatewayController::RESPONSE_CONTEXT_SERVICE_ID); |
374 |
|
} |
375 |
|
|
376 |
|
return $this->get($responseContextServiceId); |
377 |
|
} |
378 |
|
} |
379 |
|
|