PHP Class Psecio\PropAuth\Test\TestPassword

Inheritance: extends Psecio\PropAuth\Test
Show file Open project: psecio/propauth Class Usage Examples

Protected Methods

Method Description
evaluateEquals ( string $value, string $compare ) : boolean Evaluate for a password hash match (uses bcrypt password hashing)
evaluateNotEquals ( $value, $compare )

Method Details

evaluateEquals() protected method

Evaluate for a password hash match (uses bcrypt password hashing)
protected evaluateEquals ( string $value, string $compare ) : boolean
$value string Plain-text password input
$compare string Hash to compare to
return boolean Pass/fail result of evaluation

evaluateNotEquals() protected method

protected evaluateNotEquals ( $value, $compare )