-
Notifications
You must be signed in to change notification settings - Fork 1
/
jwtBuilder.html
32 lines (29 loc) · 1.11 KB
/
jwtBuilder.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
<script type="text/javascript">
RED.nodes.registerType('Tydids-JWTBuilder',{
category: 'P2P Network',
color: '#3FADB5',
defaults: {
name: {value:""},
privateKey: {value:""}
},
inputs:1,
outputs:1,
icon: "bridge.svg",
label: function() {
return this.name||"Tydids-JWTBuilder";
}
});
</script>
<script type="text/html" data-template-name="Tydids-JWTBuilder">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row">
<label for="node-input-privateKey"><i class="fa fa-tag"></i> Private Key (disables key generation)</label>
<input type="text" min-length="66" max-length="66" id="node-input-privateKey" placeholder="0x...">
</div>
</script>
<script type="text/html" data-help-name="Tydids-JWTBuilder">
<p>Builds a plane JWT-DID to use offline (eq. no P2P distribution). Might be used as input of <strong>Tydids-JWTPresentation</strong></p>
</script>