Change Auth classes properties to be protected

This commit is contained in:
Frederic Guillot
2016-01-05 21:23:19 -05:00
parent 023e0b7d53
commit 22568325c9
7 changed files with 34 additions and 34 deletions

View File

@@ -19,26 +19,26 @@ class DatabaseAuth extends Base implements PasswordAuthenticationProviderInterfa
/** /**
* User properties * User properties
* *
* @access private * @access protected
* @var array * @var array
*/ */
private $userInfo = array(); protected $userInfo = array();
/** /**
* Username * Username
* *
* @access private * @access protected
* @var string * @var string
*/ */
private $username = ''; protected $username = '';
/** /**
* Password * Password
* *
* @access private * @access protected
* @var string * @var string
*/ */
private $password = ''; protected $password = '';
/** /**
* Get authentication provider name * Get authentication provider name

View File

@@ -17,26 +17,26 @@ class GithubAuth extends Base implements OAuthAuthenticationProviderInterface
/** /**
* User properties * User properties
* *
* @access private * @access protected
* @var \Kanboard\User\GithubUserProvider * @var \Kanboard\User\GithubUserProvider
*/ */
private $userInfo = null; protected $userInfo = null;
/** /**
* OAuth2 instance * OAuth2 instance
* *
* @access private * @access protected
* @var \Kanboard\Core\Http\OAuth2 * @var \Kanboard\Core\Http\OAuth2
*/ */
private $service; protected $service;
/** /**
* OAuth2 code * OAuth2 code
* *
* @access private * @access protected
* @var string * @var string
*/ */
private $code = ''; protected $code = '';
/** /**
* Get authentication provider name * Get authentication provider name

View File

@@ -25,18 +25,18 @@ class GitlabAuth extends Base implements OAuthAuthenticationProviderInterface
/** /**
* OAuth2 instance * OAuth2 instance
* *
* @access private * @access protected
* @var \Kanboard\Core\Http\OAuth2 * @var \Kanboard\Core\Http\OAuth2
*/ */
private $service; protected $service;
/** /**
* OAuth2 code * OAuth2 code
* *
* @access private * @access protected
* @var string * @var string
*/ */
private $code = ''; protected $code = '';
/** /**
* Get authentication provider name * Get authentication provider name

View File

@@ -17,26 +17,26 @@ class GoogleAuth extends Base implements OAuthAuthenticationProviderInterface
/** /**
* User properties * User properties
* *
* @access private * @access protected
* @var \Kanboard\User\GoogleUserProvider * @var \Kanboard\User\GoogleUserProvider
*/ */
private $userInfo = null; protected $userInfo = null;
/** /**
* OAuth2 instance * OAuth2 instance
* *
* @access private * @access protected
* @var \Kanboard\Core\Http\OAuth2 * @var \Kanboard\Core\Http\OAuth2
*/ */
private $service; protected $service;
/** /**
* OAuth2 code * OAuth2 code
* *
* @access private * @access protected
* @var string * @var string
*/ */
private $code = ''; protected $code = '';
/** /**
* Get authentication provider name * Get authentication provider name

View File

@@ -20,26 +20,26 @@ class LdapAuth extends Base implements PasswordAuthenticationProviderInterface
/** /**
* User properties * User properties
* *
* @access private * @access protected
* @var \Kanboard\User\LdapUserProvider * @var \Kanboard\User\LdapUserProvider
*/ */
private $userInfo = null; protected $userInfo = null;
/** /**
* Username * Username
* *
* @access private * @access protected
* @var string * @var string
*/ */
private $username = ''; protected $username = '';
/** /**
* Password * Password
* *
* @access private * @access protected
* @var string * @var string
*/ */
private $password = ''; protected $password = '';
/** /**
* Get authentication provider name * Get authentication provider name

View File

@@ -17,10 +17,10 @@ class RememberMeAuth extends Base implements PreAuthenticationProviderInterface
/** /**
* User properties * User properties
* *
* @access private * @access protected
* @var array * @var array
*/ */
private $userInfo = array(); protected $userInfo = array();
/** /**
* Get authentication provider name * Get authentication provider name

View File

@@ -19,18 +19,18 @@ class TotpAuth extends Base implements PostAuthenticationProviderInterface
/** /**
* User pin code * User pin code
* *
* @access private * @access protected
* @var string * @var string
*/ */
private $code = ''; protected $code = '';
/** /**
* Private key * Private key
* *
* @access private * @access protected
* @var string * @var string
*/ */
private $secret = ''; protected $secret = '';
/** /**
* Get authentication provider name * Get authentication provider name