From 22568325c957f941ccb12751960fe99176ab0643 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Tue, 5 Jan 2016 21:23:19 -0500 Subject: Change Auth classes properties to be protected --- app/Auth/DatabaseAuth.php | 12 ++++++------ app/Auth/GithubAuth.php | 12 ++++++------ app/Auth/GitlabAuth.php | 8 ++++---- app/Auth/GoogleAuth.php | 12 ++++++------ app/Auth/LdapAuth.php | 12 ++++++------ app/Auth/RememberMeAuth.php | 4 ++-- app/Auth/TotpAuth.php | 8 ++++---- 7 files changed, 34 insertions(+), 34 deletions(-) (limited to 'app') 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 -- cgit v1.2.3