34 #ifndef GRPC_INTERNAL_CPP_CLIENT_SECURE_CREDENTIALS_H
35 #define GRPC_INTERNAL_CPP_CLIENT_SECURE_CREDENTIALS_H
37 #include <grpc/grpc_security.h>
39 #include <grpc++/config.h>
40 #include <grpc++/credentials.h>
44 class SecureCredentials
GRPC_FINAL :
public Credentials {
47 ~SecureCredentials() GRPC_OVERRIDE { grpc_credentials_release(c_creds_); }
49 bool ApplyToCall(
grpc_call* call) GRPC_OVERRIDE;
51 std::shared_ptr<grpc::ChannelInterface> CreateChannel(
53 SecureCredentials* AsSecureCredentials() GRPC_OVERRIDE {
return this; }
61 #endif // GRPC_INTERNAL_CPP_CLIENT_SECURE_CREDENTIALS_H
Definition: credentials.h:111
Definition: proto_utils.cc:45
Definition: channel_arguments.h:51