nmarus / node-ews

A simple JSON wrapper for the Exchange Web Services (EWS) SOAP API.
MIT License
116 stars 52 forks source link

Added logic to allow pre-encryption for NTLM authentication. #72

Closed matthewbordas closed 7 years ago

matthewbordas commented 7 years ago

The underlying NTLM lib used by this module allows us to pass in the pre-encrypted nt and lm password hashes instead of the plain text password as options. I added logic to take advantage of this feature. This saves us from having to persist the user's Exchange password in plain text when using NTLM. We now can reconnect using the hashed credentials from a persistent storage.

kcastrotech commented 7 years ago

Very nice! I'll test it out as soon as I can. Though while I do that can you update the Advanced Options of the readme to include an example?

matthewbordas commented 7 years ago

Sounds good just committed updates to the readme that include an example and I changed all the let statements to const.

nmarus commented 7 years ago

Merged and published package. Thanks for the addition.