blob: fa3179d313359dc52c2df45f80778880c82eb56b [file] [log] [blame]
/// <reference types="node" />
import ifm = require('../Interfaces');
import http = require("http");
export declare class NtlmCredentialHandler implements ifm.IRequestHandler {
private _ntlmOptions;
constructor(username: string, password: string, workstation?: string, domain?: string);
prepareRequest(options: http.RequestOptions): void;
canHandleAuthentication(response: ifm.IHttpClientResponse): boolean;
handleAuthentication(httpClient: ifm.IHttpClient, requestInfo: ifm.IRequestInfo, objs: any): Promise<ifm.IHttpClientResponse>;
private handleAuthenticationPrivate;
private sendType1Message;
private sendType3Message;
}