added utils for unauth, verify, and response

This commit is contained in:
Milo Schwartz 2024-10-02 20:42:50 -04:00
parent d1e198fe55
commit 44e020784b
No known key found for this signature in database
11 changed files with 125 additions and 69 deletions

View file

@ -1,3 +1,6 @@
export * from "./unauthorizedResponse";
export * from "./verifySession";
import { Lucia, TimeSpan } from "lucia";
import { DrizzleSQLiteAdapter } from "@lucia-auth/adapter-drizzle";
import db from "@server/db";