Interface: RecordLoginInput
Defined in: src/server/auth/session.ts:11
Server-side session bookkeeping for the sessions table, which is the authoritative control
surface for force-logout and absolute session timeout. Supabase JWTs are stateless, so the app
enforces revocation/timeout itself: a row is recorded on login, the owner can flip revoked,
and middleware blocks any request whose session is revoked or past its timeout (see middleware).
Properties
companyId
companyId:
string|null
Defined in: src/server/auth/session.ts:13
ip
ip:
string|null
Defined in: src/server/auth/session.ts:15
sessionId
sessionId:
string|null
Defined in: src/server/auth/session.ts:14
userAgent
userAgent:
string|null
Defined in: src/server/auth/session.ts:16
userId
userId:
string
Defined in: src/server/auth/session.ts:12