Set on ctx.state by authMiddleware for the handlers after it.
user carries the caller's live role, not the one in their token.
Usage
import { type AuthState } from "api/middleware/auth.ts";
Set on ctx.state by authMiddleware for the handlers after it.
user carries the caller's live role, not the one in their token.
import { type AuthState } from "api/middleware/auth.ts";