interface AuthState
extends State

Set on ctx.state by authMiddleware for the handlers after it. user carries the caller's live role, not the one in their token.

Properties

Usage

import { type AuthState } from "api/middleware/auth.ts";