Created
May 13, 2020 06:44
-
-
Save Harish2997/a99568c8f41ef2de9d9caf39a8dbfd28 to your computer and use it in GitHub Desktop.
Express-ntlm to get user details
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express'), | |
ntlm = require('express-ntlm'); | |
var app = express(); | |
app.use(ntlm()); | |
app.all('*', function(request, response) { | |
response.end(JSON.stringify(request.ntlm)); }); | |
app.listen(9000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment