aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/auth/provider/oauth/service/paypal.php
diff options
context:
space:
mode:
authorJoseph Warner <hardolaf@hardolaf.com>2013-07-18 12:21:28 -0400
committerJoseph Warner <hardolaf@hardolaf.com>2013-07-18 12:21:45 -0400
commit662b8fdcec2ce6127bd97fbaf3e15db8d4de2170 (patch)
tree387bfb16a790ee0117ddf9db20a4b754d2046d8e /phpBB/phpbb/auth/provider/oauth/service/paypal.php
parentfe9428b7250fce4cee0d601591e3fac117911d2e (diff)
downloadforums-662b8fdcec2ce6127bd97fbaf3e15db8d4de2170.tar
forums-662b8fdcec2ce6127bd97fbaf3e15db8d4de2170.tar.gz
forums-662b8fdcec2ce6127bd97fbaf3e15db8d4de2170.tar.bz2
forums-662b8fdcec2ce6127bd97fbaf3e15db8d4de2170.tar.xz
forums-662b8fdcec2ce6127bd97fbaf3e15db8d4de2170.zip
[feature/oauth] Remove OAuth providers to make PR smaller
PHPBB3-11673
Diffstat (limited to 'phpBB/phpbb/auth/provider/oauth/service/paypal.php')
-rw-r--r--phpBB/phpbb/auth/provider/oauth/service/paypal.php64
1 files changed, 0 insertions, 64 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/service/paypal.php b/phpBB/phpbb/auth/provider/oauth/service/paypal.php
deleted file mode 100644
index 8a81c460ce..0000000000
--- a/phpBB/phpbb/auth/provider/oauth/service/paypal.php
+++ /dev/null
@@ -1,64 +0,0 @@
-<?php
-/**
-*
-* @package auth
-* @copyright (c) 2013 phpBB Group
-* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
-*
-*/
-
-/**
-* @ignore
-*/
-if (!defined('IN_PHPBB'))
-{
- exit;
-}
-
-/**
-* Paypal OAuth service
-*
-* @package auth
-*/
-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}
- */
- public function get_auth_scope()
- {
- return array(
- 'openid',
- 'profile',
- 'email',
- );
- }
-
- /**
- * {@inheritdoc}
- */
- public function get_service_credentials()
- {
- return array(
- 'key' => $this->config['auth_oauth_paypal_key'],
- 'secret' => $this->config['auth_oauth_paypal_secret'],
- );
- }
-}