Skip to main content

execute_with_capability

Function execute_with_capability 

Source
pub async fn execute_with_capability(
    engine: &MnemoEngine,
    request: RememberRequest,
    capability: &Capability,
) -> Result<RememberResponse>
Expand description

REMEMBER authorised by a verifiable Capability. The capability is verified against the engine’s issuer before the write, and its id is recorded in the write provenance (the principal comes from the capability, not created_by).