import { getSessionId } from "https://deno.land/x/deno_kv_oauth@v0.9.0/mod.ts";
Gets the session ID for a given request. This is well-suited for checking whether the client is signed in by checking if undefined.
It does this by getting the session ID from the cookie in the given request. If the request has no cookie, undefined is returned.