()
| 78 | } |
| 79 | |
| 80 | hasToken(): boolean { |
| 81 | const token = this.axiosInstance.defaults.headers.common["Authorization"]?.toString() || ""; |
| 82 | return token?.replace("Bearer ", "").trim() !== ""; |
| 83 | } |
| 84 | |
| 85 | async isAuthed(): Promise<boolean> { |
| 86 | try { |
no outgoing calls
no test coverage detected