Module grpc

Source
Expand description

gRPC AccessEvaluation service.

Mirrors the HTTP /access/v1/evaluation endpoint so a PEP can pick its transport. Same Authorizer, same DecisionLog, same auth_layer — the gRPC handler delegates to the shared evaluation_request_to_agent helper to keep principal/action/ resource semantics identical across transports.

Structs§

AccessEvaluationService
The service implementation. Cheap to clone (internally Arc).

Constants§

MAX_GRPC_REQUEST_BYTES
Keep the protobuf transport’s request budget aligned with the HTTP interface. The limit applies before protobuf decoding at the server.

Functions§

service
Return the tonic-wrapped service ready to mount on a Server.