Skip to main content

palette_execution_context

Function palette_execution_context 

Source
pub fn palette_execution_context(
    state: &PaletteState,
    auth: Option<&AuthContext>,
) -> ExecutionContext
Expand description

Build the [soma_application::ExecutionContext] for a Palette request, pulling subject/scopes from auth when present (unauthenticated requests under a loopback-dev or trusted-gateway policy pass None).