R-Type
Distributed multiplayer game engine in C++
Loading...
Searching...
No Matches
IAuthService.hpp
Go to the documentation of this file.
1/*
2** EPITECH PROJECT, 2025
3** Created by hugo on 06/12/2025
4** File description:
5** IAuthService.hpp
6*/
7
8#pragma once
9
10#include <memory>
11#include <string>
12
13namespace server {
14
16 public:
17 virtual ~IAuthService() = default;
18
25 virtual bool authenticate(const std::string &username, const std::string &password) = 0;
26 };
27
28} // namespace server
virtual ~IAuthService()=default
virtual bool authenticate(const std::string &username, const std::string &password)=0
Authenticate a user.