summaryrefslogtreecommitdiff
path: root/app/Auth
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-12-06 00:00:09 -0500
committerFrederic Guillot <fred@kanboard.net>2015-12-06 00:00:09 -0500
commit9bd7985ba41b385c63213970b862ffc06f1096b0 (patch)
treea181044fca56fd501488c2361971dd883d6d8a89 /app/Auth
parentdb5da71f154d34d012d7259d4d627ac7cf0c38fa (diff)
Add more unit tests
Diffstat (limited to 'app/Auth')
-rw-r--r--app/Auth/GithubAuth.php4
-rw-r--r--app/Auth/GitlabAuth.php4
-rw-r--r--app/Auth/GoogleAuth.php4
3 files changed, 6 insertions, 6 deletions
diff --git a/app/Auth/GithubAuth.php b/app/Auth/GithubAuth.php
index a03c7158..606ab301 100644
--- a/app/Auth/GithubAuth.php
+++ b/app/Auth/GithubAuth.php
@@ -116,10 +116,10 @@ class GithubAuth extends Base implements OAuthAuthenticationProviderInterface
/**
* Get Github profile
*
- * @access private
+ * @access public
* @return array
*/
- private function getProfile()
+ public function getProfile()
{
$this->getService()->getAccessToken($this->code);
diff --git a/app/Auth/GitlabAuth.php b/app/Auth/GitlabAuth.php
index 9e1ac4ef..084e8ab9 100644
--- a/app/Auth/GitlabAuth.php
+++ b/app/Auth/GitlabAuth.php
@@ -116,10 +116,10 @@ class GitlabAuth extends Base implements OAuthAuthenticationProviderInterface
/**
* Get Gitlab profile
*
- * @access private
+ * @access public
* @return array
*/
- private function getProfile()
+ public function getProfile()
{
$this->getService()->getAccessToken($this->code);
diff --git a/app/Auth/GoogleAuth.php b/app/Auth/GoogleAuth.php
index c4acfa0f..2a1f1b46 100644
--- a/app/Auth/GoogleAuth.php
+++ b/app/Auth/GoogleAuth.php
@@ -116,10 +116,10 @@ class GoogleAuth extends Base implements OAuthAuthenticationProviderInterface
/**
* Get Google profile
*
- * @access private
+ * @access public
* @return array
*/
- private function getProfile()
+ public function getProfile()
{
$this->getService()->getAccessToken($this->code);