cedar_policy::ffi

Function validate

Source
pub fn validate(call: ValidationCall) -> ValidationAnswer
Expand description

Parse a policy set and optionally validate it against a provided schema

This is the basic validator interface, using ValidationCall and ValidationAnswer types