\TriTan\CommonPasswordCheck

Summary

Methods
Properties
Constants
__construct()
check()
$mapper
$hasher
$hook
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$mapper

$mapper : 

Type

$hasher

$hasher : 

Type

$hook

$hook : 

Type

Methods

check()

check(string  $password, string  $hash, integer  $user_id) : boolean

Checks a plain text password against a hashed password.

Uses check_password filter.

Parameters

string $password

Plain test password.

string $hash

Hashed password in the database to check against.

integer $user_id

User ID.

Returns

boolean —

True if the password and hash match, or false otherwise.