CoreFiles by mySites.guru
ProviderAwareAuthenticationPluginInterface.php38 lines, 796 bytes, from Joomla_4.2.0-beta2-Beta-Full_Package.zip
Raw History Compare with 4.2.0-beta1
md5
17e5cf261e75bd68bdc5d885454bde9a
sha1
fb1e1843bf64a5dbed07977d68db762cdbb72fb1
sha256
202eb93e754b935b7f7c6f124f29a46134655bcc47fbc33f79d294fe4c109783
<?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
 * 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();
}

The same content is in 21 releases, Joomla 3.10.8 to 4.2.0-beta2. See them all, or every version of this file.