mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
[feature/oauth] Add constructors
PHPBB3-11673
This commit is contained in:
@@ -22,6 +22,23 @@ if (!defined('IN_PHPBB'))
|
|||||||
*/
|
*/
|
||||||
class phpbb_auth_provider_oauth_service_amazon extends phpbb_auth_provider_oauth_service_base
|
class phpbb_auth_provider_oauth_service_amazon extends phpbb_auth_provider_oauth_service_base
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* phpBB config
|
||||||
|
*
|
||||||
|
* @var phpbb_config
|
||||||
|
*/
|
||||||
|
protected $config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*
|
||||||
|
* @param phpbb_config $config
|
||||||
|
*/
|
||||||
|
public function __construct(phpbb_config $config)
|
||||||
|
{
|
||||||
|
$this->config = $config;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
@@ -22,6 +22,23 @@ if (!defined('IN_PHPBB'))
|
|||||||
*/
|
*/
|
||||||
class phpbb_auth_provider_oauth_service_bitly extends phpbb_auth_provider_oauth_service_base
|
class phpbb_auth_provider_oauth_service_bitly extends phpbb_auth_provider_oauth_service_base
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* phpBB config
|
||||||
|
*
|
||||||
|
* @var phpbb_config
|
||||||
|
*/
|
||||||
|
protected $config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*
|
||||||
|
* @param phpbb_config $config
|
||||||
|
*/
|
||||||
|
public function __construct(phpbb_config $config)
|
||||||
|
{
|
||||||
|
$this->config = $config;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
@@ -22,6 +22,23 @@ if (!defined('IN_PHPBB'))
|
|||||||
*/
|
*/
|
||||||
class phpbb_auth_provider_oauth_service_box extends phpbb_auth_provider_oauth_service_base
|
class phpbb_auth_provider_oauth_service_box extends phpbb_auth_provider_oauth_service_base
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* phpBB config
|
||||||
|
*
|
||||||
|
* @var phpbb_config
|
||||||
|
*/
|
||||||
|
protected $config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*
|
||||||
|
* @param phpbb_config $config
|
||||||
|
*/
|
||||||
|
public function __construct(phpbb_config $config)
|
||||||
|
{
|
||||||
|
$this->config = $config;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
@@ -22,6 +22,23 @@ if (!defined('IN_PHPBB'))
|
|||||||
*/
|
*/
|
||||||
class phpbb_auth_provider_oauth_service_dropbox extends phpbb_auth_provider_oauth_service_base
|
class phpbb_auth_provider_oauth_service_dropbox extends phpbb_auth_provider_oauth_service_base
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* phpBB config
|
||||||
|
*
|
||||||
|
* @var phpbb_config
|
||||||
|
*/
|
||||||
|
protected $config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*
|
||||||
|
* @param phpbb_config $config
|
||||||
|
*/
|
||||||
|
public function __construct(phpbb_config $config)
|
||||||
|
{
|
||||||
|
$this->config = $config;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
@@ -22,6 +22,23 @@ if (!defined('IN_PHPBB'))
|
|||||||
*/
|
*/
|
||||||
class phpbb_auth_provider_oauth_service_facebook extends phpbb_auth_provider_oauth_service_base
|
class phpbb_auth_provider_oauth_service_facebook extends phpbb_auth_provider_oauth_service_base
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* phpBB config
|
||||||
|
*
|
||||||
|
* @var phpbb_config
|
||||||
|
*/
|
||||||
|
protected $config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*
|
||||||
|
* @param phpbb_config $config
|
||||||
|
*/
|
||||||
|
public function __construct(phpbb_config $config)
|
||||||
|
{
|
||||||
|
$this->config = $config;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
@@ -22,6 +22,23 @@ if (!defined('IN_PHPBB'))
|
|||||||
*/
|
*/
|
||||||
class phpbb_auth_provider_oauth_service_fitbit extends phpbb_auth_provider_oauth_service_base
|
class phpbb_auth_provider_oauth_service_fitbit extends phpbb_auth_provider_oauth_service_base
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* phpBB config
|
||||||
|
*
|
||||||
|
* @var phpbb_config
|
||||||
|
*/
|
||||||
|
protected $config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*
|
||||||
|
* @param phpbb_config $config
|
||||||
|
*/
|
||||||
|
public function __construct(phpbb_config $config)
|
||||||
|
{
|
||||||
|
$this->config = $config;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
@@ -22,6 +22,23 @@ if (!defined('IN_PHPBB'))
|
|||||||
*/
|
*/
|
||||||
class phpbb_auth_provider_oauth_service_foursquare extends phpbb_auth_provider_oauth_service_base
|
class phpbb_auth_provider_oauth_service_foursquare extends phpbb_auth_provider_oauth_service_base
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* phpBB config
|
||||||
|
*
|
||||||
|
* @var phpbb_config
|
||||||
|
*/
|
||||||
|
protected $config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*
|
||||||
|
* @param phpbb_config $config
|
||||||
|
*/
|
||||||
|
public function __construct(phpbb_config $config)
|
||||||
|
{
|
||||||
|
$this->config = $config;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
@@ -22,6 +22,23 @@ if (!defined('IN_PHPBB'))
|
|||||||
*/
|
*/
|
||||||
class phpbb_auth_provider_oauth_service_github extends phpbb_auth_provider_oauth_service_base
|
class phpbb_auth_provider_oauth_service_github extends phpbb_auth_provider_oauth_service_base
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* phpBB config
|
||||||
|
*
|
||||||
|
* @var phpbb_config
|
||||||
|
*/
|
||||||
|
protected $config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*
|
||||||
|
* @param phpbb_config $config
|
||||||
|
*/
|
||||||
|
public function __construct(phpbb_config $config)
|
||||||
|
{
|
||||||
|
$this->config = $config;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
@@ -22,6 +22,23 @@ if (!defined('IN_PHPBB'))
|
|||||||
*/
|
*/
|
||||||
class phpbb_auth_provider_oauth_service_google extends phpbb_auth_provider_oauth_service_base
|
class phpbb_auth_provider_oauth_service_google extends phpbb_auth_provider_oauth_service_base
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* phpBB config
|
||||||
|
*
|
||||||
|
* @var phpbb_config
|
||||||
|
*/
|
||||||
|
protected $config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*
|
||||||
|
* @param phpbb_config $config
|
||||||
|
*/
|
||||||
|
public function __construct(phpbb_config $config)
|
||||||
|
{
|
||||||
|
$this->config = $config;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
@@ -22,6 +22,23 @@ if (!defined('IN_PHPBB'))
|
|||||||
*/
|
*/
|
||||||
class phpbb_auth_provider_oauth_service_instagram extends phpbb_auth_provider_oauth_service_base
|
class phpbb_auth_provider_oauth_service_instagram extends phpbb_auth_provider_oauth_service_base
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* phpBB config
|
||||||
|
*
|
||||||
|
* @var phpbb_config
|
||||||
|
*/
|
||||||
|
protected $config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*
|
||||||
|
* @param phpbb_config $config
|
||||||
|
*/
|
||||||
|
public function __construct(phpbb_config $config)
|
||||||
|
{
|
||||||
|
$this->config = $config;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
@@ -22,6 +22,23 @@ if (!defined('IN_PHPBB'))
|
|||||||
*/
|
*/
|
||||||
class phpbb_auth_provider_oauth_service_linkedin extends phpbb_auth_provider_oauth_service_base
|
class phpbb_auth_provider_oauth_service_linkedin extends phpbb_auth_provider_oauth_service_base
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* phpBB config
|
||||||
|
*
|
||||||
|
* @var phpbb_config
|
||||||
|
*/
|
||||||
|
protected $config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*
|
||||||
|
* @param phpbb_config $config
|
||||||
|
*/
|
||||||
|
public function __construct(phpbb_config $config)
|
||||||
|
{
|
||||||
|
$this->config = $config;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
@@ -22,6 +22,23 @@ if (!defined('IN_PHPBB'))
|
|||||||
*/
|
*/
|
||||||
class phpbb_auth_provider_oauth_service_microsoft extends phpbb_auth_provider_oauth_service_base
|
class phpbb_auth_provider_oauth_service_microsoft extends phpbb_auth_provider_oauth_service_base
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* phpBB config
|
||||||
|
*
|
||||||
|
* @var phpbb_config
|
||||||
|
*/
|
||||||
|
protected $config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*
|
||||||
|
* @param phpbb_config $config
|
||||||
|
*/
|
||||||
|
public function __construct(phpbb_config $config)
|
||||||
|
{
|
||||||
|
$this->config = $config;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
@@ -22,6 +22,23 @@ if (!defined('IN_PHPBB'))
|
|||||||
*/
|
*/
|
||||||
class phpbb_auth_provider_oauth_service_paypal extends phpbb_auth_provider_oauth_service_base
|
class phpbb_auth_provider_oauth_service_paypal extends phpbb_auth_provider_oauth_service_base
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* phpBB config
|
||||||
|
*
|
||||||
|
* @var phpbb_config
|
||||||
|
*/
|
||||||
|
protected $config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*
|
||||||
|
* @param phpbb_config $config
|
||||||
|
*/
|
||||||
|
public function __construct(phpbb_config $config)
|
||||||
|
{
|
||||||
|
$this->config = $config;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
@@ -22,6 +22,23 @@ if (!defined('IN_PHPBB'))
|
|||||||
*/
|
*/
|
||||||
class phpbb_auth_provider_oauth_service_soundcloud extends phpbb_auth_provider_oauth_service_base
|
class phpbb_auth_provider_oauth_service_soundcloud extends phpbb_auth_provider_oauth_service_base
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* phpBB config
|
||||||
|
*
|
||||||
|
* @var phpbb_config
|
||||||
|
*/
|
||||||
|
protected $config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*
|
||||||
|
* @param phpbb_config $config
|
||||||
|
*/
|
||||||
|
public function __construct(phpbb_config $config)
|
||||||
|
{
|
||||||
|
$this->config = $config;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
@@ -22,6 +22,23 @@ if (!defined('IN_PHPBB'))
|
|||||||
*/
|
*/
|
||||||
class phpbb_auth_provider_oauth_service_tumblr extends phpbb_auth_provider_oauth_service_base
|
class phpbb_auth_provider_oauth_service_tumblr extends phpbb_auth_provider_oauth_service_base
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* phpBB config
|
||||||
|
*
|
||||||
|
* @var phpbb_config
|
||||||
|
*/
|
||||||
|
protected $config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*
|
||||||
|
* @param phpbb_config $config
|
||||||
|
*/
|
||||||
|
public function __construct(phpbb_config $config)
|
||||||
|
{
|
||||||
|
$this->config = $config;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
@@ -22,6 +22,23 @@ if (!defined('IN_PHPBB'))
|
|||||||
*/
|
*/
|
||||||
class phpbb_auth_provider_oauth_service_twitter extends phpbb_auth_provider_oauth_service_base
|
class phpbb_auth_provider_oauth_service_twitter extends phpbb_auth_provider_oauth_service_base
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* phpBB config
|
||||||
|
*
|
||||||
|
* @var phpbb_config
|
||||||
|
*/
|
||||||
|
protected $config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*
|
||||||
|
* @param phpbb_config $config
|
||||||
|
*/
|
||||||
|
public function __construct(phpbb_config $config)
|
||||||
|
{
|
||||||
|
$this->config = $config;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
@@ -22,6 +22,23 @@ if (!defined('IN_PHPBB'))
|
|||||||
*/
|
*/
|
||||||
class phpbb_auth_provider_oauth_service_vkontakte extends phpbb_auth_provider_oauth_service_base
|
class phpbb_auth_provider_oauth_service_vkontakte extends phpbb_auth_provider_oauth_service_base
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* phpBB config
|
||||||
|
*
|
||||||
|
* @var phpbb_config
|
||||||
|
*/
|
||||||
|
protected $config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*
|
||||||
|
* @param phpbb_config $config
|
||||||
|
*/
|
||||||
|
public function __construct(phpbb_config $config)
|
||||||
|
{
|
||||||
|
$this->config = $config;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
@@ -22,6 +22,23 @@ if (!defined('IN_PHPBB'))
|
|||||||
*/
|
*/
|
||||||
class phpbb_auth_provider_oauth_service_yammer extends phpbb_auth_provider_oauth_service_base
|
class phpbb_auth_provider_oauth_service_yammer extends phpbb_auth_provider_oauth_service_base
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* phpBB config
|
||||||
|
*
|
||||||
|
* @var phpbb_config
|
||||||
|
*/
|
||||||
|
protected $config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*
|
||||||
|
* @param phpbb_config $config
|
||||||
|
*/
|
||||||
|
public function __construct(phpbb_config $config)
|
||||||
|
{
|
||||||
|
$this->config = $config;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user