var/cache/dev/ContainerNI7eK4s/getCmf_Security_UserProvider_OauthService.php line 27

Open in your IDE?
  1. <?php
  2. namespace ContainerNI7eK4s;
  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 getCmf_Security_UserProvider_OauthService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'cmf.security.user_provider.oauth' shared autowired service.
  12.      *
  13.      * @return \CustomerManagementFrameworkBundle\Security\UserProvider\OAuthAwareUserProvider
  14.      *
  15.      * @deprecated Since pimcore/customer-management-framework-bundle 3.4: The "cmf.security.user_provider.oauth" service is deprecated.
  16.      */
  17.     public static function do($container$lazyLoad true)
  18.     {
  19.         trigger_deprecation('pimcore/customer-management-framework-bundle''3.4''The "cmf.security.user_provider.oauth" service is deprecated.');
  20.         include_once \dirname(__DIR__4).'/vendor/symfony/security-core/User/UserProviderInterface.php';
  21.         include_once \dirname(__DIR__4).'/vendor/pimcore/customer-management-framework-bundle/src/Security/UserProvider/CustomerObjectUserProvider.php';
  22.         return $container->privates['cmf.security.user_provider.oauth'] = new \CustomerManagementFrameworkBundle\Security\UserProvider\OAuthAwareUserProvider(new \CustomerManagementFrameworkBundle\Security\UserProvider\CustomerObjectUserProvider(($container->services['CustomerManagementFrameworkBundle\\CustomerProvider\\CustomerProviderInterface'] ?? $container->getCustomerProviderInterfaceService()), 'email'), ($container->privates['CustomerManagementFrameworkBundle\\Security\\SsoIdentity\\DefaultSsoIdentityService'] ?? $container->load('getDefaultSsoIdentityServiceService')));
  23.     }
  24. }