Function cedar_policy::ffi::is_authorized_json

source ·
pub fn is_authorized_json(json: Value) -> Result<Value, Error>
Expand description

Input is a JSON encoding of AuthorizationCall and output is a JSON encoding of AuthorizationAnswer

§Errors

Will return Err if the input JSON cannot be deserialized as an AuthorizationCall.