]> khamidou — GitHub mirrors - electron.git/commitdiff
docs: app.allowNTLMCredentialsForAllDomains
authorCheng Zhao <zcbenz@gmail.com>
Tue, 20 Oct 2015 05:56:31 +0000 (13:56 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 20 Oct 2015 05:56:31 +0000 (13:56 +0800)
docs/api/app.md

index 0b5780aab7bff469916ec4a35277f11606d2cd79..bd49919ce79bab734361f28248aecd5d6a4ebc43 100644 (file)
@@ -99,7 +99,7 @@ You should call `event.preventDefault()` if you want to handle this event.
 Returns:
 
 * `event` Event
-* `hasVisibleWindows` Bool
+* `hasVisibleWindows` Boolean
 
 Emitted when the application is activated, which usually happens when clicks on
 the applications's dock icon.
@@ -280,6 +280,13 @@ Adds `tasks` to the [Tasks][tasks] category of the JumpList on Windows.
   consists of two or more icons, set this value to identify the icon. If an
   icon file consists of one icon, this value is 0.
 
+### `app.allowNTLMCredentialsForAllDomains(allow)`
+
+* `allow` Boolean
+
+Dynamically sets whether to always send credentials for HTTP NTLM or Negotiate
+authentication.
+
 ### `app.commandLine.appendSwitch(switch[, value])`
 
 Append a switch (with optional `value`) to Chromium's command line.