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