CoreFiles by mySites.guru
CheckIfRehashNeededHandlerInterface.php33 lines, 786 bytes, from Joomla_5.2.0-Stable-Full_Package.zip
Raw History Compare with 5.1.4
md5
3472f3dedfcb7bb0f14b811ef92ff820
sha1
32179307e044a75f06a30286b50dc9ce4773567f
sha256
d1425f1bb817d62594519a59f29a09f83984ea435b911cd0a6c993460ce82647
<?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('_JEXEC') 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 154 releases, Joomla 5.0.0-alpha1 to 6.2.0. See them all, or every version of this file.