CoreFiles by mySites.guru
ProviderAwareAuthenticationPluginInterface.php37 lines, 744 bytes, from Joomla_4.1.1-Stable-Full_Package.zip
Raw History Compare with 4.1.0
md5
ca19b16f6a1691268aaa0e20df2ffd03
sha1
ae79b7595931c961e34bb16ec8affd5e1367708c
sha256
b13f8672c118a30b351a90a54bd6c617927c9f24e1fd2d1daafc393cd1542a3b
<?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;

defined('JPATH_PLATFORM') or die;

/**
 * Interface class defining the necessary methods for an authentication plugin to be provider aware
 *
 * @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();
}

The same content is in 3 releases, Joomla 3.10.7 to 4.2.0-alpha1. See them all, or every version of this file.