#include "middleware.hpp"
#include <middlewares/auth.hpp>
namespace sample::grpc::auth::server {
Middleware::Middleware() = default;
auto it = metadata.find(kKey);
if (it == metadata.cend() || it->second != kCredentials) {
"Invalid credentials"});
return;
}
}
}