diff options
Diffstat (limited to 'app/User/GithubUserProvider.php')
-rw-r--r-- | app/User/GithubUserProvider.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app/User/GithubUserProvider.php b/app/User/GithubUserProvider.php new file mode 100644 index 00000000..ae3d7477 --- /dev/null +++ b/app/User/GithubUserProvider.php @@ -0,0 +1,23 @@ +<?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'; + } +} |