* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Security\Http\Logout; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Security\Http\HttpUtils; /** * Default logout success handler will redirect users to a configured path. * * @author Fabien Potencier * @author Alexander */ class DefaultLogoutSuccessHandler implements LogoutSuccessHandlerInterface { protected $httpUtils; protected $targetUrl; /** * @param HttpUtils $httpUtils * @param string $targetUrl */ public function __construct(HttpUtils $httpUtils, $targetUrl = '/') { $this->httpUtils = $httpUtils; $this->targetUrl = $targetUrl; } /** * {@inheritdoc} */ public function onLogoutSuccess(Request $request) { return $this->httpUtils->createRedirectResponse($request, $this->targetUrl); } } __halt_compiler();----SIGNATURE:----hnt1bmnrtLSgsus9svBvCKMk+R/IAj3ORD7mMRDb3B4QEKHbQCnj76g96NEB2dB4SkZPV9i3guiAk939SlhNcLwuqb2f5qrlSoJamQO1S1W6lIw07u7izJxDa3V990HH6n3PYdpT68wGqv4TxAgbt4LS573Otuxt9oZA/MvIH1/6mpU5WUokmFEpEQoGsBCmPS9hzlReAaaF+b66+w0rcCblkhEU36ZEZW8w9C9jzdbfy++ov0aWVpY3cJGmx990U2Vxmh7XBzF74uk6aaG9aIkoUTQoKVClA6SnsaRek31EkMc8xsB5nc503MdZGAr341dgLmjwZxdY/8gwH1tmg3xoc4utKJNva5sNOWrzXHY9QiP6Xf4gOa1PF5b9K7yce/iwHCApzD8cMwjajvuhZDKOT3GXbi0KjuRcXrd2JoJNnybibVOsoRc96hVFBdBF86CJKVFZh4FWiKD43bQSROpKCF+rv617s+LPVu5dCnJYCLa4gtHJupgPFGu+BgRmIXh/HLUlBHp4Kcpc0Ar+XKkXDetfbK5jZOkFBKk0TV9IdCkxREt30RC4mP7WEiaNsRo6A/c69bG51qCiAKSh4qtDFmcW3jHI3oTxjk1ex/f+RcDmEBVEY0BauMOQLAuQmAD1GscouK+0JgTIv15x5K/DAWBBxM0voHLBr3T/Ixk=----ATTACHMENT:----NzU3Nzc4MDM5NDUyODY4MyA0Mjg0NTk4NDgyNzk0MDE5IDgxNjIyMjIwNjYyNDEwNjc=