public function onAuthenticationSuccess(Request
$request, TokenInterface
$token, string
$firewallName): ?Response
{ return null; // let the original request continue
} public function onAuthenticationFailure(Request
$request, AuthenticationException
$exception): ?Response
{ if (null !==
$this->logger
) { if ($exception instanceof UserNotFoundException
) { $this->logger->
info('User for remember-me cookie not found.',
['exception' =>
$exception]);
} elseif ($exception instanceof UnsupportedUserException
) { $this->logger->
warning('User class for remember-me cookie not supported.',
['exception' =>
$exception]);
} elseif (!
$exception instanceof CookieTheftException
) { $this->logger->
debug('Remember me authentication failed.',
['exception' =>
$exception]);
} } return null;
} public function isInteractive(): bool
{ return true;
}