Shared authorization for Nuxt 3 server API routes
Nuxt 3 maps files under server/api to Nitro routes, such as server/api/items.get.ts becoming /api/items. Handlers receive an H3 event object and run in the server-only runtime, so application authentication state from client-side plugins is not automatically available. The goal is to apply one authorization check to every server/api endpoint instead of repea