MCPcopy Index your code
hub / github.com/Packstack-Tech/packstack / setToken

Method setToken

frontend/src/lib/jwt.ts:43–46  ·  view source on GitHub ↗
(token: string)

Source from the content-addressed store, hash-verified

41 }
42
43 setToken(token: string) {
44 this.setTokenIfValid(token);
45 setString(AUTH_TOKEN, token);
46 }
47
48 getString(): string {
49 return this.token;

Callers 1

AppProviderClass · 0.80

Calls 2

setTokenIfValidMethod · 0.95
setStringFunction · 0.85

Tested by

no test coverage detected