OBJECT

Authorizer

Authorizer is a graph primitive used for authorizing inbound requests and/or responses(see AuthTarget)

link GraphQL Schema definition

  • type Authorizer {
  • # name is the unique name of the authorizer in the graph
  • name: String!
  • # method is the rpc method that will invoke the authorizer
  • method: String!
  • # expression is the boolean CEL expression that evaluates either the request or
  • # response body
  • expression: String!
  • # target_responses sets the authorizer to evaluate request bodies of the target
  • # grpc method
  • target_requests: Boolean!
  • # target_responses sets the authorizer to evaluate response bodies of the target
  • # grpc method
  • target_responses: Boolean!
  • }