[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/phpbb/auth/provider/oauth/service/ -> base.php (source)

   1  <?php
   2  /**
   3  *
   4  * This file is part of the phpBB Forum Software package.
   5  *
   6  * @copyright (c) phpBB Limited <https://www.phpbb.com>
   7  * @license GNU General Public License, version 2 (GPL-2.0)
   8  *
   9  * For full copyright and license information, please see
  10  * the docs/CREDITS.txt file.
  11  *
  12  */
  13  
  14  namespace phpbb\auth\provider\oauth\service;
  15  
  16  /**
  17  * Base OAuth abstract class that all OAuth services should implement
  18  */
  19  abstract class base implements \phpbb\auth\provider\oauth\service\service_interface
  20  {
  21      /**
  22      * External OAuth service provider
  23      *
  24      * @var \OAuth\Common\Service\ServiceInterface
  25      */
  26      protected $service_provider;
  27  
  28      /**
  29      * {@inheritdoc}
  30      */
  31  	public function get_external_service_provider()
  32      {
  33          return $this->service_provider;
  34      }
  35  
  36      /**
  37      * {@inheritdoc}
  38      */
  39  	public function get_auth_scope()
  40      {
  41          return array();
  42      }
  43  
  44      /**
  45      * {@inheritdoc}
  46      */
  47  	public function set_external_service_provider(\OAuth\Common\Service\ServiceInterface $service_provider)
  48      {
  49          $this->service_provider = $service_provider;
  50      }
  51  }


Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1