Darien Raymond 9 年之前
父节点
当前提交
13dde1799d
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      transport/internet/authenticators/http/config.pb.go

+ 3 - 1
transport/internet/authenticators/http/config.pb.go

@@ -147,7 +147,9 @@ func (m *ResponseConfig) GetHeader() []*Header {
 }
 
 type Config struct {
-	Request  *RequestConfig  `protobuf:"bytes,1,opt,name=request" json:"request,omitempty"`
+	// Settings for authenticating requests. If not set, client side will not send authenication header, and server side will bypass authentication.
+	Request *RequestConfig `protobuf:"bytes,1,opt,name=request" json:"request,omitempty"`
+	// Settings for authenticating responses. If not set, client side will bypass authentication, and server side will not send authentication header.
 	Response *ResponseConfig `protobuf:"bytes,2,opt,name=response" json:"response,omitempty"`
 }