Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Packstack-Tech/packstack
/ constructor
Method
constructor
frontend/src/lib/jwt.ts:32–35 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
30
private tokenPayload: DecodedToken | null;
31
32
constructor() {
33
const
t = getString(AUTH_TOKEN,
''
);
34
this.setTokenIfValid(t);
35
}
36
37
revokeToken() {
38
this.token =
''
;
Callers
nothing calls this directly
Calls
2
setTokenIfValid
Method · 0.95
getString
Function · 0.85
Tested by
no test coverage detected