https://github.com/cityssm/node-authentication-helper
Handles the authentication requests for web applications. Standardizes each method to allow for easier switching.
https://github.com/cityssm/node-authentication-helper
active-directory activedirectory authentication
Last synced: 10 months ago
JSON representation
Handles the authentication requests for web applications. Standardizes each method to allow for easier switching.
- Host: GitHub
- URL: https://github.com/cityssm/node-authentication-helper
- Owner: cityssm
- License: mit
- Created: 2024-04-05T18:36:15.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-22T18:43:45.000Z (11 months ago)
- Last Synced: 2025-07-22T18:44:37.089Z (11 months ago)
- Topics: active-directory, activedirectory, authentication
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@cityssm/authentication-helper
- Size: 315 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Authentication Helper
[](https://www.npmjs.com/package/@cityssm/authentication-helper)
[](https://app.deepsource.com/gh/cityssm/node-authentication-helper/)
Handles the authentication requests for web applications.
Standardizes each method to allow for easier switching.
Supports:
- [Active Directory](https://github.com/cityssm/node-activedirectory-authenticate)
- [AD Web Auth](https://github.com/cityssm/ad-web-auth)
- Function - Implement your own!
- Plain Text (_for testing purposes only!!!_)
## Installation
```sh
npm install @cityssm/authentication-helper
```
## Usage
```javascript
import { ActiveDirectoryAuthenticator } from '@cityssm/authentication-helper'
const authenticator = new ActiveDirectoryAuthenticator(config)
await authenticator.authenticate('domain\\user', 'p@ssw0rd')
```