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