| 1 |
<?php |
| 2 |
/** |
| 3 |
* Class Check_Challenge_Options |
| 4 |
* |
| 5 |
* @package WP_Defender\Component\Altcha |
| 6 |
*/ |
| 7 |
|
| 8 |
namespace WP_Defender\Component\Altcha; |
| 9 |
|
| 10 |
/** |
| 11 |
* Class Check_Challenge_Options |
| 12 |
*/ |
| 13 |
class Check_Challenge_Options extends Base_Challenge_Options { |
| 14 |
/** |
| 15 |
* Check_Challenge_Options constructor. |
| 16 |
* |
| 17 |
* @param string $algorithm The hashing algorithm. |
| 18 |
* @param string $salt The salt used in hashing. |
| 19 |
* @param int $number The number associated with the challenge. |
| 20 |
*/ |
| 21 |
public function __construct( |
| 22 |
string $algorithm, |
| 23 |
string $salt, |
| 24 |
int $number |
| 25 |
) { |
| 26 |
parent::__construct( $algorithm, self::DEFAULT_MAX_NUMBER, null, $salt, $number, array() ); |
| 27 |
} |
| 28 |
} |
| 29 |
|