Darien Raymond 9 years ago
parent
commit
13dde1799d
1 changed files with 3 additions and 1 deletions
  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"`
 }