summaryrefslogtreecommitdiff
path: root/app/Auth
diff options
context:
space:
mode:
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);