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
Pipeline #4078 passed with stage
in 22 seconds
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
namespace UnicaenAuth\Service; namespace UnicaenAuth\Service;
use Interop\Container\ContainerInterface;
use UnicaenAuth\Options\ModuleOptions; use UnicaenAuth\Options\ModuleOptions;
use Zend\ServiceManager\ServiceLocatorInterface;
class ShibServiceFactory class ShibServiceFactory
{ {
public function __invoke(ServiceLocatorInterface $sl) public function __invoke(ContainerInterface $container)
{ {
/** @var ModuleOptions $moduleOptions */ /** @var ModuleOptions $moduleOptions */
$moduleOptions = $sl->get('unicaen-auth_module_options'); $moduleOptions = $container->get('unicaen-auth_module_options');
$service = new ShibService(); $service = new ShibService();
$service->setShibbolethConfig($moduleOptions->getShibboleth()); $service->setShibbolethConfig($moduleOptions->getShibboleth());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment