Skip to main content

bind_org

Function bind_org 

Source
pub fn bind_org(
    resolver: &dyn TxtResolver,
    domain: &str,
    mode: InboundMode,
) -> Result<(String, WireOrgTxtRecord)>
Expand description

Resolve a domain’s org_did and pin a per-org inbound policy for it (RFC-001 §2 floor). Returns the bound org_did + the resolved record.

Rejects a record that binds a personal-tier operator DID (did:wire:op:…): wire org bind is the organization floor; a personal domain is a different (single-operator) relationship.