security = $security; } /** * {@inheritdoc } */ public function supports(Request $request): bool { if ($this->security->getUser()) { return false; } return $request->request->has(static::AUTH_FIELD); } /** * {@inheritdoc } */ public function supportsRememberMe(): bool { return true; } }