...
1syntax = "proto3";
2
3package envoy.service.auth.v2alpha;
4
5option java_multiple_files = true;
6option java_generic_services = true;
7option java_outer_classname = "CertsProto";
8option java_package = "io.envoyproxy.envoy.service.auth.v2alpha";
9option go_package = "github.com/envoyproxy/go-control-plane/envoy/service/auth/v2alpha";
10
11import "envoy/service/auth/v2/external_auth.proto";
12
13// [#protodoc-title: Authorization Service ]
14
15// The authorization service request messages used by external authorization :ref:`network filter
16// <config_network_filters_ext_authz>` and :ref:`HTTP filter <config_http_filters_ext_authz>`.
17
18// A generic interface for performing authorization check on incoming
19// requests to a networked service.
20service Authorization {
21 // Performs authorization check based on the attributes associated with the
22 // incoming request, and returns status `OK` or not `OK`.
23 rpc Check(v2.CheckRequest) returns (v2.CheckResponse);
24}
View as plain text