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
|
@@ 689-699 (lines=11) @@
|
| 686 |
|
/** |
| 687 |
|
* @return ResponseContext |
| 688 |
|
*/ |
| 689 |
|
private function getResponseContext($authenticationMode) |
| 690 |
|
{ |
| 691 |
|
switch ($authenticationMode) { |
| 692 |
|
case self::MODE_SFO: |
| 693 |
|
return $this->get($this->get('gateway.proxy.sfo.state_handler')->getResponseContextServiceId()); |
| 694 |
|
break; |
| 695 |
|
case self::MODE_SSO: |
| 696 |
|
return $this->get($this->get('gateway.proxy.sso.state_handler')->getResponseContextServiceId()); |
| 697 |
|
break; |
| 698 |
|
} |
| 699 |
|
} |
| 700 |
|
|
| 701 |
|
/** |
| 702 |
|
* @return \Surfnet\StepupGateway\GatewayBundle\Monolog\Logger\AuthenticationLogger |