MCPcopy 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
9export function setToken(token) {
10 return Cookies.set(TokenKey, token)
11}
12
13export function removeToken() {
14 return Cookies.remove(TokenKey)

Callers 1

loginFunction · 0.90

Calls 1

setMethod · 0.45

Tested by

no test coverage detected