({ token, expires }: TokenResponse)
| 66 | |
| 67 | // Set a single token on the stack |
| 68 | set({ token, expires }: TokenResponse) { |
| 69 | localStorage.setItem(TOKEN_KEY, JSON.stringify([{ token, expires }])); |
| 70 | } |
| 71 | |
| 72 | // Add a token to the END of the stack |
| 73 | add({ token, expires }: TokenResponse) { |
no outgoing calls
no test coverage detected