Rewrite of the authentication and authorization system
This commit is contained in:
23
app/User/GitlabUserProvider.php
Normal file
23
app/User/GitlabUserProvider.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?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';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user