master-zapier-plan-draft/docs/modules/verae-access-authz/server.md
George Lambert 1b199ca4d4
Some checks are pending
offline / test (push) Waiting to run
Separate Zapier, web, API, and leaf access planes with NATS authz
Zapier is one ingress. Direct web, customer API, and S2S leaf nodes are their own services. Every hop to an internal subject must pass verae.access.authz.check (default deny by plane).
2026-09-11 16:05:05 -04:00

1.6 KiB
Raw Blame History

verae-access-authz/server

Package: verae-access-authz
Source: packages/verae-access-authz/src/server.js
Lines: 84

What this module is

Implementation module in verae-access-authz. The tables below are extracted from the source (signatures + JSDoc).

Exports

No named export / module.exports keys detected.

Types / interfaces / classes

None extracted.

Functions

Name Parameters Param types (JSDoc) Returns Calls (same file / helpers)
startNats (none) unknown see Call graph
readBody req unknown see Call graph
json code, obj unknown see Call graph

What it imports / requires

  • node:http
  • ./policy.js
  • ./subjects.js

Call graph (identifiers invoked)

startNats, import, connect, split, subscribe, async, parse, decode, authorize, publish, encode, stringify, toISOString, respond, write, readBody, on, push, resolve, concat, toString, createServer, writeHead, end, json, listen

Each identifier is a call site in this file. Follow the import list to see the defining module; open that modules MD for parameter and return types.

Return values (how to read this)

  • HTTP route handlers return Express res.json(...) bodies (see route docs).
  • Zapier perform functions return a single object (creates) or an array (triggers/searches).
  • Pricing functions return integer cents on Quote.totalCents.