aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc/grpc_security_constants.h
diff options
context:
space:
mode:
authorGravatar Yihua Zhang <yihuaz@google.com>2018-07-24 12:00:49 -0700
committerGravatar Yihua Zhang <yihuaz@google.com>2018-07-24 12:00:49 -0700
commitacc6ba0c2456d51fef133008ec9a3aac1451d521 (patch)
tree07ef9647239eb1f35231f5d392ca2b31c6e4c2f1 /include/grpc/grpc_security_constants.h
parentaf1edd806ec5f4b7ad8c34a98515614be55d10c3 (diff)
Add C++ wrapper for local credentials
Diffstat (limited to 'include/grpc/grpc_security_constants.h')
-rw-r--r--include/grpc/grpc_security_constants.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/grpc/grpc_security_constants.h b/include/grpc/grpc_security_constants.h
index 92580ea35e..944a1e927f 100644
--- a/include/grpc/grpc_security_constants.h
+++ b/include/grpc/grpc_security_constants.h
@@ -100,6 +100,12 @@ typedef enum {
GRPC_SSL_REQUEST_AND_REQUIRE_CLIENT_CERTIFICATE_AND_VERIFY
} grpc_ssl_client_certificate_request_type;
+/**
+ * Type of local connection for which local channel/server credentials will be
+ * applied. It only supports UDS for now.
+ */
+typedef enum { UDS = 0 } grpc_local_connect_type;
+
#ifdef __cplusplus
}
#endif