Http\Logout\DefaultLogoutSuccessHandler (Component\Security)
Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler
class DefaultLogoutSuccessHandler implements LogoutSuccessHandlerInterface
Default logout success handler will redirect users to a configured path.
Methods
__construct(HttpUtils $httpUtils, string $targetUrl = '/') | ||
Response | onLogoutSuccess(Request $request) Creates a Response object to send upon a successful logout. |
Details
public __construct(HttpUtils $httpUtils, string $targetUrl = '/')
public Response onLogoutSuccess(Request $request)
Creates a Response object to send upon a successful logout.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Security/Http/Logout/DefaultLogoutSuccessHandler.html