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
13
namespace
server
{
14
15
class
IAuthService
{
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
server::IAuthService
Definition
IAuthService.hpp:15
server::IAuthService::~IAuthService
virtual ~IAuthService()=default
server::IAuthService::authenticate
virtual bool authenticate(const std::string &username, const std::string &password)=0
Authenticate a user.
server
Definition
CommandContext.hpp:16
server
Sessions
Auth
IAuthService.hpp
Generated by
1.9.8