Skip to main content

Module pds_handlers

Module pds_handlers 

Source
Expand description

Home PDS attachment client (issue #318).

A host has exactly one home PDS. Attachment uses the PDS’s OAuth 2.1 RFC 8628 device-authorization endpoint and sender-binds the resulting credential to the host’s iroh transport identity with RFC 9449 DPoP. The credential is stored in the configured secrets directory, never in the regular configuration file.

Structs§

HomePdsAttachment
Persisted PDS-scoped OAuth credential for this host.

Functions§

handle_pds_join
Attach this host to pds_url using RFC 8628.