Documentation

Cedar.TPE.BatchedEvaluator

@[reducible, inline]

Loads everything requested by the set of entity ids, returning Option.none for missing entities. Loading more entities than requested is okay. See EntityLoader.WellBehaved for a formal definition.

Equations
Instances For

    The batched evaluation loop for a single residual expression.

    1. Asks for any new entities referenced by the residual
    2. Partially evaluates now that new entities are loaded
    3. Exits if a value has been found or it hits the maximum iteration limit
    Equations
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        Evaluate a single cedar expression using an EntityLoader instead of a full Entities store. Performs a maximum of iter number of calls to loader, but may perform fewer when a value is found.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          The batched authorization loop for authorization over a list of policies.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            Evaluate an authorization request using an EntityLoader instead of a full Entities store.

            Performs a maximum of iter number of calls to loader, but may perform fewer when an authorization decision is reached early.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              Create an entity loader for a given entity store. This is used for testing.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For