Module cedar_policy::frontend::is_authorized
source · 👎Deprecated since 3.2.0: Use the functions in the
ffi
module insteadExpand description
This module contains the json_is_authorized
entry point that other language
FFI’s can call in order to use Cedar functionality
Structs§
- Interface
Diagnostics Deprecated Interface version ofDiagnostics
that stores error messages as strings for simpler (de)serialization - Interface
Residual Response Deprecated partial-eval
Integration version of aPartialResponse
that usesInterfaceDiagnistics
for simpler (de)serialization - Interface
Response Deprecated Interface version of aResponse
that usesInterfaceDiagnostics
for simpler (de)serialization
Enums§
- Duplicate
Link Error Deprecated Error returned for duplicate link ids in a template instantiation
Functions§
- json_
is_ authorized Deprecated public string-based JSON interfaced to be invoked by FFIs. In the policies portion of theRecvdSlice
, you can either pass aMap<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 formatpolicyX
where X is a Natural Number (zero or a positive int) - json_
is_ authorized_ partial Deprecated partial-eval
public string-based JSON interfaced to be invoked by FFIs. In the policies portion of theRecvdSlice
, you can either pass aMap<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 formatpolicyX
where X is a Natural Number (zero or a positive int)