ores.iam.client

Table of Contents

Diagram

ores.iam.client component diagram

Figure 1: ores.iam.client

Summary

ores.iam.client is a lightweight client-side library that manages IAM session state for Qt components and other service consumers. It provides a service_token_provider that holds an authenticated session token, handles token renewal, and supplies the token to outgoing NATS requests. It abstracts the IAM authentication protocol so consumers do not need to implement the login flow directly.

Inputs

  • NATS connection and configuration from the host application.
  • Authentication credentials (account/password or token) from the caller.

Outputs

  • A valid session token injected into outgoing NATS request headers.
  • Token-renewal events when sessions approach expiry.

Entry points

  • include/ores.iam.client/client/service_token_provider.hpp — token management and renewal entry point.

Dependencies

  • ores.iam.api — shared domain types and NATS protocol schemas.
  • nats.c — NATS messaging client.

See also

Emacs 29.1 (Org mode 9.6.6)