![]() |
CARTA Backend
The backend component of CARTA
|
Functions | |
std::string | NewAuthToken () |
Create a new authentication token. | |
bool | ValidateAuthToken (uWS::HttpRequest *http_request, const std::string &required_token) |
Validate an HTTP request. | |
std::string NewAuthToken | ( | ) |
Create a new authentication token.
bool ValidateAuthToken | ( | uWS::HttpRequest * | http_request, |
const std::string & | required_token | ||
) |
Validate an HTTP request.
http_request | The HTTP request to validate. |
required_token | The token to use for authentication. |