Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

axios-ntlm

Package Overview
Dependencies
Maintainers
1
Versions
22
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 1.0.2 to 1.0.3

lib/tsconfig.tsbuildinfo

9

lib/ntlmClient.d.ts
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc