import { Promise } from "../../common/Exports"; export interface IAuthentication { Fetch(authFetchEventId: string): Promise; FetchOnExpiry(authFetchEventId: string): Promise; } export class AuthInfo { private headerName: string; private token: string; public constructor(headerName: string, token: string) { this.headerName = headerName; this.token = token; } public get HeaderName(): string { return this.headerName; } public get Token(): string { return this.token; } }