19 #ifndef GRPC_CORE_LIB_SECURITY_SECURITY_CONNECTOR_INSECURE_INSECURE_SECURITY_CONNECTOR_H
20 #define GRPC_CORE_LIB_SECURITY_SECURITY_CONNECTOR_INSECURE_INSECURE_SECURITY_CONNECTOR_H
Definition: security_connector.h:94
const grpc_call_credentials * request_metadata_creds() const
Definition: security_connector.h:128
const grpc_channel_credentials * channel_creds() const
Definition: security_connector.h:122
Definition: handshaker.h:92
Definition: insecure_security_connector.h:39
InsecureChannelSecurityConnector(grpc_core::RefCountedPtr< grpc_channel_credentials > channel_creds, grpc_core::RefCountedPtr< grpc_call_credentials > request_metadata_creds)
Definition: insecure_security_connector.h:41
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...
Definition: insecure_security_connector.cc:60
void check_peer(tsi_peer peer, grpc_endpoint *ep, grpc_core::RefCountedPtr< grpc_auth_context > *auth_context, grpc_closure *on_peer_checked) override
Definition: insecure_security_connector.cc:78
int cmp(const grpc_security_connector *other_sc) const override
Definition: insecure_security_connector.cc:87
void cancel_check_peer(grpc_closure *, grpc_error_handle error) override
Definition: insecure_security_connector.h:63
void add_handshakers(const grpc_channel_args *args, grpc_pollset_set *, grpc_core::HandshakeManager *handshake_manager) override
Registers handshakers with handshake_mgr.
Definition: insecure_security_connector.cc:68
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.
Definition: insecure_security_connector.cc:53
Definition: insecure_security_connector.h:71
void check_peer(tsi_peer peer, grpc_endpoint *ep, grpc_core::RefCountedPtr< grpc_auth_context > *auth_context, grpc_closure *on_peer_checked) override
Definition: insecure_security_connector.cc:106
InsecureServerSecurityConnector(grpc_core::RefCountedPtr< grpc_server_credentials > server_creds)
Definition: insecure_security_connector.h:73
void add_handshakers(const grpc_channel_args *args, grpc_pollset_set *, grpc_core::HandshakeManager *handshake_manager) override
Definition: insecure_security_connector.cc:96
void cancel_check_peer(grpc_closure *, grpc_error_handle error) override
Definition: insecure_security_connector.h:86
int cmp(const grpc_security_connector *other) const override
Definition: insecure_security_connector.cc:115
Definition: security_connector.h:48
Definition: security_connector.h:156
const grpc_server_credentials * server_creds() const
Definition: security_connector.h:167
#define GRPC_ERROR_UNREF(err)
Definition: error.h:254
grpc_error_handle error
Definition: lame_client.cc:54
Round Robin Policy.
Definition: backend_metric.cc:26
RefCountedPtr< grpc_auth_context > TestOnlyMakeInsecureAuthContext()
Definition: insecure_security_connector.cc:47
const char kInsecureTransportSecurityType[]
Definition: insecure_security_connector.cc:29
struct grpc_pollset_set grpc_pollset_set
Definition: pollset_set.h:31
Definition: security_context.h:51
An array of arguments that can be passed around.
Definition: grpc_types.h:132
A closure over a grpc_iomgr_cb_func.
Definition: closure.h:56
Definition: endpoint.h:106
Definition: error_internal.h:41
Definition: transport_security_interface.h:216