1 | <?php |
||
14 | class ShibbolethHttpLogoutHandler implements LogoutHandlerInterface, LogoutSuccessHandlerInterface |
||
15 | { |
||
16 | use LoggerTrait; |
||
17 | |||
18 | /** |
||
19 | * @var ShibbolethServiceProvider |
||
20 | */ |
||
21 | protected $shibbolethServiceProvider; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $target; |
||
27 | |||
28 | /** |
||
29 | * @param ShibbolethServiceProvider $shibbolethServiceProvider |
||
30 | * @param null|string $target |
||
31 | */ |
||
32 | public function __construct(ShibbolethServiceProvider $shibbolethServiceProvider, $target = null) |
||
37 | |||
38 | /** |
||
39 | * @inheritdoc |
||
40 | */ |
||
41 | public function logout(Request $request, Response $response, TokenInterface $token) |
||
47 | |||
48 | /** |
||
49 | * @inheritdoc |
||
50 | */ |
||
51 | public function onLogoutSuccess(Request $request) |
||
65 | } |
||
66 |