Skip to main content

handle_pds_join

Function handle_pds_join 

Source
pub async fn handle_pds_join(
    config: &HyprConfig,
    pds_url: &str,
    scope: Option<&str>,
) -> Result<()>
Expand description

Attach this host to pds_url using RFC 8628.

The PDS URL must be an HTTPS origin (except loopback HTTP for local test deployments). Before any network request, this checks the local secret store so a host can never accidentally acquire credentials from two homes.