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