cedar_policy::ffi

Function is_authorized_json_str

Source
pub fn is_authorized_json_str(json: &str) -> Result<String, Error>
Expand description

Input and output are strings containing serialized JSON, in the shapes expected by is_authorized_json()

ยงErrors

Will return Err if the input cannot be converted to valid JSON or deserialized as an AuthorizationCall.