Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Linen-dev/linen.dev
/ getJwtToken
Function
getJwtToken
packages/auth-client/src/client/utils.ts:134–137 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
132
}
133
134
export
function
getJwtToken() {
135
if
(typeof window ===
'undefined'
)
return
;
136
return
localStorage.getItem(
'jwt'
);
137
}
138
139
export
function
setJwtToken(token: string) {
140
if
(typeof window ===
'undefined'
)
return
;
Callers
1
fetchData
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected