Skip to main content

scope_with_subject

Function scope_with_subject 

Source
pub async fn scope_with_subject<F: Future>(
    actor: Option<String>,
    subject: Option<String>,
    fut: F,
) -> F::Output
Expand description

Run fut with both the authenticated actor and the client’s asserted subject in scope.