@types/ntlm-client
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

Installation

npm install --save @types/ntlm-client

Summary

This package contains type definitions for ntlm-client (https://github.com/clncln1/node-ntlm-client).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ntlm-client.

index.d.ts

/// <reference types="node"/>

interface NtlmType2 {
    flags: number;
    encoding: string;
    version: number;
    challenge: Buffer;
    targetName: string;
    targetInfo: {
        parsed: {
            DOMAIN: string;
            SERVER: string;
            DNS: string;
            FQDN: string;
            PARENT_DNS: string;
        };
        buffer: Buffer;
    };
}

declare function createType1Message(workstation: string, domain: string): string;
declare function decodeType2Message(type1Message: string): NtlmType2;
declare function createType3Message(
    type2Message: NtlmType2,
    username: string,
    password: string,
    workstation: string,
    domain: string,
): string;
export { createType1Message, createType3Message, decodeType2Message };

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Manuel Borrajo.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/ntlm-client

Weekly Downloads

32

Version

0.1.3

License

MIT

Unpacked Size

4.18 kB

Total Files

5

Last publish

Collaborators

  • types