Téléverser les fichiers vers "/"
This commit is contained in:
15
AuthService.h
Normal file
15
AuthService.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef AUTHSERVICE_H
|
||||
#define AUTHSERVICE_H
|
||||
|
||||
#include "../database/Database.h"
|
||||
#include "../models/User.h"
|
||||
#include <string>
|
||||
|
||||
class AuthService {
|
||||
public:
|
||||
static User* login(Database& db,
|
||||
const std::string& username,
|
||||
const std::string& password);
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user