#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"
Go to the source code of this file.
Functions | |
grpc_channel_credentials * | grpc_local_credentials_create (grpc_local_connect_type connect_type) |
grpc_server_credentials * | grpc_local_server_credentials_create (grpc_local_connect_type connect_type) |
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.
It returns the created local channel credential object.
Definition at line 60 of file local_credentials.cc.
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.
It returns the created local server credential object.
Definition at line 69 of file local_credentials.cc.