Wrapper around grpc_server_credentials, a way to authenticate a server. More...
#include <server_credentials.h>

Public Member Functions | |
| def | __init__ (self, credentials) |
| ServerCredentials () | |
| virtual void | SetAuthMetadataProcessor (const std::shared_ptr< grpc::AuthMetadataProcessor > &processor)=0 |
| ~ServerCredentials () override | |
Private Member Functions | |
| virtual int | AddPortToServer (const std::string &addr, grpc_server *server)=0 |
| virtual SecureServerCredentials * | AsSecureServerCredentials () |
| virtual bool | IsInsecure () const |
Private Member Functions inherited from grpc::GrpcLibraryCodegen | |
| GrpcLibraryCodegen (bool call_grpc_init=true) | |
| virtual | ~GrpcLibraryCodegen () |
Private Attributes | |
| _credentials | |
Friends | |
| std::shared_ptr< ServerCredentials > | grpc::XdsServerCredentials (const std::shared_ptr< ServerCredentials > &fallback_credentials) |
| class | Server |
Wrapper around grpc_server_credentials, a way to authenticate a server.
An encapsulation of the data required to open a secure port on a Server. This class has no supported interface - it exists to define the type of its instances and its instances exist to be passed to other functions.
Definition at line 76 of file include/grpcpp/security/server_credentials.h.
| grpc::ServerCredentials::ServerCredentials | ( | ) |
Definition at line 25 of file server_credentials.cc.
|
override |
Definition at line 27 of file server_credentials.cc.
| def grpc.ServerCredentials.__init__ | ( | self, | |
| credentials | |||
| ) |
Definition at line 641 of file src/python/grpcio/grpc/__init__.py.
|
privatepure virtual |
Tries to bind server to the given addr (eg, localhost:1234, 192.168.1.1:31416, [::1]:27182, etc.)
Implemented in grpc::SecureServerCredentials.
|
inlineprivatevirtual |
Reimplemented in grpc::SecureServerCredentials.
Definition at line 109 of file include/grpcpp/security/server_credentials.h.
|
inlineprivatevirtual |
Definition at line 105 of file include/grpcpp/security/server_credentials.h.
|
pure virtual |
This method is not thread-safe and has to be called before the server is started. The last call to this function wins.
Implemented in grpc::SecureServerCredentials.
|
friend |
|
friend |
Definition at line 87 of file include/grpcpp/security/server_credentials.h.
|
private |
Definition at line 642 of file src/python/grpcio/grpc/__init__.py.