Debian Codegraph @

envoy/service/auth/v2/external_auth.pb.go

raw
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.30.0
4 // protoc v5.29.1
5 // source: envoy/service/auth/v2/external_auth.proto
6
7 package authv2
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 core "github.com/envoyproxy/go-control-plane/envoy/api/v2/core"
12 _type "github.com/envoyproxy/go-control-plane/envoy/type"
13 _ "github.com/envoyproxy/protoc-gen-validate/validate"
14 status "google.golang.org/genproto/googleapis/rpc/status"
15 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
16 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
17 reflect "reflect"
18 sync "sync"
19 )
20
21 const (
22 // Verify that this generated code is sufficiently up-to-date.
23 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
24 // Verify that runtime/protoimpl is sufficiently up-to-date.
25 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
26 )
27
28 type CheckRequest struct {
29 state protoimpl.MessageState
30 sizeCache protoimpl.SizeCache
31 unknownFields protoimpl.UnknownFields
32
33 // The request attributes.
34 Attributes *AttributeContext `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"`
35 }
36
37 func (x *CheckRequest) Reset() {
38 *x = CheckRequest{}
39 if protoimpl.UnsafeEnabled {
40 mi := &file_envoy_service_auth_v2_external_auth_proto_msgTypes[0]
41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
42 ms.StoreMessageInfo(mi)
43 }
44 }
45
46 func (x *CheckRequest) String() string {
47 return protoimpl.X.MessageStringOf(x)
48 }
49
50 func (*CheckRequest) ProtoMessage() {}
51
52 func (x *CheckRequest) ProtoReflect() protoreflect.Message {
53 mi := &file_envoy_service_auth_v2_external_auth_proto_msgTypes[0]
54 if protoimpl.UnsafeEnabled && x != nil {
55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56 if ms.LoadMessageInfo() == nil {
57 ms.StoreMessageInfo(mi)
58 }
59 return ms
60 }
61 return mi.MessageOf(x)
62 }
63
64 // Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead.
65 func (*CheckRequest) Descriptor() ([]byte, []int) {
66 return file_envoy_service_auth_v2_external_auth_proto_rawDescGZIP(), []int{0}
67 }
68
69 func (x *CheckRequest) GetAttributes() *AttributeContext {
70 if x != nil {
71 return x.Attributes
72 }
73 return nil
74 }
75
76 // HTTP attributes for a denied response.
77 type DeniedHttpResponse struct {
78 state protoimpl.MessageState
79 sizeCache protoimpl.SizeCache
80 unknownFields protoimpl.UnknownFields
81
82 // This field allows the authorization service to send a HTTP response status
83 // code to the downstream client other than 403 (Forbidden).
84 Status *_type.HttpStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
85 // This field allows the authorization service to send HTTP response headers
86 // to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to
87 // false when used in this message.
88 Headers []*core.HeaderValueOption `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty"`
89 // This field allows the authorization service to send a response body data
90 // to the downstream client.
91 Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
92 }
93
94 func (x *DeniedHttpResponse) Reset() {
95 *x = DeniedHttpResponse{}
96 if protoimpl.UnsafeEnabled {
97 mi := &file_envoy_service_auth_v2_external_auth_proto_msgTypes[1]
98 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
99 ms.StoreMessageInfo(mi)
100 }
101 }
102
103 func (x *DeniedHttpResponse) String() string {
104 return protoimpl.X.MessageStringOf(x)
105 }
106
107 func (*DeniedHttpResponse) ProtoMessage() {}
108
109 func (x *DeniedHttpResponse) ProtoReflect() protoreflect.Message {
110 mi := &file_envoy_service_auth_v2_external_auth_proto_msgTypes[1]
111 if protoimpl.UnsafeEnabled && x != nil {
112 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
113 if ms.LoadMessageInfo() == nil {
114 ms.StoreMessageInfo(mi)
115 }
116 return ms
117 }
118 return mi.MessageOf(x)
119 }
120
121 // Deprecated: Use DeniedHttpResponse.ProtoReflect.Descriptor instead.
122 func (*DeniedHttpResponse) Descriptor() ([]byte, []int) {
123 return file_envoy_service_auth_v2_external_auth_proto_rawDescGZIP(), []int{1}
124 }
125
126 func (x *DeniedHttpResponse) GetStatus() *_type.HttpStatus {
127 if x != nil {
128 return x.Status
129 }
130 return nil
131 }
132
133 func (x *DeniedHttpResponse) GetHeaders() []*core.HeaderValueOption {
134 if x != nil {
135 return x.Headers
136 }
137 return nil
138 }
139
140 func (x *DeniedHttpResponse) GetBody() string {
141 if x != nil {
142 return x.Body
143 }
144 return ""
145 }
146
147 // HTTP attributes for an ok response.
148 type OkHttpResponse struct {
149 state protoimpl.MessageState
150 sizeCache protoimpl.SizeCache
151 unknownFields protoimpl.UnknownFields
152
153 // HTTP entity headers in addition to the original request headers. This allows the authorization
154 // service to append, to add or to override headers from the original request before
155 // dispatching it to the upstream. Note that the `append` field in `HeaderValueOption` defaults to
156 // false when used in this message. By setting the `append` field to `true`,
157 // the filter will append the correspondent header value to the matched request header.
158 // By leaving `append` as false, the filter will either add a new header, or override an existing
159 // one if there is a match.
160 Headers []*core.HeaderValueOption `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty"`
161 }
162
163 func (x *OkHttpResponse) Reset() {
164 *x = OkHttpResponse{}
165 if protoimpl.UnsafeEnabled {
166 mi := &file_envoy_service_auth_v2_external_auth_proto_msgTypes[2]
167 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
168 ms.StoreMessageInfo(mi)
169 }
170 }
171
172 func (x *OkHttpResponse) String() string {
173 return protoimpl.X.MessageStringOf(x)
174 }
175
176 func (*OkHttpResponse) ProtoMessage() {}
177
178 func (x *OkHttpResponse) ProtoReflect() protoreflect.Message {
179 mi := &file_envoy_service_auth_v2_external_auth_proto_msgTypes[2]
180 if protoimpl.UnsafeEnabled && x != nil {
181 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
182 if ms.LoadMessageInfo() == nil {
183 ms.StoreMessageInfo(mi)
184 }
185 return ms
186 }
187 return mi.MessageOf(x)
188 }
189
190 // Deprecated: Use OkHttpResponse.ProtoReflect.Descriptor instead.
191 func (*OkHttpResponse) Descriptor() ([]byte, []int) {
192 return file_envoy_service_auth_v2_external_auth_proto_rawDescGZIP(), []int{2}
193 }
194
195 func (x *OkHttpResponse) GetHeaders() []*core.HeaderValueOption {
196 if x != nil {
197 return x.Headers
198 }
199 return nil
200 }
201
202 // Intended for gRPC and Network Authorization servers `only`.
203 type CheckResponse struct {
204 state protoimpl.MessageState
205 sizeCache protoimpl.SizeCache
206 unknownFields protoimpl.UnknownFields
207
208 // Status `OK` allows the request. Any other status indicates the request should be denied.
209 Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
210 // An message that contains HTTP response attributes. This message is
211 // used when the authorization service needs to send custom responses to the
212 // downstream client or, to modify/add request headers being dispatched to the upstream.
213 //
214 // Types that are assignable to HttpResponse:
215 //
216 // *CheckResponse_DeniedResponse
217 // *CheckResponse_OkResponse
218 HttpResponse isCheckResponse_HttpResponse `protobuf_oneof:"http_response"`
219 }
220
221 func (x *CheckResponse) Reset() {
222 *x = CheckResponse{}
223 if protoimpl.UnsafeEnabled {
224 mi := &file_envoy_service_auth_v2_external_auth_proto_msgTypes[3]
225 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
226 ms.StoreMessageInfo(mi)
227 }
228 }
229
230 func (x *CheckResponse) String() string {
231 return protoimpl.X.MessageStringOf(x)
232 }
233
234 func (*CheckResponse) ProtoMessage() {}
235
236 func (x *CheckResponse) ProtoReflect() protoreflect.Message {
237 mi := &file_envoy_service_auth_v2_external_auth_proto_msgTypes[3]
238 if protoimpl.UnsafeEnabled && x != nil {
239 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
240 if ms.LoadMessageInfo() == nil {
241 ms.StoreMessageInfo(mi)
242 }
243 return ms
244 }
245 return mi.MessageOf(x)
246 }
247
248 // Deprecated: Use CheckResponse.ProtoReflect.Descriptor instead.
249 func (*CheckResponse) Descriptor() ([]byte, []int) {
250 return file_envoy_service_auth_v2_external_auth_proto_rawDescGZIP(), []int{3}
251 }
252
253 func (x *CheckResponse) GetStatus() *status.Status {
254 if x != nil {
255 return x.Status
256 }
257 return nil
258 }
259
260 func (m *CheckResponse) GetHttpResponse() isCheckResponse_HttpResponse {
261 if m != nil {
262 return m.HttpResponse
263 }
264 return nil
265 }
266
267 func (x *CheckResponse) GetDeniedResponse() *DeniedHttpResponse {
268 if x, ok := x.GetHttpResponse().(*CheckResponse_DeniedResponse); ok {
269 return x.DeniedResponse
270 }
271 return nil
272 }
273
274 func (x *CheckResponse) GetOkResponse() *OkHttpResponse {
275 if x, ok := x.GetHttpResponse().(*CheckResponse_OkResponse); ok {
276 return x.OkResponse
277 }
278 return nil
279 }
280
281 type isCheckResponse_HttpResponse interface {
282 isCheckResponse_HttpResponse()
283 }
284
285 type CheckResponse_DeniedResponse struct {
286 // Supplies http attributes for a denied response.
287 DeniedResponse *DeniedHttpResponse `protobuf:"bytes,2,opt,name=denied_response,json=deniedResponse,proto3,oneof"`
288 }
289
290 type CheckResponse_OkResponse struct {
291 // Supplies http attributes for an ok response.
292 OkResponse *OkHttpResponse `protobuf:"bytes,3,opt,name=ok_response,json=okResponse,proto3,oneof"`
293 }
294
295 func (*CheckResponse_DeniedResponse) isCheckResponse_HttpResponse() {}
296
297 func (*CheckResponse_OkResponse) isCheckResponse_HttpResponse() {}
298
299 var File_envoy_service_auth_v2_external_auth_proto protoreflect.FileDescriptor
300
301 var file_envoy_service_auth_v2_external_auth_proto_rawDesc = []byte{
302 0x0a, 0x29, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f,
303 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
304 0x5f, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x65, 0x6e, 0x76,
305 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e,
306 0x76, 0x32, 0x1a, 0x1c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32,
307 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
308 0x1a, 0x2d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f,
309 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
310 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
311 0x1c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x68, 0x74, 0x74, 0x70,
312 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67,
313 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
314 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e,
315 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e,
316 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f,
317 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57,
318 0x0a, 0x0c, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47,
319 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01,
320 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69,
321 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69,
322 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0a, 0x61, 0x74, 0x74,
323 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, 0xa2, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x6e, 0x69,
324 0x65, 0x64, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38,
325 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16,
326 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x48, 0x74, 0x74, 0x70,
327 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01,
328 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3e, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64,
329 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
330 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x48, 0x65,
331 0x61, 0x64, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52,
332 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79,
333 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x50, 0x0a, 0x0e,
334 0x4f, 0x6b, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e,
335 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
336 0x24, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63,
337 0x6f, 0x72, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f,
338 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x22, 0xec,
339 0x01, 0x0a, 0x0d, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
340 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
341 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74,
342 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x54, 0x0a, 0x0f,
343 0x64, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18,
344 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65,
345 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65,
346 0x6e, 0x69, 0x65, 0x64, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
347 0x48, 0x00, 0x52, 0x0e, 0x64, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
348 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0b, 0x6f, 0x6b, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
349 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
350 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x32, 0x2e,
351 0x4f, 0x6b, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00,
352 0x52, 0x0a, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x0f, 0x0a, 0x0d,
353 0x68, 0x74, 0x74, 0x70, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x65, 0x0a,
354 0x0d, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x54,
355 0x0a, 0x05, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x23, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
356 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x32, 0x2e,
357 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x65,
358 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74,
359 0x68, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
360 0x73, 0x65, 0x22, 0x00, 0x42, 0x87, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x0a,
361 0x23, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65,
362 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x75, 0x74,
363 0x68, 0x2e, 0x76, 0x32, 0x42, 0x11, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x41, 0x75,
364 0x74, 0x68, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x43, 0x67, 0x69, 0x74, 0x68, 0x75,
365 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79,
366 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e,
367 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f,
368 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x32, 0x3b, 0x61, 0x75, 0x74, 0x68, 0x76, 0x32, 0x62, 0x06,
369 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
370 }
371
372 var (
373 file_envoy_service_auth_v2_external_auth_proto_rawDescOnce sync.Once
374 file_envoy_service_auth_v2_external_auth_proto_rawDescData = file_envoy_service_auth_v2_external_auth_proto_rawDesc
375 )
376
377 func file_envoy_service_auth_v2_external_auth_proto_rawDescGZIP() []byte {
378 file_envoy_service_auth_v2_external_auth_proto_rawDescOnce.Do(func() {
379 file_envoy_service_auth_v2_external_auth_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_service_auth_v2_external_auth_proto_rawDescData)
380 })
381 return file_envoy_service_auth_v2_external_auth_proto_rawDescData
382 }
383
384 var file_envoy_service_auth_v2_external_auth_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
385 var file_envoy_service_auth_v2_external_auth_proto_goTypes = []interface{}{
386 (*CheckRequest)(nil), // 0: envoy.service.auth.v2.CheckRequest
387 (*DeniedHttpResponse)(nil), // 1: envoy.service.auth.v2.DeniedHttpResponse
388 (*OkHttpResponse)(nil), // 2: envoy.service.auth.v2.OkHttpResponse
389 (*CheckResponse)(nil), // 3: envoy.service.auth.v2.CheckResponse
390 (*AttributeContext)(nil), // 4: envoy.service.auth.v2.AttributeContext
391 (*_type.HttpStatus)(nil), // 5: envoy.type.HttpStatus
392 (*core.HeaderValueOption)(nil), // 6: envoy.api.v2.core.HeaderValueOption
393 (*status.Status)(nil), // 7: google.rpc.Status
394 }
395 var file_envoy_service_auth_v2_external_auth_proto_depIdxs = []int32{
396 4, // 0: envoy.service.auth.v2.CheckRequest.attributes:type_name -> envoy.service.auth.v2.AttributeContext
397 5, // 1: envoy.service.auth.v2.DeniedHttpResponse.status:type_name -> envoy.type.HttpStatus
398 6, // 2: envoy.service.auth.v2.DeniedHttpResponse.headers:type_name -> envoy.api.v2.core.HeaderValueOption
399 6, // 3: envoy.service.auth.v2.OkHttpResponse.headers:type_name -> envoy.api.v2.core.HeaderValueOption
400 7, // 4: envoy.service.auth.v2.CheckResponse.status:type_name -> google.rpc.Status
401 1, // 5: envoy.service.auth.v2.CheckResponse.denied_response:type_name -> envoy.service.auth.v2.DeniedHttpResponse
402 2, // 6: envoy.service.auth.v2.CheckResponse.ok_response:type_name -> envoy.service.auth.v2.OkHttpResponse
403 0, // 7: envoy.service.auth.v2.Authorization.Check:input_type -> envoy.service.auth.v2.CheckRequest
404 3, // 8: envoy.service.auth.v2.Authorization.Check:output_type -> envoy.service.auth.v2.CheckResponse
405 8, // [8:9] is the sub-list for method output_type
406 7, // [7:8] is the sub-list for method input_type
407 7, // [7:7] is the sub-list for extension type_name
408 7, // [7:7] is the sub-list for extension extendee
409 0, // [0:7] is the sub-list for field type_name
410 }
411
412 func init() { file_envoy_service_auth_v2_external_auth_proto_init() }
413 func file_envoy_service_auth_v2_external_auth_proto_init() {
414 if File_envoy_service_auth_v2_external_auth_proto != nil {
415 return
416 }
417 file_envoy_service_auth_v2_attribute_context_proto_init()
418 if !protoimpl.UnsafeEnabled {
419 file_envoy_service_auth_v2_external_auth_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
420 switch v := v.(*CheckRequest); i {
421 case 0:
422 return &v.state
423 case 1:
424 return &v.sizeCache
425 case 2:
426 return &v.unknownFields
427 default:
428 return nil
429 }
430 }
431 file_envoy_service_auth_v2_external_auth_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
432 switch v := v.(*DeniedHttpResponse); i {
433 case 0:
434 return &v.state
435 case 1:
436 return &v.sizeCache
437 case 2:
438 return &v.unknownFields
439 default:
440 return nil
441 }
442 }
443 file_envoy_service_auth_v2_external_auth_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
444 switch v := v.(*OkHttpResponse); i {
445 case 0:
446 return &v.state
447 case 1:
448 return &v.sizeCache
449 case 2:
450 return &v.unknownFields
451 default:
452 return nil
453 }
454 }
455 file_envoy_service_auth_v2_external_auth_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
456 switch v := v.(*CheckResponse); i {
457 case 0:
458 return &v.state
459 case 1:
460 return &v.sizeCache
461 case 2:
462 return &v.unknownFields
463 default:
464 return nil
465 }
466 }
467 }
468 file_envoy_service_auth_v2_external_auth_proto_msgTypes[3].OneofWrappers = []interface{}{
469 (*CheckResponse_DeniedResponse)(nil),
470 (*CheckResponse_OkResponse)(nil),
471 }
472 type x struct{}
473 out := protoimpl.TypeBuilder{
474 File: protoimpl.DescBuilder{
475 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
476 RawDescriptor: file_envoy_service_auth_v2_external_auth_proto_rawDesc,
477 NumEnums: 0,
478 NumMessages: 4,
479 NumExtensions: 0,
480 NumServices: 1,
481 },
482 GoTypes: file_envoy_service_auth_v2_external_auth_proto_goTypes,
483 DependencyIndexes: file_envoy_service_auth_v2_external_auth_proto_depIdxs,
484 MessageInfos: file_envoy_service_auth_v2_external_auth_proto_msgTypes,
485 }.Build()
486 File_envoy_service_auth_v2_external_auth_proto = out.File
487 file_envoy_service_auth_v2_external_auth_proto_rawDesc = nil
488 file_envoy_service_auth_v2_external_auth_proto_goTypes = nil
489 file_envoy_service_auth_v2_external_auth_proto_depIdxs = nil
490 }