Function build_request_entities

Source
pub fn build_request_entities(items: &[Value]) -> Result<Entities, String>
Expand description

Build a cedar_policy::Entities from the request’s entities array. Per-request entities are typical for AuthZEN (each PEP sends the entities relevant to its call); a future enhancement can layer shared/static entities on top.