UNPKG

@timesheet/sdk

Version:
13 lines 483 B
import type { AxiosRequestConfig } from 'axios'; import type { Authentication } from './Authentication'; export declare class ApiKeyAuth implements Authentication { private readonly apiKey; constructor(apiKey: string); private isValidFormat; applyAuth(config: AxiosRequestConfig): void; needsRefresh(): boolean; refresh(): Promise<void>; getAuthHeaders(): Promise<Record<string, string>>; isValid(): boolean; } //# sourceMappingURL=ApiKeyAuth.d.ts.map