userver: samples/grpc_middleware_service/src/middlewares/auth.hpp
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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