this repository can be used as a test bed for node-wot security. Node-wot can be used in two modes: embedded
or runtime
.
For each mode you can find the corresponding project folder.
node-wot accept a credential object as a configuration. This object has for keys the ID of the target Web Thing and as value the credential parameters. For example:
{
// Other parameters
"urn:dev:thing:123":{
name: "test",
password: "test"
}
}
Note: in the latest release node-wot
also accepts an array of credentials, but it is not well tested yet.
{
name: "test",
password: "test"
}
{
token:"test"
}
{
apiKey: "test"
}
{
clientId: "test",
clientSecrete: "test"
}