Method | Description | |
---|---|---|
__construct ( |
||
add ( $username, $email, $password ) : void | Adds new user. | |
authenticate ( array $credentials ) : |
Performs an authentication. |
public __construct ( |
||
$database |
public authenticate ( array $credentials ) : |
||
$credentials | array | |
return |