kerberos-agent
Version:
HTTP.Agent implementation which provides Kerberos authentication
32 lines (22 loc) • 893 B
Markdown
HTTP.Agent implementation which provides Kerberos authentication
> Call Windows Authentication protected endpoints using Kerberos
```js
import fetch from 'node-fetch';
import kerberosAgent from 'kerberos-agent';
fetch('http://some-endpoint/', {
agent: kerberosAgent()
})
.then(...)
```
```shell
npm install kerberos-agent --save-dev
```
> This module uses the [Kerberos](https://www.npmjs.com/package/kerberos) package and so you must be able in build a C++ package to install. See the the Kerberos package [README](https://www.npmjs.com/package/kerberos) if you have issues
* No Connection Pooling supported
* No HTTP Keep Alive supported
* Authorization header is always sent, i.e. No Challenge/Response