erlandranvinge / ntlm.js

Implementation of Microsoft NTLM in javascript. Allows you to do that NTLM ajax you've always wanted.
MIT License
51 stars 38 forks source link

Allow capture of generated credentials #4

Open Earl-Brown opened 8 years ago

Earl-Brown commented 8 years ago

Allow capture of generated credentials to save for later use;

adding getCredentials() allows generation of a Credentials object which can safely be stored and reused.

setCredentials() is modified to accept a Credentials-like object, or (domain, username, password)