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

0.1.0 • Public • Published

Authentication Helper

npm (scoped) DeepSource Maintainability

Handles the authentication requests for web applications. Standardizes each method to allow for easier switching.

Supports:

  • Active Directory
  • AD Web Auth
  • Plain Text (for testing purposes only!!!)

Installation

npm install @cityssm/authentication-helper

Usage

import { ActiveDirectoryAuthenticator } from '@cityssm/authentication-helper'

const authenticator = new ActiveDirectoryAuthenticator(config)

await authenticator.authenticate('domain\user', 'p@ssw0rd')

Package Sidebar

Install

npm i @cityssm/authentication-helper

Weekly Downloads

36

Version

0.1.0

License

MIT

Unpacked Size

19.6 kB

Total Files

21

Last publish

Collaborators

  • dgowans