Change Auth classes properties to be protected
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user