rearranged files
use header file
use pragma once

Signed-off-by: Fred Wen <fred.wen@gov.bc.ca>
added javascript main export function

Signed-off-by: Fred Wen <fred.wen@gov.bc.ca>
documented opts
added authoritative
encap default into an object before put into proto.
Otherwise the defaults are added to Object.prototype
which applies to ALL objects
don't use changeable header to hold authenticated user name.
Instead use req.user - same as Express.js basic auth.
populate static authenticated user name

Signed-off-by: Fred Wen <fred.wen@gov.bc.ca>
pacify jslint
retrieve list of SecurityPackages

Signed-off-by: abbr <wenfred@gmail.com>
added sspi_module_cleanup
added supportSSPI check per request

Signed-off-by: abbr <wenfred@gmail.com>
check if authenticated

Signed-off-by: abbr <wenfred@gmail.com>
Guard in case opt is empty

Signed-off-by: abbr <wenfred@gmail.com>
get authorization header from req parameter in c land.

Signed-off-by: abbr <wenfred@gmail.com>
set user
Merge branch 'HEAD' of git@github.com:abbr/NodeSSPI.git