Lucia.readSessionCookie()
Method of Lucia
. Reads the session cookie from the Cookie
header. Returns null
if the cookie doesn't exist.
Definition
function readSessionCookie(cookieHeader: string): string | null;
Parameters
cookieHeader
: HTTPCookie
header