mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-10-19 12:11:11 +08:00
14 lines
796 B
TypeScript
14 lines
796 B
TypeScript
/// <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(httpClient, requestInfo, objs, finalCallback);
|
|
private sendType1Message(httpClient, requestInfo, objs, finalCallback);
|
|
private sendType3Message(httpClient, requestInfo, objs, res, callback);
|
|
}
|