Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Has been cancelled
16 lines
338 B
C++
16 lines
338 B
C++
#pragma once
|
|
|
|
#include <httplib.h>
|
|
|
|
namespace AuthService
|
|
{
|
|
namespace Auth
|
|
{
|
|
// function for authorization users
|
|
void auth(const httplib::Request& request, httplib::Response& response);
|
|
|
|
// function for verify tokens
|
|
void verify_auth(const std::string& token, httplib::Response& response);
|
|
}
|
|
}
|