Class AbstractPasswordHasher
Abstract password hashing class
Direct Subclasses
		Abstract
Package: Cake\Controller\Component\Auth
Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Location: Cake/Controller/Component/Auth/AbstractPasswordHasher.php
	
	Package: Cake\Controller\Component\Auth
Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Location: Cake/Controller/Component/Auth/AbstractPasswordHasher.php
Properties summary
- 
			$_configprotectedarrayConfigurations for this object. Settings passed from authenticator class to the constructor are merged with this property. 
Method Summary
- 
			__construct() publicConstructor
- 
			check() abstract publicCheck hash. Generate hash from user provided password string or data array and check against existing hash. 
- 
			config() publicGet/Set the config
- 
			hash() abstract publicGenerates password hash.
Method Detail
__construct() public ¶
__construct( array $config = array() )
Constructor
Parameters
- array $config optional array()
- Array of config.
check() abstract public ¶
check( string|array $password , string $hashedPassword )
Check hash. Generate hash from user provided password string or data array and check against existing hash.
Parameters
- string|array $password
- Plain text password to hash or data array.
- string $hashedPassword
- Existing hashed password.
Returns
					boolean
True if hashes match else false.
				
		True if hashes match else false.
