| @@ 56-68 (lines=13) @@ | ||
| 53 | */ |
|
| 54 | private $secondFactorTypeService; |
|
| 55 | ||
| 56 | public function __construct( |
|
| 57 | LoaResolutionService $loaResolutionService, |
|
| 58 | ProxyStateHandler $proxyStateHandler, |
|
| 59 | SecondFactorService $secondFactorService, |
|
| 60 | SamlAuthenticationLogger $authenticationChannelLogger, |
|
| 61 | SecondFactorTypeService $service |
|
| 62 | ) { |
|
| 63 | $this->loaResolutionService = $loaResolutionService; |
|
| 64 | $this->proxyStateHandler = $proxyStateHandler; |
|
| 65 | $this->secondFactorService = $secondFactorService; |
|
| 66 | $this->authenticationChannelLogger = $authenticationChannelLogger; |
|
| 67 | $this->secondFactorTypeService = $service; |
|
| 68 | } |
|
| 69 | ||
| 70 | /** |
|
| 71 | * @param string $requestId The SAML authentication request ID of the original request (not the proxy request). |
|
| @@ 54-66 (lines=13) @@ | ||
| 51 | * @param SecondFactorService $secondFactorService |
|
| 52 | * @param SecondFactorTypeService $secondFactorTypeService |
|
| 53 | */ |
|
| 54 | public function __construct( |
|
| 55 | SamlAuthenticationLogger $samlLogger, |
|
| 56 | LoaResolutionService $loaResolutionService, |
|
| 57 | ProxyResponseService $responseProxy, |
|
| 58 | SecondFactorService $secondFactorService, |
|
| 59 | SecondFactorTypeService $secondFactorTypeService |
|
| 60 | ) { |
|
| 61 | $this->samlLogger = $samlLogger; |
|
| 62 | $this->loaResolutionService = $loaResolutionService; |
|
| 63 | $this->responseProxy = $responseProxy; |
|
| 64 | $this->secondFactorService = $secondFactorService; |
|
| 65 | $this->secondFactorTypeService = $secondFactorTypeService; |
|
| 66 | } |
|
| 67 | ||
| 68 | /** |
|
| 69 | * Send a SAML response back to the service provider. |
|
| @@ 60-74 (lines=15) @@ | ||
| 57 | * @param SecondFactorService $secondFactorService |
|
| 58 | * @param SecondFactorTypeService $secondFactorTypeService |
|
| 59 | */ |
|
| 60 | public function __construct( |
|
| 61 | SamlAuthenticationLogger $samlLogger, |
|
| 62 | LoaResolutionService $loaResolutionService, |
|
| 63 | LoaAliasLookupService $loaAliasLookupService, |
|
| 64 | ResponseFactory $responseFactory, |
|
| 65 | SecondFactorService $secondFactorService, |
|
| 66 | SecondFactorTypeService $secondFactorTypeService |
|
| 67 | ) { |
|
| 68 | $this->samlLogger = $samlLogger; |
|
| 69 | $this->loaResolutionService = $loaResolutionService; |
|
| 70 | $this->loaAliasLookupService = $loaAliasLookupService; |
|
| 71 | $this->responseFactory = $responseFactory; |
|
| 72 | $this->secondFactorService = $secondFactorService; |
|
| 73 | $this->secondFactorTypeService = $secondFactorTypeService; |
|
| 74 | } |
|
| 75 | ||
| 76 | ||
| 77 | /** |
|