var/cache/dev/ContainerXqPVELs/getSecurity_Authentication_Provider_Guard_ApiPrivateService.php line 20

Open in your IDE?
  1. <?php
  2. namespace ContainerXqPVELs;
  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_ApiPrivateService extends Whater_KernelDevDebugContainer
  9. {
  10. /**
  11. * Gets the private 'security.authentication.provider.guard.api_private' 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_private" 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_private" service is deprecated, use the new authenticator system instead.');
  20. include_once \dirname(__DIR__, 4).'/vendor/symfony/password-hasher/Hasher/UserPasswordHasherInterface.php';
  21. include_once \dirname(__DIR__, 4).'/vendor/symfony/password-hasher/Hasher/UserPasswordHasher.php';
  22. include_once \dirname(__DIR__, 4).'/vendor/symfony/security-core/User/UserCheckerInterface.php';
  23. include_once \dirname(__DIR__, 4).'/vendor/symfony/security-core/User/InMemoryUserChecker.php';
  24. return $container->privates['security.authentication.provider.guard.api_private'] = new \Symfony\Component\Security\Guard\Provider\GuardAuthenticationProvider(new RewindableGenerator(function () use ($container) {
  25. yield 0 => ($container->privates['lexik_jwt_authentication.security.guard.jwt_token_authenticator'] ?? $container->load('getLexikJwtAuthentication_Security_Guard_JwtTokenAuthenticatorService'));
  26. }, 1), ($container->privates['whater.security.user_provider'] ?? $container->load('getWhater_Security_UserProviderService')), 'api_private', ($container->privates['security.user_checker'] ?? ($container->privates['security.user_checker'] = new \Symfony\Component\Security\Core\User\InMemoryUserChecker())), new \Symfony\Component\PasswordHasher\Hasher\UserPasswordHasher(($container->privates['security.password_hasher_factory'] ?? $container->load('getSecurity_PasswordHasherFactoryService'))));
  27. }
  28. }