Skip to main content

FederatedDidDocumentResolver

Trait FederatedDidDocumentResolver 

Source
pub trait FederatedDidDocumentResolver: Send + Sync {
    // Required method
    fn resolve_federated_document<'life0, 'life1, 'async_trait>(
        &'life0 self,
        did: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Injectable document-resolution boundary for federation intake.

Required Methods§

Source

fn resolve_federated_document<'life0, 'life1, 'async_trait>( &'life0 self, did: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Resolve a supported foreign DID to its subject-bound document.

Implementors§