| 1 | interface Cookie { |
| 2 | name: string; |
| 3 | value: string; |
| 4 | domain?: string; |
| 5 | path?: string; |
| 6 | expires?: number; |
| 7 | httpOnly?: boolean; |
| 8 | secure?: boolean; |
| 9 | sameSite?: "Strict" | "Lax" | "None"; |
| 10 | } |
| 11 | |
| 12 | export function readDbTokenCookie(cookies: Cookie[]): Cookie | undefined { |
| 13 | for (const cookie of cookies) { |
nothing calls this directly
no outgoing calls
no test coverage detected