1 | <?php |
||
12 | final class SamlResponseRenderingService |
||
13 | { |
||
14 | /** |
||
15 | * @var ResponseBuilder |
||
16 | */ |
||
17 | private $responseBuilder; |
||
18 | |||
19 | /** |
||
20 | * @var TwigEngine |
||
21 | */ |
||
22 | private $twigEngine; |
||
23 | |||
24 | /** |
||
25 | * SamlResponseRenderingService constructor. |
||
26 | * @param ResponseBuilder $responseBuilder |
||
27 | * @param TwigEngine $twigEngine |
||
28 | */ |
||
29 | public function __construct( |
||
36 | |||
37 | /** |
||
38 | * @return Response |
||
39 | */ |
||
40 | public function renderRequesterFailureResponse(ResponseContext $context) |
||
53 | |||
54 | /** |
||
55 | * @return Response |
||
56 | */ |
||
57 | public function renderUnprocessableResponse(ResponseContext $context) |
||
68 | |||
69 | /** |
||
70 | * @param SAML2_Response $response |
||
71 | * @return Response |
||
72 | */ |
||
73 | public function renderResponse( |
||
79 | |||
80 | /** |
||
81 | * @param string $view |
||
82 | * @param SAML2_Response $response |
||
83 | * @return Response |
||
84 | */ |
||
85 | private function renderSamlResponse( |
||
98 | |||
99 | /** |
||
100 | * @param SAML2_Response $response |
||
101 | * @return string |
||
102 | */ |
||
103 | private function getResponseAsXML(SAML2_Response $response) |
||
107 | } |
||
108 |