public function vote(TokenInterface $token, $object, array $attributes)
{
foreach ($this->providers as $providerName) {
if ($this->sessionFlagManager->isNotAuthenticated($providerName, $token)) {
return VoterInterface::ACCESS_DENIED;
}
}
return VoterInterface::ACCESS_ABSTAIN;
}