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

Method revokeToken

frontend/src/lib/jwt.ts:37–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35 }
36
37 revokeToken() {
38 this.token = '';
39 this.tokenPayload = null;
40 removeItem(AUTH_TOKEN);
41 }
42
43 setToken(token: string) {
44 this.setTokenIfValid(token);

Callers 4

AppProviderClass · 0.80
postMethod · 0.80
putMethod · 0.80
getMethod · 0.80

Calls 1

removeItemFunction · 0.70

Tested by

no test coverage detected