CoreFiles by mySites.guru
ProviderAwareAuthenticationPluginInterface.php41 lines, 925 bytes, from Joomla_4.4.8-Stable-Full_Package.zip
Raw History Compare with 4.4.7
md5
942992639252397b5d40d0eb205b85b4
sha1
4523958a6617b0cbea5b841e8e54ec17da00a257
sha256
3fae682b833cc2864fd7375efc466aad0583b06adaed44ad0e9f2c8ae862c96e
<?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('JPATH_PLATFORM') 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();
}

The same content is in 70 releases, Joomla 4.2.1 to 4.4.14. See them all, or every version of this file.