GRPC C++  1.39.1
Public Member Functions
grpc_core::InsecureChannelSecurityConnector Class Reference

#include <insecure_security_connector.h>

Public Member Functions

 InsecureChannelSecurityConnector (grpc_core::RefCountedPtr< grpc_channel_credentials > channel_creds, grpc_core::RefCountedPtr< grpc_call_credentials > request_metadata_creds)
 
bool check_call_host (absl::string_view host, grpc_auth_context *auth_context, grpc_closure *on_call_host_checked, grpc_error_handle *error) override
 Checks that the host that will be set for a call is acceptable. More...
 
void cancel_check_call_host (grpc_closure *on_call_host_checked, grpc_error_handle error) override
 Cancels a pending asynchronous call to grpc_channel_security_connector_check_call_host() with on_call_host_checked as its callback. More...
 
void add_handshakers (const grpc_channel_args *args, grpc_pollset_set *, grpc_core::HandshakeManager *handshake_manager) override
 Registers handshakers with handshake_mgr. More...
 
void check_peer (tsi_peer peer, grpc_endpoint *ep, grpc_core::RefCountedPtr< grpc_auth_context > *auth_context, grpc_closure *on_peer_checked) override
 
void cancel_check_peer (grpc_closure *, grpc_error_handle error) override
 
int cmp (const grpc_security_connector *other_sc) const override
 
- Public Member Functions inherited from grpc_channel_security_connector
 grpc_channel_security_connector (const char *url_scheme, grpc_core::RefCountedPtr< grpc_channel_credentials > channel_creds, grpc_core::RefCountedPtr< grpc_call_credentials > request_metadata_creds)
 
 ~grpc_channel_security_connector () override
 
const grpc_channel_credentialschannel_creds () const
 
grpc_channel_credentialsmutable_channel_creds ()
 
const grpc_call_credentialsrequest_metadata_creds () const
 
grpc_call_credentialsmutable_request_metadata_creds ()
 
- Public Member Functions inherited from grpc_security_connector
 grpc_security_connector (const char *url_scheme)
 
 ~grpc_security_connector () override=default
 
const char * url_scheme () const
 
- Public Member Functions inherited from grpc_core::RefCounted< grpc_security_connector >
 ~RefCounted ()=default
 
RefCountedPtr< grpc_security_connectorRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< grpc_security_connectorRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
RefCountedPtr< grpc_security_connectorRefIfNonZero () GRPC_MUST_USE_RESULT
 
RefCountedPtr< grpc_security_connectorRefIfNonZero (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
 RefCounted (const RefCounted &)=delete
 
RefCountedoperator= (const RefCounted &)=delete
 
- Public Member Functions inherited from grpc_core::PolymorphicRefCount
virtual ~PolymorphicRefCount ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from grpc_channel_security_connector
int channel_security_connector_cmp (const grpc_channel_security_connector *other) const
 
- Protected Member Functions inherited from grpc_core::RefCounted< grpc_security_connector >
 RefCounted (const char *trace=nullptr, intptr_t initial_refcount=1)
 

Constructor & Destructor Documentation

◆ InsecureChannelSecurityConnector()

grpc_core::InsecureChannelSecurityConnector::InsecureChannelSecurityConnector ( grpc_core::RefCountedPtr< grpc_channel_credentials channel_creds,
grpc_core::RefCountedPtr< grpc_call_credentials request_metadata_creds 
)
inline

Member Function Documentation

◆ add_handshakers()

void grpc_core::InsecureChannelSecurityConnector::add_handshakers ( const grpc_channel_args args,
grpc_pollset_set interested_parties,
grpc_core::HandshakeManager handshake_mgr 
)
overridevirtual

Registers handshakers with handshake_mgr.

Implements grpc_channel_security_connector.

◆ cancel_check_call_host()

void grpc_core::InsecureChannelSecurityConnector::cancel_check_call_host ( grpc_closure on_call_host_checked,
grpc_error_handle  error 
)
overridevirtual

Cancels a pending asynchronous call to grpc_channel_security_connector_check_call_host() with on_call_host_checked as its callback.

Implements grpc_channel_security_connector.

◆ cancel_check_peer()

void grpc_core::InsecureChannelSecurityConnector::cancel_check_peer ( grpc_closure ,
grpc_error_handle  error 
)
inlineoverridevirtual

◆ check_call_host()

bool grpc_core::InsecureChannelSecurityConnector::check_call_host ( absl::string_view  host,
grpc_auth_context auth_context,
grpc_closure on_call_host_checked,
grpc_error_handle error 
)
overridevirtual

Checks that the host that will be set for a call is acceptable.

Returns true if completed synchronously, in which case error will be set to indicate the result. Otherwise, on_call_host_checked will be invoked when complete.

Implements grpc_channel_security_connector.

◆ check_peer()

void grpc_core::InsecureChannelSecurityConnector::check_peer ( tsi_peer  peer,
grpc_endpoint ep,
grpc_core::RefCountedPtr< grpc_auth_context > *  auth_context,
grpc_closure on_peer_checked 
)
overridevirtual

◆ cmp()

int grpc_core::InsecureChannelSecurityConnector::cmp ( const grpc_security_connector other_sc) const
overridevirtual

The documentation for this class was generated from the following files: