Commit e80f98e0 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

2.2.0

parents 75f7af5b 0dc0e58c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
{
  "name": "unicaen/unicaen-oauth",
  "description": "Serveur OAuth2 authentifiant soit via LDAP, soit via CAS",
  "minimum-stability": "dev",
  "license": "proprietary",
  "authors": [
    {
@@ -16,9 +15,10 @@
    }
  ],
  "require": {
    "zendframework/zend-servicemanager": "~2.4 || ^2.5 || ^7.0",
    "zendframework/zend-authentication": "~2.4 || ^2.5 || ^7.0",
    "zfcampus/zf-oauth2": "^1.4.0",
    "unicaen/unicaen-ldap": "^2.0.0",
    "unicaen/unicaen-ldap": "~2.1",
    "jasig/phpcas": "^1.3.4"
  },
  "autoload": {
+644 −281

File changed.

Preview size limit exceeded, changes collapsed.

+2 −3
Original line number Diff line number Diff line
<?php
namespace UnicaenOauth\Cas;

use Zend\ServiceManager\ServiceLocatorAwareInterface;
use Zend\ServiceManager\ServiceLocatorAwareTrait;
use phpCAS;
use Zend\ServiceManager\ServiceLocatorAwareTrait;

class CasService implements ServiceLocatorAwareInterface
class CasService
{
    use ServiceLocatorAwareTrait;

+4 −1
Original line number Diff line number Diff line
@@ -11,6 +11,9 @@ class CasServiceFactory implements FactoryInterface
    {
        $config = $serviceLocator->get('config');

        return new CasService($config['unicaen-oauth']['cas']);
        $service = new CasService($config['unicaen-oauth']['cas']);
        $service->setServiceLocator($serviceLocator);

        return $service;
    }
}
 No newline at end of file