LogoutUrlExtension

class LogoutUrlExtension extends Twig_Extension LogoutUrlHelper provides generator functions for the logout URL to Twig. Methods __construct(LogoutUrlGenerator $generator) getFunctions() {@inheritdoc} string getLogoutPath(string|null $key = null) Generates the relative logout URL for the firewall. string getLogoutUrl(string|null $key = null) Generates the absolute logout URL for the firewall. getName() {@inheritdoc} Details __construc

LogoutSuccessHandlerInterface

interface LogoutSuccessHandlerInterface LogoutSuccesshandlerInterface. In contrast to the LogoutHandlerInterface, this interface can return a response which is then used instead of the default behavior. If you want to only perform some logout related clean-up task, use the LogoutHandlerInterface instead. Methods Response onLogoutSuccess(Request $request) Creates a Response object to send upon a successful logout. Details Response onLogoutSuccess(Request $r

LogoutListener::handle()

handle(GetResponseEvent $event) Performs the logout if requested. If a CsrfTokenManagerInterface instance is available, it will be used to validate the request. Parameters GetResponseEvent $event Exceptions LogoutException if the CSRF token is invalid RuntimeException if the LogoutSuccessHandlerInterface instance does not return a response

LogoutListener::addHandler()

addHandler(LogoutHandlerInterface $handler) Adds a logout handler. Parameters LogoutHandlerInterface $handler

LogoutListener

class LogoutListener implements ListenerInterface LogoutListener logout users. Methods __construct(TokenStorageInterface $tokenStorage, HttpUtils $httpUtils, LogoutSuccessHandlerInterface $successHandler, array $options = array(), CsrfTokenManagerInterface $csrfTokenManager = null) Constructor. addHandler(LogoutHandlerInterface $handler) Adds a logout handler. handle(GetResponseEvent $event) Performs the logout if requested. Details __construct(

LogoutHandlerInterface

interface LogoutHandlerInterface Interface that needs to be implemented by LogoutHandlers. Methods logout(Request $request, Response $response, TokenInterface $token) This method is called by the LogoutListener when a user has requested to be logged out. Usually, you would unset session variables, or remove cookies, etc. Details logout(Request $request, Response $response, TokenInterface $token) This method is called by the LogoutListener when

LogoutException

class LogoutException extends RuntimeException LogoutException is thrown when the account cannot be logged out. Methods __construct($message = 'Logout Exception', Exception $previous = null) Details __construct($message = 'Logout Exception', Exception $previous = null) Parameters $message Exception $previous

LogicException

class LogicException extends LogicException implements ExceptionInterface LogicException.

LogicException

class LogicException extends LogicException implements ExceptionInterface LogicException for the Process Component.

LogicException

class LogicException extends LogicException implements ExceptionInterface Base LogicException for Form component.