Expand description
Product auth/session behavior for Palette requests.
When the auth feature is enabled, this re-exports soma_auth::AuthContext
(populated by soma-auth’s middleware, mounted by the composing app) and
reads it the same way soma-api does. Without the feature, a minimal
local stand-in keeps this crate buildable standalone (matching
soma-api’s own pattern).
Structs§
- Auth
Context - Stored in request extensions by the HTTP auth middleware (see
[
crate::middleware::AuthLayer]).
Functions§
- palette_
execution_ context - Build the [
soma_application::ExecutionContext] for a Palette request, pulling subject/scopes fromauthwhen present (unauthenticated requests under a loopback-dev or trusted-gateway policy passNone).