Skip to main content

TenantContextResolver

Trait TenantContextResolver 

Source
pub trait TenantContextResolver: Send + Sync {
    // Required method
    fn resolve_tenant_context(
        &self,
        org_id: Option<&str>,
        workspace_id: Option<&str>,
        actor_id: Option<&str>,
    ) -> TenantContext;
}

Required Methods§

Source

fn resolve_tenant_context( &self, org_id: Option<&str>, workspace_id: Option<&str>, actor_id: Option<&str>, ) -> TenantContext

Implementors§