P2P File Share
A simple peer-to-peer file sharing system.
Loading...
Searching...
No Matches
User Class Reference

#include <user.hpp>

Public Member Functions

 User (std::string const &username, std::string const &password)
 
std::string getUsername () const
 
bool checkPassword (std::string_view password) const
 

Constructor & Destructor Documentation

◆ User()

User::User ( std::string const & username,
std::string const & password )
inline

Member Function Documentation

◆ checkPassword()

bool User::checkPassword ( std::string_view password) const
inline

◆ getUsername()

std::string User::getUsername ( ) const
inline

The documentation for this class was generated from the following file: