CoreFiles by mySites.guru
ProviderAwareAuthenticationPluginInterface.php37 lines, 810 bytes, from Joomla_4.2.0-Stable-Full_Package.zip
Raw History Compare with 4.1.5
md5
2fe9cba191a30d04d61af6485dffecd0
sha1
862794372d85717ccc49d57ba6b68cacf8f10682
sha256
d3efe99bc2f2ad1f18bb13d5e13818f2bc3d7363b8756f847e400b4fbc3a4750
<?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;

/**
 * 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 5 releases, Joomla 4.2.0-beta3 to 4.2.1-rc2. See them all, or every version of this file.