Verzeichnisstruktur phpBB-3.3.15
- Veröffentlicht
- 28.08.2024
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
base.php
01 <?php
02 /**
03 *
04 * This file is part of the phpBB Forum Software package.
05 *
06 * @copyright (c) phpBB Limited <https://www.phpbb.com>
07 * @license GNU General Public License, version 2 (GPL-2.0)
08 *
09 * 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 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_auth_scope()
32 {
33 return [];
34 }
35
36 /**
37 * {@inheritdoc}
38 */
39 public function get_external_service_class()
40 {
41 return '';
42 }
43
44 /**
45 * {@inheritdoc}
46 */
47 public function get_external_service_provider()
48 {
49 return $this->service_provider;
50 }
51
52 /**
53 * {@inheritdoc}
54 */
55 public function set_external_service_provider(\OAuth\Common\Service\ServiceInterface $service_provider)
56 {
57 $this->service_provider = $service_provider;
58 }
59 }
60