post /login/ntlm

Authenticates the caller using NTLM authentication.

Call this endpoint to authenticate the user. For cross-site (CORS) requests, set withCredentials to true.

Javascript clients must pass the NTLM token using XHR credentials.

Examples:


// Plain javascript
// https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials

var xhr = new XMLHttpRequest();
xhr.open('GET', 'http://example.com:port/api/v1/login/ntlm', true);
xhr.withCredentials = true;
xhr.send(null);

// Jquery
// http://api.jquery.com/jquery.ajax/

$.ajax({
url: 'http://example.com:port/api/v1/login/ntlm',
xhrFields: {
withCredentials: true
}
});

Responses

200
The user is authenticated.

401
The user is not authenticated. The user is not in the system, is not bound to a Windows domain, or is not authorized to use the APIs.