MCPcopy Create free account
hub / github.com/Datakitpage/Datakit / getAuthHeaders

Method getAuthHeaders

frontend/src/lib/api/apiClient.ts:19–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 }
18
19 private async getAuthHeaders(): Promise<HeadersInit> {
20 // UPDATE 02/07/2025
21 // No need for manual headers - cookies are sent automatically
22
23 return {};
24 }
25
26 private async refreshToken(): Promise<void> {
27 if (this.isRefreshing) {

Callers 2

requestMethod · 0.95
streamMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected