result = identity::is_correct_password($user, $pass); } public function isAuth() { return $this->result; } } ?>