Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/shadcn-ui/taxonomy
/ getCurrentUser
Function
getCurrentUser
lib/session.ts:5–9 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3
import
{ authOptions } from
"@/lib/auth"
4
5
export
async
function
getCurrentUser() {
6
const
session =
await
getServerSession(authOptions)
7
8
return
session?.user
9
}
Callers
5
EditorPage
Function · 0.90
DashboardPage
Function · 0.90
DashboardLayout
Function · 0.90
SettingsPage
Function · 0.90
BillingPage
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected