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

Passage à ZF3 MAIS NON TESTÉ

parent 8f0a6cae
Loading
Loading
Loading
Loading

.gitignore

0 → 100644
+2 −0
Original line number Diff line number Diff line
.idea
vendor
 No newline at end of file
+7 −8
Original line number Diff line number Diff line
{
  "name": "unicaen/oauth",
  "description": "Serveur OAuth2 authentifiant soit via LDAP, soit via CAS",
  "license": "proprietary",
  "repositories": [
    {
      "type": "vcs",
      "url": "https://svn.unicaen.fr/svn/UnicaenLdap"
      "type": "composer",
      "url":  "https://gest.unicaen.fr/packagist"
    }
  ],
  "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/ldap": "~2.1",
    "jasig/phpcas": "^1.3.4"
    "zendframework/zend-servicemanager": "^3.4",
    "zendframework/zend-authentication": "^2.7",
    "zfcampus/zf-oauth2": "^1.5",
    "unicaen/ldap": "^3.1",
    "jasig/phpcas": "^1.4"
  },
  "autoload": {
    "psr-0": {
+532 −773

File changed.

Preview size limit exceeded, changes collapsed.

composer.phar

deleted100644 → 0
−1.1 MiB

File deleted.

+24 −24
Original line number Diff line number Diff line
@@ -2,35 +2,35 @@

namespace UnicaenOauth;

return array(
    'router' => array(
        'routes' => array(
            'login-cas' => array(
return [
    'router' => [
        'routes' => [
            'login-cas' => [
                'type' => 'Literal',
                'options' => array(
                'options' => [
                    'route'    => '/cas/login',
                    'defaults' => array(
                    'defaults' => [
                        'controller' => __NAMESPACE__ . '\Controller\Cas',
                        'action'     => 'login',
                    ),
                ),
            ),
        ),
    ),
    'controllers' => array(
        'factories' => array(
                    ],
                ],
            ],
        ],
    ],
    'controllers' => [
        'factories' => [
            __NAMESPACE__ . '\Controller\Cas' => __NAMESPACE__ . '\Controller\CasControllerFactory',
        ),
    ),
    'service_manager' => array(
        'factories' => array(
        ],
    ],
    'service_manager' => [
        'factories' => [
            'service.cas' => __NAMESPACE__ . '\Cas\CasServiceFactory',
            'ZF\OAuth2\Adapter\PdoAdapter' => __NAMESPACE__ . '\OAuth2\Adapter\StorageAdapterFactory',
        )
    ),
    'view_manager' => array(
        'template_path_stack' => array(
        ]
    ],
    'view_manager' => [
        'template_path_stack' => [
            __DIR__ . '/../view',
        ),
    ),
);
 No newline at end of file
        ],
    ],
];
 No newline at end of file
Loading