PHP Class Psecio\PropAuth\Test\TestPassword

Inheritance: extends Psecio\PropAuth\Test
Afficher le fichier Open project: psecio/propauth Class Usage Examples

Méthodes protégées

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

Method Details

evaluateEquals() protected méthode

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
Résultat boolean Pass/fail result of evaluation

evaluateNotEquals() protected méthode

protected evaluateNotEquals ( $value, $compare )