<?php
namespace ContainerSpb9H04;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getCmf_Security_UserProvider_OauthService extends App_KernelDevDebugContainer
{
/**
* Gets the private 'cmf.security.user_provider.oauth' shared autowired service.
*
* @return \CustomerManagementFrameworkBundle\Security\UserProvider\OAuthAwareUserProvider
*
* @deprecated Since pimcore/customer-management-framework-bundle 3.4: The "cmf.security.user_provider.oauth" service is deprecated.
*/
public static function do($container, $lazyLoad = true)
{
trigger_deprecation('pimcore/customer-management-framework-bundle', '3.4', 'The "cmf.security.user_provider.oauth" service is deprecated.');
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-core/User/UserProviderInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/pimcore/customer-management-framework-bundle/src/Security/UserProvider/CustomerObjectUserProvider.php';
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')));
}
}