GRPC C++
1.30.0
|
A channel credentials object encapsulates all the state needed by a client to authenticate with a server for a given channel. More...
#include <credentials_impl.h>
Public Member Functions | |
ChannelCredentials () | |
~ChannelCredentials () | |
Protected Member Functions | |
virtual SecureChannelCredentials * | AsSecureCredentials ()=0 |
Friends | |
std::shared_ptr< ChannelCredentials > | CompositeChannelCredentials (const std::shared_ptr< ChannelCredentials > &channel_creds, const std::shared_ptr< CallCredentials > &call_creds) |
Combines a channel credentials and a call credentials into a composite channel credentials. More... | |
std::shared_ptr< Channel > | CreateCustomChannelImpl (const grpc::string &target, const std::shared_ptr< ChannelCredentials > &creds, const ChannelArguments &args) |
std::shared_ptr< Channel > | grpc_impl::experimental::CreateCustomChannelWithInterceptors (const grpc::string &target, const std::shared_ptr< ChannelCredentials > &creds, const ChannelArguments &args, std::vector< std::unique_ptr< grpc::experimental::ClientInterceptorFactoryInterface >> interceptor_creators) |
A channel credentials object encapsulates all the state needed by a client to authenticate with a server for a given channel.
It can make various assertions, e.g., about the client’s identity, role for all the calls on that channel.
grpc_impl::ChannelCredentials::ChannelCredentials | ( | ) |
grpc_impl::ChannelCredentials::~ChannelCredentials | ( | ) |
|
protectedpure virtual |
|
friend |
Combines a channel credentials and a call credentials into a composite channel credentials.
|
friend |
|
friend |