Authorization Service

The authorization service request messages used by external authorization network filter and HTTP filter.

service.auth.v2alpha.CheckRequest

[service.auth.v2alpha.CheckRequest proto]

{
  "attributes": "{...}"
}
attributes
(service.auth.v2alpha.AttributeContext) The request attributes.

service.auth.v2alpha.CheckResponse

[service.auth.v2alpha.CheckResponse proto]

{
  "status": "{...}"
}
status
(Status) Status OK allows the request. Any other status indicates the request should be denied.

service.auth.v2alpha.CheckResponse.HttpResponse

[service.auth.v2alpha.CheckResponse.HttpResponse proto]

An optional message that contains HTTP response attributes. This message is used when the authorization service needs to send custom responses to the downstream client or, to modify/add request headers being dispatched to the upstream.

{
  "status_code": "...",
  "headers": "{...}",
  "body": "..."
}
status_code
(uint32) Http status code.
headers
(map<string, string>) Http entity headers.
body
(string) Http entity body.