Skip to main content

accept_repo_authority

Function accept_repo_authority 

Source
pub fn accept_repo_authority(did: &str) -> Result<RepoAuthority>
Expand description

Classify did as an accepted repo authority for our PDS, or reject it.

Accepts did:web, did:plc, and did:at9p; every other DID method is rejected. The did:at9p arm is what this issue (#908) adds — the classical methods were already implicitly accepted by the commit layer, which never method-checked its did.