Go to the documentation of this file.
19 #ifndef GRPCPP_SECURITY_SERVER_CREDENTIALS_IMPL_H
20 #define GRPCPP_SECURITY_SERVER_CREDENTIALS_IMPL_H
34 struct SslServerCredentialsOptions;
47 const std::shared_ptr<grpc::AuthMetadataProcessor>& processor) = 0;
68 namespace experimental {
90 #endif // GRPCPP_SECURITY_SERVER_CREDENTIALS_IMPL_H
This header provides an object that reads bytes directly from a grpc::ByteBuffer, via the ZeroCopyInp...
Definition: alarm.h:24
std::shared_ptr< ServerCredentials > InsecureServerCredentials()
Builds insecure server credentials.
std::shared_ptr< ServerCredentials > TlsServerCredentials(const TlsCredentialsOptions &options)
Builds TLS ServerCredentials given TLS options.
virtual ~ServerCredentials()
::grpc_impl::Server Server
Definition: server.h:26
Options to create ServerCredentials with ALTS.
Definition: server_credentials_impl.h:71
TLS credentials options, wrapper for grpc_tls_credentials_options.
Definition: tls_credentials_options.h:279
struct grpc_server grpc_server
A server listens to some port and responds to request calls.
Definition: grpc_types.h:65
virtual void SetAuthMetadataProcessor(const std::shared_ptr< grpc::AuthMetadataProcessor > &processor)=0
This method is not thread-safe and has to be called before the server is started.
Options to create ServerCredentials with SSL.
Definition: server_credentials.h:33
Wrapper around grpc_server_credentials, a way to authenticate a server.
Definition: server_credentials_impl.h:40
std::shared_ptr< ServerCredentials > SslServerCredentials(const grpc::SslServerCredentialsOptions &options)
Builds SSL ServerCredentials given SSL specific options.
std::shared_ptr< ServerCredentials > AltsServerCredentials(const AltsServerCredentialsOptions &options)
Builds ALTS ServerCredentials given ALTS specific options.
std::string string
Definition: config.h:35
An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided ...
Definition: alarm_impl.h:33
std::shared_ptr< ServerCredentials > LocalServerCredentials(grpc_local_connect_type type)
Builds Local ServerCredentials.
grpc_local_connect_type
Type of local connections for which local channel/server credentials will be applied.
Definition: grpc_security_constants.h:140