Module cedar_policy::frontend::is_authorized

source ·
Expand description

This module contains the json_is_authorized entry point that other language FFI’s can call in order to use Cedar functionality

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 Whole Number (zero or a positive int)