Skip to content
Snippets Groups Projects
Commit ed53caad authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Merge branch 'zf-3.x' of https://git.unicaen.fr/lib/unicaen/auth into zf-3.x

parents 6356dbd8 de97da3a
No related branches found
No related tags found
No related merge requests found
Pipeline #4078 passed
......@@ -2,15 +2,15 @@
namespace UnicaenAuth\Service;
use Interop\Container\ContainerInterface;
use UnicaenAuth\Options\ModuleOptions;
use Zend\ServiceManager\ServiceLocatorInterface;
class ShibServiceFactory
{
public function __invoke(ServiceLocatorInterface $sl)
public function __invoke(ContainerInterface $container)
{
/** @var ModuleOptions $moduleOptions */
$moduleOptions = $sl->get('unicaen-auth_module_options');
$moduleOptions = $container->get('unicaen-auth_module_options');
$service = new ShibService();
$service->setShibbolethConfig($moduleOptions->getShibboleth());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment