LogoutUrlGenerator::registerListener()

registerListener(string $key, string $logoutPath, string $csrfTokenId, string $csrfParameter, CsrfTokenManagerInterface $csrfTokenManager = null)

Registers a firewall's LogoutListener, allowing its URL to be generated.

Parameters

string $key The firewall key
string $logoutPath The path that starts the logout process
string $csrfTokenId The ID of the CSRF token
string $csrfParameter The CSRF token parameter name
CsrfTokenManagerInterface $csrfTokenManager A CsrfTokenManagerInterface instance
doc_Symfony
2016-10-28 06:23:14
Comments
Leave a Comment

Please login to continue.