deprecate app.allowNTLMCredentialsForAllDomains

This commit is contained in:
deepak1556 2016-05-23 10:59:55 +05:30
parent 62cad610e0
commit f68d0f324f
5 changed files with 55 additions and 14 deletions

View file

@ -323,6 +323,23 @@ session.fromPartition(partition).setPermissionRequestHandler((webContents, permi
Clears the host resolver cache.
#### `ses.allowNTLMCredentialsForDomains(domains)`
* `domains` String - A comma-seperated list of servers for which
integrated authentication is enabled.
Dynamically sets whether to always send credentials for HTTP NTLM or Negotiate
authentication.
```javascript
// consider any url ending with `example.com`, `foobar.com`, `baz`
// for integrated authentication.
session.defaultSession.allowNTLMCredentialsForDomains('*example.com, *foobar.com, *baz')
// consider all urls for integrated authentication.
session.defaultSession.allowNTLMCredentialsForDomains('*')
```
#### `ses.webRequest`
The `webRequest` API set allows to intercept and modify contents of a request at