ores.iam.api

Table of Contents

1. Diagram

ores.iam.api component diagram

Figure 1: ores.iam.api

2. Summary

ores.iam.api is the shared contract library for the IAM domain. It provides domain types for accounts, roles, tenants, parties, and session tokens, together with JSON and table I/O via rfl, and the NATS message protocol schemas for the 0x2000–0x2FFF range consumed by both ores.iam.core (server) and client components. It is a compiled library, not header-only: src/ builds the domain tables, JSON I/O, generators, and the session auth service.

3. Inputs

  • Domain entity type definitions (account.hpp, account_role.hpp, account_party.hpp, etc.).
  • NATS protocol message definitions.

4. Outputs

  • C++ headers for all IAM domain types with JSON and table I/O variants.
  • NATS protocol headers for account management, authentication, and session operations.

5. Entry points

  • include/ores.iam.api/domain/ — all domain entity headers.
  • include/ores.iam.api/messaging/ — NATS protocol message headers.

6. Dependencies

  • rfl — JSON serialisation via reflection.
  • fort — formatted table rendering.

7. See also

Emacs 29.3 (Org mode 9.6.15)