Skip to main content

Module hosted_account_mint

Module hosted_account_mint 

Source
Expand description

Authority-bound hosted PDS account minting.

The client request carries only a requested handle. The deployment authority allocates both the permanent host-form DID and the local tenant; neither value can be asserted in the registration payload. A successful mint publishes one coherent bundle containing the account record, sealed DID document, genesis operation-log entry, empty MST, signed repo commit, and account-specific #atproto signing key.

This module performs no federation intake or resolver network I/O. A later registration/RPC adapter that invokes did:web intake must authenticate and rate-limit the caller and constrain the resolvable host set before the first resolver call. Unauthenticated intake is forbidden.

Structs§

AuthorityHostedAccountBinding
One authority-owned allocation of a local tenant and permanent DID.
HostedAccountRegistrationRequest
Client-controlled portion of hosted-account registration.
HostedAccountRegistrationResult
Exact registration result consumed by the browser-facing API.
HostedPdsAccountMinter
Hosted-account mint service used by the later registration API.
HostedPdsAccountPublication
Borrowed, already-verified publication generation.
LiveHostedPdsDiscovery
One live discovery read used atomically for both mint input and response.

Traits§

HostedAccountAuthority
Deployment authority that allocates local tenant bindings.
HostedAccountGenesisSigner
Request-scoped signer for the user-held priority-zero Hybrid rotation key.
HostedPdsAccountPublisher
Durable publication boundary for hosted PDS account generations.
HostedPdsDiscovery
Resolver for the currently served PDS and QUIC discovery metadata.