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

Interface TokenInterface

frontend/src/lib/jwt.ts:7–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5const AUTH_TOKEN = 'auth_token';
6
7export interface TokenInterface {
8 getString: () => string;
9 getDecoded: () => DecodedToken | null;
10 setToken: (token: string) => void;
11 revokeToken: () => void;
12}
13
14export interface DecodedToken {
15 sub: string;

Callers

nothing calls this directly

Implementers 1

Tokenfrontend/src/lib/jwt.ts

Calls

no outgoing calls

Tested by

no test coverage detected