summaryrefslogtreecommitdiff
path: root/app/Auth
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-01-05 21:23:19 -0500
committerFrederic Guillot <fred@kanboard.net>2016-01-05 21:23:19 -0500
commit22568325c957f941ccb12751960fe99176ab0643 (patch)
tree234b37a4443f25b59f846318b0f475d887293505 /app/Auth
parent023e0b7d5358ba4b33d198e8cd9e533a47bd3619 (diff)
Change Auth classes properties to be protected
Diffstat (limited to 'app/Auth')
-rw-r--r--app/Auth/DatabaseAuth.php12
-rw-r--r--app/Auth/GithubAuth.php12
-rw-r--r--app/Auth/GitlabAuth.php8
-rw-r--r--app/Auth/GoogleAuth.php12
-rw-r--r--app/Auth/LdapAuth.php12
-rw-r--r--app/Auth/RememberMeAuth.php4
-rw-r--r--app/Auth/TotpAuth.php8
7 files changed, 34 insertions, 34 deletions
diff --git a/app/Auth/DatabaseAuth.php b/app/Auth/DatabaseAuth.php
index 69260fe7..5a8ee64d 100644
--- a/app/Auth/DatabaseAuth.php
+++ b/app/Auth/DatabaseAuth.php
@@ -19,26 +19,26 @@ class DatabaseAuth extends Base implements PasswordAuthenticationProviderInterfa
/**
* User properties
*
- * @access private
+ * @access protected
* @var array
*/
- private $userInfo = array();
+ protected $userInfo = array();
/**
* Username
*
- * @access private
+ * @access protected
* @var string
*/
- private $username = '';
+ protected $username = '';
/**
* Password
*
- * @access private
+ * @access protected
* @var string
*/
- private $password = '';
+ protected $password = '';
/**
* Get authentication provider name
diff --git a/app/Auth/GithubAuth.php b/app/Auth/GithubAuth.php
index 606ab301..83699581 100644
--- a/app/Auth/GithubAuth.php
+++ b/app/Auth/GithubAuth.php
@@ -17,26 +17,26 @@ class GithubAuth extends Base implements OAuthAuthenticationProviderInterface
/**
* User properties
*
- * @access private
+ * @access protected
* @var \Kanboard\User\GithubUserProvider
*/
- private $userInfo = null;
+ protected $userInfo = null;
/**
* OAuth2 instance
*
- * @access private
+ * @access protected
* @var \Kanboard\Core\Http\OAuth2
*/
- private $service;
+ protected $service;
/**
* OAuth2 code
*
- * @access private
+ * @access protected
* @var string
*/
- private $code = '';
+ protected $code = '';
/**
* Get authentication provider name
diff --git a/app/Auth/GitlabAuth.php b/app/Auth/GitlabAuth.php
index 084e8ab9..c0a2cf9b 100644
--- a/app/Auth/GitlabAuth.php
+++ b/app/Auth/GitlabAuth.php
@@ -25,18 +25,18 @@ class GitlabAuth extends Base implements OAuthAuthenticationProviderInterface
/**
* OAuth2 instance
*
- * @access private
+ * @access protected
* @var \Kanboard\Core\Http\OAuth2
*/
- private $service;
+ protected $service;
/**
* OAuth2 code
*
- * @access private
+ * @access protected
* @var string
*/
- private $code = '';
+ protected $code = '';
/**
* Get authentication provider name
diff --git a/app/Auth/GoogleAuth.php b/app/Auth/GoogleAuth.php
index 2a1f1b46..6eacf0b0 100644
--- a/app/Auth/GoogleAuth.php
+++ b/app/Auth/GoogleAuth.php
@@ -17,26 +17,26 @@ class GoogleAuth extends Base implements OAuthAuthenticationProviderInterface
/**
* User properties
*
- * @access private
+ * @access protected
* @var \Kanboard\User\GoogleUserProvider
*/
- private $userInfo = null;
+ protected $userInfo = null;
/**
* OAuth2 instance
*
- * @access private
+ * @access protected
* @var \Kanboard\Core\Http\OAuth2
*/
- private $service;
+ protected $service;
/**
* OAuth2 code
*
- * @access private
+ * @access protected
* @var string
*/
- private $code = '';
+ protected $code = '';
/**
* Get authentication provider name
diff --git a/app/Auth/LdapAuth.php b/app/Auth/LdapAuth.php
index 85234ed3..b4efbb55 100644
--- a/app/Auth/LdapAuth.php
+++ b/app/Auth/LdapAuth.php
@@ -20,26 +20,26 @@ class LdapAuth extends Base implements PasswordAuthenticationProviderInterface
/**
* User properties
*
- * @access private
+ * @access protected
* @var \Kanboard\User\LdapUserProvider
*/
- private $userInfo = null;
+ protected $userInfo = null;
/**
* Username
*
- * @access private
+ * @access protected
* @var string
*/
- private $username = '';
+ protected $username = '';
/**
* Password
*
- * @access private
+ * @access protected
* @var string
*/
- private $password = '';
+ protected $password = '';
/**
* Get authentication provider name
diff --git a/app/Auth/RememberMeAuth.php b/app/Auth/RememberMeAuth.php
index 5a0e48ec..509a511d 100644
--- a/app/Auth/RememberMeAuth.php
+++ b/app/Auth/RememberMeAuth.php
@@ -17,10 +17,10 @@ class RememberMeAuth extends Base implements PreAuthenticationProviderInterface
/**
* User properties
*
- * @access private
+ * @access protected
* @var array
*/
- private $userInfo = array();
+ protected $userInfo = array();
/**
* Get authentication provider name
diff --git a/app/Auth/TotpAuth.php b/app/Auth/TotpAuth.php
index e1cc712c..f4304930 100644
--- a/app/Auth/TotpAuth.php
+++ b/app/Auth/TotpAuth.php
@@ -19,18 +19,18 @@ class TotpAuth extends Base implements PostAuthenticationProviderInterface
/**
* User pin code
*
- * @access private
+ * @access protected
* @var string
*/
- private $code = '';
+ protected $code = '';
/**
* Private key
*
- * @access private
+ * @access protected
* @var string
*/
- private $secret = '';
+ protected $secret = '';
/**
* Get authentication provider name