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
__construct(HttpUtils $httpUtils, string $targetUrl = '/')
Parameters
HttpUtils | $httpUtils | |
string | $targetUrl |
Response onLogoutSuccess(Request $request)
Creates a Response object to send upon a successful logout.
Parameters
Request | $request |
Return Value
Response | never null |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Security/Http/Logout/DefaultLogoutSuccessHandler.html