1 | <?php |
||
11 | class LogoutBase |
||
12 | { |
||
13 | /** @var SSOStateStoreInterface */ |
||
14 | protected $ssoStore; |
||
15 | |||
16 | /** @var \Symfony\Component\Security\Http\HttpUtils */ |
||
17 | protected $httpUtils; |
||
18 | |||
19 | |||
20 | |||
21 | public function __construct(SSOStateStoreInterface $ssoStore, HttpUtils $httpUtils) |
||
26 | |||
27 | |||
28 | /** |
||
29 | * @param Request $request |
||
30 | * @return \Symfony\Component\HttpFoundation\RedirectResponse |
||
31 | */ |
||
32 | protected function getLogoutRedirectResponse(Request $request) |
||
36 | |||
37 | /** |
||
38 | * @param ServiceInfo $serviceInfo |
||
39 | * @param string $nameID |
||
40 | * @param string $sessionIndex |
||
41 | * @return SSOState[] |
||
42 | */ |
||
43 | protected function getSSOState(ServiceInfo $serviceInfo, $nameID, $sessionIndex) |
||
65 | |||
66 | |||
67 | protected function deleteSSOState(array $arrStates) |
||
73 | } |
||
74 |