/
githubmirror
/
joomla-cms
Обзор
Документация
Войти
/
githubmirror
/
joomla-cms
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
5.4-dev
libraries/src/Authentication/ProviderAwareAuthenticationPluginInterface.php
41 строка
917 B
Allon Moritz
Replace JPATH_PLATFORM with _JEXEC (#40343)
29 май 2023, 11:12
Не верифицирован
29 май 2023, 11:12
e2170c8
Код
Авторство
О чём код?
<?php /** * Joomla! Content Management System * * @copyright Copyright (C) 2022 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\CMS\Authentication; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Interface class defining the necessary methods for an authentication plugin to be provider aware * Please note: might be deprecated with Joomla 4.2 * * @since 3.10.7 */ interface ProviderAwareAuthenticationPluginInterface { /** * Return if plugin acts as primary provider * * @return true * * @since 3.10.7 */ public static function isPrimaryProvider(); /** * Return provider name * * @return string * * @since 3.10.7 */ public static function getProviderName(); }