Change namespace to add Kanboard as prefix
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Auth;
|
||||
namespace Kanboard\Auth;
|
||||
|
||||
use Pimple\Container;
|
||||
|
||||
@@ -10,7 +10,7 @@ use Pimple\Container;
|
||||
* @package auth
|
||||
* @author Frederic Guillot
|
||||
*/
|
||||
abstract class Base extends \Core\Base
|
||||
abstract class Base extends \Kanboard\Core\Base
|
||||
{
|
||||
/**
|
||||
* Database instance
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace Auth;
|
||||
namespace Kanboard\Auth;
|
||||
|
||||
use Model\User;
|
||||
use Event\AuthEvent;
|
||||
use Kanboard\Model\User;
|
||||
use Kanboard\Event\AuthEvent;
|
||||
|
||||
/**
|
||||
* Database authentication
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Auth;
|
||||
namespace Kanboard\Auth;
|
||||
|
||||
use Event\AuthEvent;
|
||||
use Kanboard\Event\AuthEvent;
|
||||
|
||||
/**
|
||||
* Github backend
|
||||
@@ -22,7 +22,7 @@ class Github extends Base
|
||||
* OAuth2 instance
|
||||
*
|
||||
* @access private
|
||||
* @var \Core\OAuth2
|
||||
* @var \Kanboard\Core\OAuth2
|
||||
*/
|
||||
private $service;
|
||||
|
||||
@@ -85,7 +85,7 @@ class Github extends Base
|
||||
* Get OAuth2 configured service
|
||||
*
|
||||
* @access public
|
||||
* @return \Core\OAuth2
|
||||
* @return KanboardCore\OAuth2
|
||||
*/
|
||||
public function getService()
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Auth;
|
||||
namespace Kanboard\Auth;
|
||||
|
||||
use Event\AuthEvent;
|
||||
use Kanboard\Event\AuthEvent;
|
||||
|
||||
/**
|
||||
* Gitlab backend
|
||||
@@ -22,7 +22,7 @@ class Gitlab extends Base
|
||||
* OAuth2 instance
|
||||
*
|
||||
* @access private
|
||||
* @var \Core\OAuth2
|
||||
* @var \Kanboard\Core\OAuth2
|
||||
*/
|
||||
private $service;
|
||||
|
||||
@@ -85,7 +85,7 @@ class Gitlab extends Base
|
||||
* Get OAuth2 configured service
|
||||
*
|
||||
* @access public
|
||||
* @return \Core\OAuth2
|
||||
* @return KanboardCore\OAuth2
|
||||
*/
|
||||
public function getService()
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Auth;
|
||||
namespace Kanboard\Auth;
|
||||
|
||||
use Event\AuthEvent;
|
||||
use Kanboard\Event\AuthEvent;
|
||||
|
||||
/**
|
||||
* Google backend
|
||||
@@ -23,7 +23,7 @@ class Google extends Base
|
||||
* OAuth2 instance
|
||||
*
|
||||
* @access private
|
||||
* @var \Core\OAuth2
|
||||
* @var \Kanboard\Core\OAuth2
|
||||
*/
|
||||
private $service;
|
||||
|
||||
@@ -86,7 +86,7 @@ class Google extends Base
|
||||
* Get OAuth2 configured service
|
||||
*
|
||||
* @access public
|
||||
* @return \Core\OAuth2
|
||||
* @return KanboardCore\OAuth2
|
||||
*/
|
||||
public function getService()
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Auth;
|
||||
namespace Kanboard\Auth;
|
||||
|
||||
use Event\AuthEvent;
|
||||
use Kanboard\Event\AuthEvent;
|
||||
|
||||
/**
|
||||
* LDAP model
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Auth;
|
||||
namespace Kanboard\Auth;
|
||||
|
||||
use Core\Request;
|
||||
use Event\AuthEvent;
|
||||
use Core\Security;
|
||||
use Kanboard\Core\Request;
|
||||
use Kanboard\Event\AuthEvent;
|
||||
use Kanboard\Core\Security;
|
||||
|
||||
/**
|
||||
* RememberMe model
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Auth;
|
||||
namespace Kanboard\Auth;
|
||||
|
||||
use Event\AuthEvent;
|
||||
use Kanboard\Event\AuthEvent;
|
||||
|
||||
/**
|
||||
* ReverseProxy backend
|
||||
|
||||
Reference in New Issue
Block a user