Skip to main content

Module account_http

Module account_http 

Source
Expand description

Credential-free HTTP face for hosted-account identity artifacts (#1165).

The router in this module is intentionally a complete, small Axum router with no session, cookie, bearer, or authorization middleware. It serves immutable bytes loaded from sealed publication artifacts on a separately bound listener. The listener and TLS termination are deployment concerns; this module owns the routing and credential-free security contract.

Structs§

HostedAccountHttpArtifacts
A byte-stable set of artifacts for one hosted account.
MountedHostedAccountHttpDirectory
Live adapter that loads the immutable artifact bundle from the authorized PDS mount. The OAuth service identity is fixed at construction; callers cannot substitute a tenant or subject through an HTTP request.
StaticHostedAccountHttpDirectory
Immutable in-memory index suitable for a startup-loaded sealed artifact snapshot and for deterministic tests.

Constants§

DEFAULT_ACCOUNT_ZONE
Canonical hosted account zone used by the default deployment.

Traits§

HostedAccountHttpDirectory
Read-only account artifact index used by the credential-free router.

Functions§

router
Build the separate credential-free account-artifact router.