26#ifndef ROUTER_HTTP_AUTH_METHOD_BASIC_INCLUDED
27#define ROUTER_HTTP_AUTH_METHOD_BASIC_INCLUDED
30#include <system_error>
60 static constexpr char kMethodName[] =
"Basic";
66 static AuthData decode_authorization(
const std::string &http_auth_data,
69 static std::string encode_authorization(
const AuthData &auth_data);
Basic Authentication for HTTP.
Definition: http_auth_method_basic.h:58
Authentication Methods for HTTP.
Definition: http_auth_method.h:38
#define HTTP_SERVER_EXPORT
Definition: http_server_export.h:40
Definition: http_auth_method_basic.h:61
std::string password
Definition: http_auth_method_basic.h:63
std::string username
Definition: http_auth_method_basic.h:62