/var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/cakephp/src/Auth
NameSizeModeActions
Storage/-0755rm
AbstractPasswordHasher.php23920644editdlrm
BaseAuthenticate.php91660644editdlrm
BaseAuthorize.php19140644editdlrm
BasicAuthenticate.php42480644editdlrm
ControllerAuthorize.php30310644editdlrm
DefaultPasswordHasher.php27550644editdlrm
DigestAuthenticate.php101300644editdlrm
FallbackPasswordHasher.php32040644editdlrm
FormAuthenticate.php32240644editdlrm
PasswordHasherFactory.php20590644editdlrm
WeakPasswordHasher.php19820644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/cakephp/src/Auth/PasswordHasherFactory.php (2059B)
|string $passwordHasher Name of the password hasher or an array with * at least the key `className` set to the name of the class to use * @return \Cake\Auth\AbstractPasswordHasher Password hasher instance * @throws \RuntimeException If password hasher class not found or * it does not extend {@link \Cake\Auth\AbstractPasswordHasher} */ public static function build($passwordHasher): AbstractPasswordHasher { $config = []; if (is_string($passwordHasher)) { $class = $passwordHasher; } else { $class = $passwordHasher['className']; $config = $passwordHasher; unset($config['className']); } $className = App::className($class, 'Auth', 'PasswordHasher'); if ($className === null) { throw new RuntimeException(sprintf('Password hasher class "%s" was not found.', $class)); } $hasher = new $className($config); if (!($hasher instanceof AbstractPasswordHasher)) { throw new RuntimeException('Password hasher must extend AbstractPasswordHasher class.'); } return $hasher; } }