userver: samples/grpc_middleware_service/src/middlewares/auth.hpp
Loading...
Searching...
No Matches
samples/grpc_middleware_service/src/middlewares/auth.hpp
#pragma once
#include <userver/ugrpc/server/middlewares/base.hpp>
// Hardcoded preshared key - only for example, don't do this in production
namespace sample::grpc::auth {
extern const ::grpc::string kKey;
extern const ::grpc::string kCredentials;
} // namespace sample::grpc::auth