aboutsummaryrefslogtreecommitdiff
path: root/node_modules/typed-rest-client/handlers/ntlm.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/typed-rest-client/handlers/ntlm.d.ts')
-rw-r--r--node_modules/typed-rest-client/handlers/ntlm.d.ts13
1 files changed, 13 insertions, 0 deletions
diff --git a/node_modules/typed-rest-client/handlers/ntlm.d.ts b/node_modules/typed-rest-client/handlers/ntlm.d.ts
new file mode 100644
index 0000000..2f509b0
--- /dev/null
+++ b/node_modules/typed-rest-client/handlers/ntlm.d.ts
@@ -0,0 +1,13 @@
+/// <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);
+}