setUser($uid); if (!empty($uid)) { $this->setAuthenticated(true); } } public function getCredentials() { return ''; } }