pub trait AuthenticatedContext: HandlerContext {
// Required methods
fn user_id(&self) -> Result<Uuid>;
fn tenant_id(&self) -> Option<Uuid>;
}Expand description
Trait for contexts that carry an authenticated user.
Implemented by QueryContext, MutationContext, and McpToolContext.
Extends HandlerContext with user identity and tenant accessors.
Sealed: only forge-core can implement this trait.