🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

axios-ntlm

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axios-ntlm - npm Package Compare versions

Comparing version

to
1.0.3

lib/tsconfig.tsbuildinfo
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

4

lib/ntlmClient.js

@@ -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