build_did_document
A function in fastatp.did.document (source).
build_did_document(
did: str,
signing_key: PublicKey,
*,
fragment: str = 'atproto',
also_known_as: list[str] | None = None,
rotation_keys: list[str] | None = None,
pds_endpoint: str | None = None,
extra_services: list[Service] | None = None,
) -> DIDDocument
Construct a valid atproto-shaped DID document.
The caller stores and serves the result; FastATP only builds it.
rotationKeys / alsoKnownAs default to empty (v0.1 placeholders,
forward-compatible fields).