Authorization
The createContext function is called for each incoming request, so here you can add contextual information about the calling user from the request object.
Create context from request headers
server/context.tsts
server/context.tsts
Option 1: Authorize using resolver
server/routers/_app.tsts
server/routers/_app.tsts
Option 2: Authorize using middleware
server/routers/_app.tsts
server/routers/_app.tsts