Move Gitlab and Github authentication to external plugins

This commit is contained in:
Frederic Guillot
2016-01-29 23:59:58 -05:00
parent 04d8c6532c
commit 9b9d823f30
46 changed files with 6 additions and 1177 deletions

View File

@@ -1,23 +0,0 @@
<?php
namespace Kanboard\User;
/**
* Github OAuth User Provider
*
* @package user
* @author Frederic Guillot
*/
class GithubUserProvider extends OAuthUserProvider
{
/**
* Get external id column name
*
* @access public
* @return string
*/
public function getExternalIdColumn()
{
return 'github_id';
}
}

View File

@@ -1,23 +0,0 @@
<?php
namespace Kanboard\User;
/**
* Gitlab OAuth User Provider
*
* @package user
* @author Frederic Guillot
*/
class GitlabUserProvider extends OAuthUserProvider
{
/**
* Get external id column name
*
* @access public
* @return string
*/
public function getExternalIdColumn()
{
return 'gitlab_id';
}
}