pub trait PdsClearanceSource: Send + Sync {
// Required method
fn clearance_for(
&self,
subject: &Subject,
verified_tenant: Option<&str>,
request_context: Option<&SecurityContext>,
) -> Option<SecurityContext>;
}Expand description
Resolve an authority-bound PDS reader to its verified MAC context.
The tenant input is derived by AccountRecordStore from the verified
envelope, or from the authority-owned hosted-account index entry while the
OAuth service resolves a DID. None must fail closed unless the
implementation explicitly recognizes the fixed OAuth service authority
performing root enumeration.