pub trait DidDocumentProvider: Send + Sync {
// Required method
fn document(&self, did: &str) -> Result<Value>;
}Expand description
A synchronous DID-document provider for the did:web arm.
Abstracted so the resolver’s decode/assurance core is testable with an injected fixture (no network). Enrollment is off the auth path, so a blocking implementation is acceptable; the trait keeps that policy out of the resolver.