ya-express-ntlm
Version:
21 lines (19 loc) • 772 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.EAuthStrategy = void 0;
/**
Strategy
NTLM - regular 4-step authentication with LDAP queries.
Returns the username and real sign of authorization in AD.
Used by default.
NTLM_STUB - 3-step authentication without queries in LDAP.
The second step is an artificially generated LDAP response (NTLM message Type 2).
The response from the browser expects the username and domain.
4th step - authorization check - a stub that always returns true.
*/
var EAuthStrategy;
(function (EAuthStrategy) {
EAuthStrategy["NTLM"] = "NTLM";
EAuthStrategy["NTLM_STUB"] = "NTLM_STUB";
})(EAuthStrategy || (exports.EAuthStrategy = EAuthStrategy = {}));
//# sourceMappingURL=interfaces.js.map