import { ClientConfiguration, CommonClientConfiguration } from "../config/ClientConfiguration"; import { INetworkModule } from "../network/INetworkModule"; import { NetworkManager, NetworkResponse } from "../network/NetworkManager"; import { ICrypto } from "../crypto/ICrypto"; import { Authority } from "../authority/Authority"; import { Logger } from "../logger/Logger"; import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse"; import { CacheManager } from "../cache/CacheManager"; import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager"; import { RequestThumbprint } from "../network/RequestThumbprint"; /** * Base application class which will construct requests to send to and handle responses from the Microsoft STS using the authorization code flow. */ export declare abstract class BaseClient { logger: Logger; protected config: CommonClientConfiguration; protected cryptoUtils: ICrypto; protected cacheManager: CacheManager; protected networkClient: INetworkModule; protected serverTelemetryManager: ServerTelemetryManager | null; protected networkManager: NetworkManager; authority: Authority; protected constructor(configuration: ClientConfiguration); /** * Creates default headers for requests to token endpoint */ protected createDefaultTokenRequestHeaders(): Record; /** * addLibraryData */ protected createDefaultLibraryHeaders(): Record; /** * Http post to token endpoint * @param tokenEndpoint * @param queryString * @param headers * @param thumbprint */ protected executePostToTokenEndpoint(tokenEndpoint: string, queryString: string, headers: Record, thumbprint: RequestThumbprint): Promise>; /** * Updates the authority object of the client. Endpoint discovery must be completed. * @param updatedAuthority */ updateAuthority(updatedAuthority: Authority): void; } //# sourceMappingURL=BaseClient.d.ts.map