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

Renommage namespace.

parent 810d78c4
Branches zf-3.x
Tags
No related merge requests found
<?php
namespace UnicaenOAuth;
namespace UnicaenOauth;
class Module
{
......
......@@ -23,10 +23,7 @@
},
"autoload": {
"psr-0": {
"UnicaenOAuth": "src/"
},
"classmap": [
"./Module.php"
]
"UnicaenOauth": "src/"
}
}
}
<?php
namespace UnicaenOAuth;
namespace UnicaenOauth;
return array(
'router' => array(
......
<?php
namespace UnicaenOAuth\Cas;
namespace UnicaenOauth\Cas;
use Zend\ServiceManager\ServiceLocatorAwareInterface;
use Zend\ServiceManager\ServiceLocatorAwareTrait;
......
<?php
namespace UnicaenOAuth\Cas;
namespace UnicaenOauth\Cas;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
......
<?php
namespace UnicaenOAuth\Cas;
namespace UnicaenOauth\Cas;
trait CasServiceTrait
{
......
<?php
namespace UnicaenOAuth\Controller;
namespace UnicaenOauth\Controller;
use UnicaenOAuth\Cas\CasServiceTrait;
use UnicaenOauth\Cas\CasServiceTrait;
use Zend\Mvc\Controller\AbstractActionController;
class CasController extends AbstractActionController
......
<?php
namespace UnicaenOAuth\Controller;
namespace UnicaenOauth\Controller;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
......
<?php
namespace UnicaenOAuth\OAuth2\Adapter;
namespace UnicaenOauth\OAuth2\Adapter;
use UnicaenOAuth\Cas\CasServiceTrait;
use UnicaenOauth\Cas\CasServiceTrait;
use UnicaenLdap\Filter\People as PeopleFilter;
use UnicaenLdap\Service\People as PeopleLdapService;
use Zend\Authentication\Adapter\Ldap as LdapAuthAdapter;
......
<?php
namespace UnicaenOAuth\OAuth2\Adapter;
namespace UnicaenOauth\OAuth2\Adapter;
use UnicaenOAuth\Cas\CasService;
use UnicaenOauth\Cas\CasService;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use ZF\OAuth2\Controller\Exception;
......@@ -12,7 +12,7 @@ class StorageAdapterFactory implements FactoryInterface
/**
* @param ServiceLocatorInterface $services
* @throws \ZF\OAuth2\Controller\Exception\RuntimeException
* @return \UnicaenOAuth\OAuth2\Adapter\PdoAdapter
* @return \UnicaenOauth\OAuth2\Adapter\PdoAdapter
*/
public function createService(ServiceLocatorInterface $services)
{
......
......@@ -8,7 +8,7 @@
<script type="text/javascript">
$(function () {
var username = '<?php echo $username ?>';
var passwordCasPrefix = '<?php echo \UnicaenOAuth\OAuth2\Adapter\StorageAdapter::PASSWORD_CAS_PREFIX ?>';
var passwordCasPrefix = '<?php echo \UnicaenOauth\OAuth2\Adapter\StorageAdapter::PASSWORD_CAS_PREFIX ?>';
try {
window.opener.app.authenticationWithCasComplete({
identification: username,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment