forked from dmvstar/node-red-contrib-http-ntlm-req
-
Notifications
You must be signed in to change notification settings - Fork 2
/
http-ntlm-req-config.html
66 lines (62 loc) · 2.72 KB
/
http-ntlm-req-config.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<script type="text/javascript">
RED.nodes.registerType('http-ntlm-req-config', {
category: 'config',
defaults: {
name: { value: "", required: true },
user: { value: "", required: false },
pass: { value: "", required: false },
key: { value: "", required: false },
cert: { value: "", required: false },
token: { value: "", required: false },
doman: { value: "", required: false },
parsejson: { value: false, required: false }
},
label: function () {
return this.name;
}
});
</script>
<script type="text/x-red" data-template-name="http-ntlm-req-config">
<div class="form-row">
<label for="node-config-input-name"><i class="fa fa-globe"></i> Name</label>
<input type="text" id="node-config-input-name">
</div>
<div class="form-row">
<label for="node-config-input-user"><i class="fa fa-user"></i> Username</label>
<input type="text" id="node-config-input-user">
</div>
<div class="form-row">
<label for="node-config-input-pass"><i class="fa fa-lock"></i> Password</label>
<input type="password" id="node-config-input-pass">
</div>
<div class="form-row">
<label for="node-config-input-key"><i class="fa fa-file"></i> Client Key</label>
<input type="text" id="node-config-input-key">
</div>
<div class="form-row">
<label for="node-config-input-cert"><i class="fa fa-file"></i> Client Certificate</label>
<input type="text" id="node-config-input-cert">
</div>
<div class="form-row">
<label for="node-config-input-token"><i class="fa fa-key"></i> Token</label>
<input type="text" id="node-config-input-token">
</div>
<div class="form-row">
<label for="node-config-input-doman"><i class="fa fa-doman"></i> Domain</label>
<input type="text" id="node-config-input-doman">
</div>
<div class="form-row">
<input type="checkbox" id="node-config-input-parsejson" style="display: inline-block; width: auto; vertical-align: top;" autocomplete="off">
<label for="node-config-input-parsejson" style="width: auto">Parse response payload to JSON</label>
</div>
</script>
<script type="text/x-red" data-help-name="http-ntlm-req-config">
<p>Create AUTH config</p>
<p>To set up request, create a new AUTH config:</p>
<p>
<ul>
<li> Select <i>Auth</i> method, the default would be set to None.</li>
<li> Fill in <i>Username</i>, <i>Password</i>, <i>Client Key</i>, <i>Client Certificate</i>, <i>Token</i> if needed. </li>
</ul>
</p>
</script>