axios-ntlm
Advanced tools
Comparing version 1.0.2 to 1.0.3
import { AxiosInstance } from 'axios'; | ||
/** | ||
* @param username The username of the user you are authenticating as. | ||
* @param password The password of the user you are authenticating as. | ||
* @param domain The domain of the user you are authenticating as. | ||
* @param workstation (optional) The workstation in use. Defaults to the current hostname if undefined. | ||
* @param AxiosClient (optional) An existing axios client to attach NTLM Auth interceptors to. | ||
* | ||
* @returns This function returns an axios instance configured to use the provided credentials | ||
*/ | ||
export declare function NtlmClient(username: string, password: string, domain: string, workstation?: string, AxiosClient?: AxiosInstance): AxiosInstance; | ||
//# sourceMappingURL=ntlmClient.d.ts.map |
@@ -30,3 +30,3 @@ "use strict"; | ||
var http = __importStar(require("http")); | ||
/* | ||
/** | ||
* @param username The username of the user you are authenticating as. | ||
@@ -37,2 +37,4 @@ * @param password The password of the user you are authenticating as. | ||
* @param AxiosClient (optional) An existing axios client to attach NTLM Auth interceptors to. | ||
* | ||
* @returns This function returns an axios instance configured to use the provided credentials | ||
*/ | ||
@@ -39,0 +41,0 @@ function NtlmClient(username, password, domain, workstation, AxiosClient) { |
{ | ||
"name": "axios-ntlm", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "An NTLM auth extension to the Axios HTTP library", | ||
@@ -5,0 +5,0 @@ "main": "lib/ntlmClient.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53889
8
120