Developer Documentation
This section documents the public extension surfaces of the current Nauthilus development line and the data that Nauthilus stores. It complements the operator-oriented configuration guides and the generated HTTP API reference.
Native Go plugins
Nauthilus 3.1 introduces a public, versioned contract for trusted in-process Go plugins. The documentation is organized into four layers:
- Native Go plugins explains the model and provides a learning path.
- Configure native Go plugins covers loading, verification, capabilities, discovery, and restart behavior for operators.
- Reference plugins explains every plugin shipped under
contrib/plugins. - Go plugin API reference describes every exported declaration in
pluginapi/v1and its public subpackages.
Native plugins are not sandboxed. A loaded .so runs inside the Nauthilus process and has the same operating-system privileges as the server. Artifact provenance, code review, resource bounds, and secret-safe behavior are part of the plugin's security boundary.
Data stores
Two references describe what Nauthilus stores and which code owns it:
- Redis Keyspace Reference lists every Redis key, its type, lifetime, owning code, and purpose, followed by the Redis Lua scripts and the Redis use that is not tied to a key.
- ClickHouse Data Model Reference lists the ClickHouse tables and the view, which component fills each column, the access model of the read-only reader, and the schema migrations.
The Data Stores overview explains how to use them.
Server internals
Server Internals collects developer notes on parts of the server that are easy to break and hard to see from the outside: the CSRF middleware, the IdP MFA flow, the browser session contract, the invalidation of cached identity state after MFA writes, and the backchannel authentication state machine.
Other APIs
- Lua API documents the embedded Lua extension surface.
- HTTP API reference is generated from the Management and IdP OpenAPI contracts.
- REST API guide explains authentication endpoints and management operations narratively.
- gRPC API covers authority and distributed identity-backend integrations.
The native Go plugin API is independent of the HTTP and gRPC wire APIs. A plugin uses Go value types and host-provided interfaces inside the server process; an external integration uses a versioned network contract.