src/Surfnet/StepupGateway/GatewayBundle/Controller/GatewayController.php 1 location
|
@@ 222-232 (lines=11) @@
|
219 |
|
/** |
220 |
|
* @return ResponseContext |
221 |
|
*/ |
222 |
|
public function getResponseContext($authenticationMode) |
223 |
|
{ |
224 |
|
switch ($authenticationMode) { |
225 |
|
case self::MODE_SFO: |
226 |
|
return $this->get($this->get('gateway.proxy.sfo.state_handler')->getResponseContextServiceId()); |
227 |
|
break; |
228 |
|
case self::MODE_SSO: |
229 |
|
return $this->get($this->get('gateway.proxy.sso.state_handler')->getResponseContextServiceId()); |
230 |
|
break; |
231 |
|
} |
232 |
|
} |
233 |
|
|
234 |
|
/** |
235 |
|
* @param SAMLResponse $response |
src/Surfnet/StepupGateway/GatewayBundle/Controller/SecondFactorController.php 1 location
|
@@ 707-717 (lines=11) @@
|
704 |
|
/** |
705 |
|
* @return ResponseContext |
706 |
|
*/ |
707 |
|
private function getResponseContext($authenticationMode) |
708 |
|
{ |
709 |
|
switch ($authenticationMode) { |
710 |
|
case self::MODE_SFO: |
711 |
|
return $this->get($this->get('gateway.proxy.sfo.state_handler')->getResponseContextServiceId()); |
712 |
|
break; |
713 |
|
case self::MODE_SSO: |
714 |
|
return $this->get($this->get('gateway.proxy.sso.state_handler')->getResponseContextServiceId()); |
715 |
|
break; |
716 |
|
} |
717 |
|
} |
718 |
|
|
719 |
|
/** |
720 |
|
* @return \Surfnet\StepupGateway\GatewayBundle\Monolog\Logger\AuthenticationLogger |