type alias AuthContext The context type of a handler behind authMiddleware. Pass the route path, as in AuthContext<"/:key/role">, to keep ctx.params typed. Type Parameters R extends string = string P extends RouteParams<R> = RouteParams<R> Definition RouterContext<R, P, AuthState>