[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Authentication/ -> ProviderAwareAuthenticationPluginInterface.php (source)

   1  <?php
   2  
   3  /**
   4   * Joomla! Content Management System
   5   *
   6   * @copyright  Copyright (C) 2022 Open Source Matters, Inc. All rights reserved.
   7   * @license    GNU General Public License version 2 or later; see LICENSE.txt
   8   */
   9  
  10  namespace Joomla\CMS\Authentication;
  11  
  12  // phpcs:disable PSR1.Files.SideEffects
  13  \defined('JPATH_PLATFORM') or die;
  14  // phpcs:enable PSR1.Files.SideEffects
  15  
  16  /**
  17   * Interface class defining the necessary methods for an authentication plugin to be provider aware
  18   * Please note: might be deprecated with Joomla 4.2
  19   *
  20   * @since  3.10.7
  21   */
  22  interface ProviderAwareAuthenticationPluginInterface
  23  {
  24      /**
  25       * Return if plugin acts as primary provider
  26       *
  27       * @return  true
  28       *
  29       * @since  3.10.7
  30       */
  31      public static function isPrimaryProvider();
  32  
  33      /**
  34       * Return provider name
  35       *
  36       * @return string
  37       *
  38       * @since  3.10.7
  39       */
  40      public static function getProviderName();
  41  }


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer