CoreFiles by mySites.guru
CheckIfRehashNeededHandlerInterface.php34 lines, 836 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
f020566de836dd4786d7d90d6850a070
sha1
47220731f505820d2a2e8453f896d569dafa0bc4
sha256
b992e7fa514b5e25d3e604773f2b47d9958ae904e9c1aef1c7c8397b4a353a73
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Authentication\Password;

defined('JPATH_PLATFORM') or die;

use Joomla\Authentication\Password\HandlerInterface;
use Joomla\CMS\Crypt\Crypt;
use Joomla\CMS\User\UserHelper;

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

No other release has this exact content. See every version of this file.