Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cursor/community-plugins
/ getSession
Function
getSession
apps/cursor/src/utils/supabase/auth.ts:3–9 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
import
{ createClient } from
"./server"
;
2
3
export
async
function
getSession() {
4
const
supabase =
await
createClient();
5
const
{
6
data: { session },
7
} =
await
supabase.auth.getSession();
8
return
session;
9
}
Callers
10
safe-action.ts
File · 0.90
Profile
Function · 0.90
Company
Function · 0.90
FollowersList
Function · 0.90
SettingsContent
Function · 0.90
FollowingList
Function · 0.90
EditMCPContent
Function · 0.90
EditPluginContent
Function · 0.90
NewPluginGate
Function · 0.90
AdminPluginsContent
Function · 0.90
Calls
1
createClient
Function · 0.90
Tested by
no test coverage detected