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

2.2.3 • Public • Published

Installation

npm install --save @types/ldap-authentication

Summary

This package contains type definitions for ldap-authentication (https://github.com/shaozi/ldap-authentication#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ldap-authentication.

index.d.ts

import { ClientOptions } from "ldapjs";

export interface AuthenticationOptions {
    ldapOpts: ClientOptions;
    userDn?: string;
    adminDn?: string;
    adminPassword?: string;
    userSearchBase?: string;
    usernameAttribute?: string;
    username?: string;
    verifyUserExists?: boolean;
    starttls?: boolean;
    groupsSearchBase?: string;
    groupClass?: string;
    groupMemberAttribute?: string;
    groupMemberUserAttribute?: string;
    userPassword?: string;
}

export function authenticate(options: AuthenticationOptions): Promise<any>;

export class LdapAuthenticationError extends Error {
    constructor(message: any);
    name: string;
}

export as namespace LdapAuthentication;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:38 GMT
  • Dependencies: @types/ldapjs

Credits

These definitions were written by Simone Corsi.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/ldap-authentication

Weekly Downloads

108

Version

2.2.3

License

MIT

Unpacked Size

4.13 kB

Total Files

5

Last publish

Collaborators

  • types