# types-passport-latest-windowsauth

> TypeScript definitions for passport-latest-windowsauth

Latest version **1.0.0** (published 2023-01-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install types-passport-latest-windowsauth
pnpm add types-passport-latest-windowsauth
yarn add types-passport-latest-windowsauth
bun add types-passport-latest-windowsauth
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2023-01-20 |
| First published | 2023-01-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 6.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | nikunj-bs |
| Keywords | passport, windows, auth, ntlm, auth0, windowsauth |

## Links

- npm: https://www.npmjs.com/package/types-passport-latest-windowsauth
- Repository: https://github.com/Nikunj-bs/types-passport-latest-windowsauth
- Homepage: https://github.com/Nikunj-bs/types-passport-latest-windowsauth#readme
- Issues: https://github.com/Nikunj-bs/types-passport-latest-windowsauth/issues
- npm.io page: https://npm.io/package/types-passport-latest-windowsauth

## Dependencies (3)

- [@types/ldapjs](https://npm.io/package/@types/ldapjs.md) *
- [@types/express](https://npm.io/package/@types/express.md) *
- [@types/passport](https://npm.io/package/@types/passport.md) *

## Alternatives

- [@clerk/clerk-expo](https://npm.io/package/@clerk/clerk-expo.md) — 133.6K weekly downloads
- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads
- [@nocobase/plugin-verification](https://npm.io/package/@nocobase/plugin-verification.md) — 2.0K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2023-01-20

## README

# Installation
> `npm install --save @types/passport-latest-windowsauth`

# Summary
This package contains type definitions for passport-latest-windowsauth (https://www.npmjs.com/package/passport-latest-windowsauth?activeTab=readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/passport-latest-windowsauth.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/passport-latest-windowsauth/index.d.ts)
````ts
// Type definitions for passport-latest-windowsauth 1.0.0
// Project: https://www.npmjs.com/package/passport-latest-windowsauth?activeTab=readme
// Definitions by: Emily Marigold Klassen <https://github.com/forivall>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

import * as express from 'express';
import * as passport from 'passport';
import * as ldapjs from 'ldapjs';
import { TlsOptions } from 'tls';

declare namespace windowsauth {
    interface Options {
        ldap?: {
            url?: string | undefined
            maxConnections?: number | undefined
            base?: string | undefined
            bindDN?: string | undefined
            bindCredentials?: string | undefined
            tlsOptions?: TlsOptions | undefined;
            reconnect?: boolean | {
                initialDelay?: number | undefined,
                maxDelay?: number | undefined,
                failAfter?: number | undefined
            } | undefined;
            timeout?: number | undefined;
            connectTimeout?: number | undefined;
            idleTimeout?: number | undefined;
            binder?: ldapjs.Client | undefined
            client?: ldapjs.Client | undefined
        } | undefined;
        integrated?: boolean | undefined;
        getUserNameFromHeader?(req: express.Request): string;
        passReqToCallback?: boolean | undefined;
        usernameField?: string | undefined;
        passwordField?: string | undefined;
    }
    type Verified = (err: Error | undefined | null, user?: object, info?: object) => void;
    type Verify = (profile: passport.Profile, done: Verified) => void;
    type VerifyWithReq = (req: express.Request, profile: passport.Profile, done: Verified) => void;
}

declare class windowsauth extends passport.Strategy {
    constructor(options: windowsauth.Options & {passReqToCallback: true}, verify: windowsauth.VerifyWithReq);
    constructor(options: windowsauth.Options, verify: windowsauth.Verify);
    constructor(verify: windowsauth.Verify);
}

export = windowsauth;

````

### Additional Details
 * Last updated: Thu, 20 Jan 2023 
 * Dependencies: [@types/express](https://npmjs.com/package/@types/express), [@types/passport](https://npmjs.com/package/@types/passport), [@types/ldapjs](https://npmjs.com/package/@types/ldapjs)
 * Global values: none

---
_Source: https://npm.io/package/types-passport-latest-windowsauth · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
