* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Bundle\SecurityBundle\DependencyInjection\Security\UserProvider; use Symfony\Component\Config\Definition\Builder\NodeDefinition; use Symfony\Component\DependencyInjection\ContainerBuilder; /** * UserProviderFactoryInterface is the interface for all user provider factories. * * @author Fabien Potencier * @author Christophe Coevoet */ interface UserProviderFactoryInterface { public function create(ContainerBuilder $container, string $id, array $config): void; public function getKey(): string; public function addConfiguration(NodeDefinition $builder): void; }