var/cache/dev/ContainerRyA3V0R/getSecurity_Authentication_Provider_SimplePreauth_MainService.php line 18

Open in your IDE?
  1. <?php
  2. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  3. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  4. // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
  5. // Returns the private 'security.authentication.provider.simple_preauth.main' shared service.
  6. @trigger_error('The "security.authentication.provider.simple_preauth.main" service is deprecated since Symfony 4.2.'E_USER_DEPRECATED);
  7. include_once \dirname(__DIR__4).'/vendor/symfony/security-core/User/UserProviderInterface.php';
  8. include_once \dirname(__DIR__4).'/src/Security/AuthTokenUserProvider.php';
  9. include_once \dirname(__DIR__4).'/vendor/symfony/security-core/User/UserCheckerInterface.php';
  10. include_once \dirname(__DIR__4).'/vendor/symfony/security-core/User/UserChecker.php';
  11. $a = ($this->services['doctrine.orm.default_entity_manager'] ?? $this->getDoctrine_Orm_DefaultEntityManagerService());
  12. return $this->privates['security.authentication.provider.simple_preauth.main'] = new \Symfony\Component\Security\Core\Authentication\Provider\SimpleAuthenticationProvider(($this->services['auth_token_authenticator'] ?? $this->load('getAuthTokenAuthenticatorService.php')), new \App\Security\AuthTokenUserProvider($a->getRepository('App:Auth\\AuthToken'), $a->getRepository('App:Auth\\AuthUser')), 'main', new \Symfony\Component\Security\Core\User\UserChecker());