26#ifndef ROUTER_HTTP_AUTH_METADATA_CACHE_INCLUDED
27#define ROUTER_HTTP_AUTH_METADATA_CACHE_INCLUDED
55 std::error_code
authenticate(
const std::string &username,
56 const std::string &authdata)
override;
66 std::error_code authorize(
const rapidjson::Document &privileges);
Base class of all AuthBackends.
Definition: http_auth_backend.h:45
virtual std::error_code authenticate(const std::string &username, const std::string &authdata)=0
authentication username with authdata against backend.
#define HTTP_AUTH_BACKEND_EXPORT
Definition: http_auth_backend_export.h:15