Module cedar_policy::frontend::is_authorized

source ·
👎Deprecated since 3.2.0: Use the functions in the ffi module instead
Expand 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 version of Diagnostics that stores error messages as strings for simpler (de)serialization
  • InterfaceResidualResponseDeprecatedpartial-eval
    Integration version of a PartialResponse that uses InterfaceDiagnistics for simpler (de)serialization
  • Interface version of a Response that uses InterfaceDiagnostics for simpler (de)serialization

Enums§

  • Error returned for duplicate link ids in a template instantiation

Functions§

  • 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)
  • json_is_authorized_partialDeprecatedpartial-eval
    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)