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
*
* @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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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