#include <credentials.h>
Public Member Functions | |
def | __init__ (self, credentials) |
virtual bool | ApplyToCall (grpc_call *call)=0 |
Apply this instance's credentials to call. More... | |
CallCredentials () | |
virtual grpc::string | DebugString () |
~CallCredentials () override | |
Protected Member Functions | |
virtual SecureCallCredentials * | AsSecureCredentials ()=0 |
Private Attributes | |
_credentials | |
Friends | |
std::shared_ptr< CallCredentials > | CompositeCallCredentials (const std::shared_ptr< CallCredentials > &creds1, const std::shared_ptr< CallCredentials > &creds2) |
Combines two call credentials objects into a composite call credentials. More... | |
std::shared_ptr< ChannelCredentials > | CompositeChannelCredentials (const std::shared_ptr< ChannelCredentials > &channel_creds, const std::shared_ptr< CallCredentials > &call_creds) |
Additional Inherited Members | |
![]() | |
GrpcLibraryCodegen (bool call_grpc_init=true) | |
virtual | ~GrpcLibraryCodegen () |
A call credentials object encapsulates the state needed by a client to authenticate with a server for a given call on a channel.
An encapsulation of the data required to assert an identity over a call. A CallCredentials has to be used with secure Channel, otherwise the metadata will not be transmitted to the server. A CallCredentials may be composed with ChannelCredentials to always assert identity for every call over that Channel. 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 132 of file include/grpcpp/security/credentials.h.
grpc::CallCredentials::CallCredentials | ( | ) |
Definition at line 29 of file credentials_cc.cc.
|
override |
Definition at line 31 of file credentials_cc.cc.
def grpc.CallCredentials.__init__ | ( | self, | |
credentials | |||
) |
Definition at line 591 of file src/python/grpcio/grpc/__init__.py.
Apply this instance's credentials to call.
Implemented in grpc::SecureCallCredentials.
|
protectedpure virtual |
Implemented in grpc::SecureCallCredentials.
|
inlinevirtual |
Reimplemented in grpc::SecureCallCredentials.
Definition at line 139 of file include/grpcpp/security/credentials.h.
|
friend |
Combines two call credentials objects into a composite call credentials.
Definition at line 392 of file secure_credentials.cc.
|
friend |
Combines a channel credentials and a call credentials into a composite channel credentials.
Definition at line 373 of file secure_credentials.cc.
|
private |
Definition at line 592 of file src/python/grpcio/grpc/__init__.py.