...

Text file src/github.com/datawire/ambassador/v2/api/envoy/service/auth/v2alpha/external_auth.proto

Documentation: github.com/datawire/ambassador/v2/api/envoy/service/auth/v2alpha

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

View as plain text