var/cache/dev/ContainerKxN8iRk/getSecurity_Authentication_Provider_Guard_ApiSecurityService.php line 22

Open in your IDE?
  1. <?php
  2. namespace ContainerKxN8iRk;
  3. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  4. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  5. /**
  6.  * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
  7.  */
  8. class getSecurity_Authentication_Provider_Guard_ApiSecurityService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'security.authentication.provider.guard.api_security' shared service.
  12.      *
  13.      * @return \Symfony\Component\Security\Guard\Provider\GuardAuthenticationProvider
  14.      *
  15.      * @deprecated Since symfony/security-bundle 5.3: The "security.authentication.provider.guard.api_security" service is deprecated, use the new authenticator system instead.
  16.      */
  17.     public static function do($container$lazyLoad true)
  18.     {
  19.         trigger_deprecation('symfony/security-bundle''5.3''The "security.authentication.provider.guard.api_security" service is deprecated, use the new authenticator system instead.');
  20.         include_once \dirname(__DIR__4).'/vendor/symfony/security-core/User/UserCheckerInterface.php';
  21.         include_once \dirname(__DIR__4).'/vendor/symfony/security-core/User/InMemoryUserChecker.php';
  22.         return $container->privates['security.authentication.provider.guard.api_security'] = new \Symfony\Component\Security\Guard\Provider\GuardAuthenticationProvider(new RewindableGenerator(function () use ($container) {
  23.             yield => ($container->privates['App\\Security\\TokenAuthenticator'] ?? $container->load('getTokenAuthenticatorService'));
  24.         }, 1), ($container->privates['security.user.provider.concrete.app_user_provider'] ?? $container->load('getSecurity_User_Provider_Concrete_AppUserProviderService')), 'api_security', ($container->privates['security.user_checker'] ?? ($container->privates['security.user_checker'] = new \Symfony\Component\Security\Core\User\InMemoryUserChecker())), ($container->privates['security.user_password_hasher'] ?? $container->load('getSecurity_UserPasswordHasherService')));
  25.     }
  26. }