© 2026 Hedgehog Software, LLC
... ipAddress: text("ip_address"), // can be NULL ...
export type Session = typeof session.$inferSelect;
ipAddress: string | null
const sessionInfos = await auth.api.getSession({ headers: c.req.raw.headers, }); const session = sessionInfos.session;
session
... ipAddress?: string | null | undefined | undefined ...
string | null
Session