Function cedar_policy::frontend::is_authorized::json_is_authorized_partial
source · pub fn json_is_authorized_partial(input: &str) -> InterfaceResult
👎Deprecated since 3.2.0: Use the functions in the
ffi
module insteadAvailable on crate feature
partial-eval
only.Expand description
public string-based JSON interfaced to be invoked by FFIs. In the policies portion of
the RecvdSlice
, you can either pass a Map<String, String>
where the values are all single policies,
or a single String which is a concatenation of multiple policies. If you choose the latter,
policy id’s will be auto-generated for you in the format policyX
where X is a Natural Number (zero or a positive int)
This feature is experimental. For more information see https://github.com/cedar-policy/rfcs/blob/main/README.md#experimental-features