Functions
local_security_connector.h File Reference
#include <grpc/support/port_platform.h>
#include <grpc/grpc.h>
#include <grpc/grpc_security.h>
#include <grpc/impl/codegen/grpc_types.h>
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/security/security_connector/security_connector.h"
Include dependency graph for local_security_connector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

grpc_core::RefCountedPtr< grpc_channel_security_connectorgrpc_local_channel_security_connector_create (grpc_core::RefCountedPtr< grpc_channel_credentials > channel_creds, grpc_core::RefCountedPtr< grpc_call_credentials > request_metadata_creds, const grpc_channel_args *args, const char *target_name)
 
grpc_core::RefCountedPtr< grpc_server_security_connectorgrpc_local_server_security_connector_create (grpc_core::RefCountedPtr< grpc_server_credentials > server_creds)
 

Function Documentation

◆ grpc_local_channel_security_connector_create()

grpc_core::RefCountedPtr<grpc_channel_security_connector> grpc_local_channel_security_connector_create ( grpc_core::RefCountedPtr< grpc_channel_credentials channel_creds,
grpc_core::RefCountedPtr< grpc_call_credentials request_metadata_creds,
const grpc_channel_args args,
const char *  target_name 
)

This method creates a local channel security connector.

  • channel_creds: channel credential instance.
  • request_metadata_creds: credential object which will be sent with each request. This parameter can be nullptr.
  • target_name: the name of the endpoint that the channel is connecting to.
  • args: channel args passed from the caller.
  • sc: address of local channel security connector instance to be returned from the method.

It returns nullptr on failure.

Definition at line 266 of file local_security_connector.cc.

◆ grpc_local_server_security_connector_create()

grpc_core::RefCountedPtr<grpc_server_security_connector> grpc_local_server_security_connector_create ( grpc_core::RefCountedPtr< grpc_server_credentials server_creds)

This method creates a local server security connector.

  • server_creds: server credential instance.
  • sc: address of local server security connector instance to be returned from the method.

It returns nullptr on failure.

Definition at line 298 of file local_security_connector.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:22