-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathauth-config-node.html
More file actions
48 lines (46 loc) · 1.74 KB
/
auth-config-node.html
File metadata and controls
48 lines (46 loc) · 1.74 KB
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
<script type="text/javascript">
RED.nodes.registerType('auth-config-node', {
category: 'config',
color: '#a6bbcf',
defaults: {
name: { value: "" },
username: { value: "" },
password: { value: "" }
},
credentials: {
username: { type: "text" },
password: { type: "password" }
},
label: function() {
return this.name || "Auth Config Node";
}
});
</script>
<script type="text/x-red" data-template-name="auth-config-node">
<div class="form-row">
<label for="node-config-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-config-input-name" placeholder="Node Name">
</div>
<div class="form-row">
<label for="node-config-input-username"><i class="fa fa-user"></i> Username</label>
<input type="text" id="node-config-input-username" placeholder="API Username">
</div>
<div class="form-row">
<label for="node-config-input-password"><i class="fa fa-lock"></i> Password</label>
<input type="password" id="node-config-input-password" placeholder="API Password">
</div>
</script>
<script type="text/x-red" data-help-name="auth-config-node">
<p>
The <b>Auth Config Node</b> is used to configure authentication for the ServiceTrade API.
Provide your username and password, and the node will manage authentication for your flows.
</p>
<p>
<b>Fields:</b>
<ul>
<li><b>Name:</b> A name to identify the configuration.</li>
<li><b>Username:</b> Your ServiceTrade API username.</li>
<li><b>Password:</b> Your ServiceTrade API password.</li>
</ul>
</p>
</script>