LogoutUrlGenerator
class LogoutUrlGenerator
Provides generator functions for the logout URL.
Methods
__construct(RequestStack $requestStack = null, UrlGeneratorInterface $router = null, TokenStorageInterface $tokenStorage = null)
No description
registerListener(string $key, string $logoutPath, string $csrfTokenId, string $csrfParameter, CsrfTokenManagerInterface $csrfTokenManager = null)
Registers a firewall's LogoutListener, allowing its URL to be generated.
string
getLogoutPath(string|null $key = null)
Generates the absolute logout path for the firewall.
string
getLogoutUrl(string|null $key = null)
Generates the absolute logout URL for the firewall.
Details
at line line 32
__construct(RequestStack $requestStack = null, UrlGeneratorInterface $router = null, TokenStorageInterface $tokenStorage = null)
at line line 48
registerListener(string $key, string $logoutPath, string $csrfTokenId, string $csrfParameter, CsrfTokenManagerInterface $csrfTokenManager = null)
Registers a firewall's LogoutListener, allowing its URL to be generated.
at line line 60
string
getLogoutPath(string|null $key = null)
Generates the absolute logout path for the firewall.
at line line 72
string
getLogoutUrl(string|null $key = null)
Generates the absolute logout URL for the firewall.