CoreFiles by mySites.guru
CheckIfRehashNeededHandlerInterface.php33 lines, 794 bytes, from Joomla_4.2.7-Stable-Full_Package.zip
Raw History Compare with 4.2.6
md5
8903bcdab562e974623a8ce842ff3945
sha1
e0194ce28cfc892b69cff73cd2a6c6bff5a118ff
sha256
b0bb1758665fe11d5f2e35d605a1fa87b37f1b134c80c04e4e08a7ccf2af3d2f
<?php

/**
 * Joomla! Content Management System
 *
 * @copyright  (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Authentication\Password;

// phpcs:disable PSR1.Files.SideEffects
\defined('JPATH_PLATFORM') or die;
// phpcs:enable PSR1.Files.SideEffects

/**
 * Interface for a password handler which supports checking if the password requires rehashing
 *
 * @since  4.0.0
 */
interface CheckIfRehashNeededHandlerInterface
{
    /**
     * Check if the password requires rehashing
     *
     * @param   string  $hash  The password hash to check
     *
     * @return  boolean
     *
     * @since   4.0.0
     */
    public function checkIfRehashNeeded(string $hash): bool;
}

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