Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/pythonstock/stock
/ setToken
Function
setToken
frontend/src/utils/auth.js:9–11 ·
view source on GitHub ↗
(token)
Source
from the content-addressed store, hash-verified
7
}
8
9
export
function
setToken(token) {
10
return
Cookies.set(TokenKey, token)
11
}
12
13
export
function
removeToken() {
14
return
Cookies.remove(TokenKey)
Callers
1
login
Function · 0.90
Calls
1
set
Method · 0.45
Tested by
no test coverage detected