iosignal-cli 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/auth_file.json +13 -0
- package/auth_file.mjs +23 -0
- package/package.json +1 -1
package/auth_file.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
[
|
|
2
|
+
["sampleid","samplekey","sample_cid",0],
|
|
3
|
+
["id_max8","no_key_size_limit","communication_id",0],
|
|
4
|
+
["device1","device1_key","device1_cid",0],
|
|
5
|
+
["device2","device2_key","device2_cid",0],
|
|
6
|
+
["uno","uno","uno",1],
|
|
7
|
+
["go","go","go",2],
|
|
8
|
+
["bro","bro","bro",3],
|
|
9
|
+
["admin","admin","admin",255],
|
|
10
|
+
["adminb","adminb","adminb",255]
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
|
package/auth_file.mjs
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
|
|
2
|
+
/*
|
|
3
|
+
Authentication data sample.
|
|
4
|
+
|
|
5
|
+
device props: ["did", "key", "cid", level ]
|
|
6
|
+
|
|
7
|
+
did: ( device id ) authentication id. maximum 8 chars.
|
|
8
|
+
key: ( device key ) authentication key. no size limit.
|
|
9
|
+
cid: ( communication id ) signal target id. maximum 12 chars.
|
|
10
|
+
level:( quota level) <Number> ref. /server/quotaTable.js
|
|
11
|
+
|
|
12
|
+
*/
|
|
13
|
+
export const authInfo = [
|
|
14
|
+
["did","passowrd","cid",0],
|
|
15
|
+
["device1","device1_key","device1_cid",0],
|
|
16
|
+
["device2","device2_key","device2_cid",0],
|
|
17
|
+
["uno","uno-key","uno",1],
|
|
18
|
+
["go","go-key","go",2],
|
|
19
|
+
["bro","bro-key","bro",3],
|
|
20
|
+
["admin","admin-key","admin",255],
|
|
21
|
+
]
|
|
22
|
+
|
|
23
|
+
|