Functions
local_credentials.cc File Reference
#include <grpc/support/port_platform.h>
#include "src/core/lib/security/credentials/local/local_credentials.h"
#include <utility>
#include "absl/strings/string_view.h"
#include <grpc/grpc.h>
#include "src/core/lib/security/security_connector/local/local_security_connector.h"
Include dependency graph for local_credentials.cc:

Go to the source code of this file.

Functions

grpc_channel_credentialsgrpc_local_credentials_create (grpc_local_connect_type connect_type)
 
grpc_server_credentialsgrpc_local_server_credentials_create (grpc_local_connect_type connect_type)
 

Function Documentation

◆ grpc_local_credentials_create()

grpc_channel_credentials* grpc_local_credentials_create ( grpc_local_connect_type  type)

— Local channel/server credentials — This method creates a local channel credential object. The security level of the resulting connection is GRPC_PRIVACY_AND_INTEGRITY for UDS and GRPC_SECURITY_NONE for LOCAL_TCP. It is used for experimental purpose for now and subject to change.

  • type: local connection type

It returns the created local channel credential object.

Definition at line 60 of file local_credentials.cc.

◆ grpc_local_server_credentials_create()

grpc_server_credentials* grpc_local_server_credentials_create ( grpc_local_connect_type  type)

This method creates a local server credential object. It is used for experimental purpose for now and subject to change.

  • type: local connection type

It returns the created local server credential object.

Definition at line 69 of file local_credentials.cc.



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