Schema URL: https://rustybeam.net/schema/PluginConfig
PluginConfig is the internal Rust struct name for plugin configuration. In HTML configuration files,
this should be represented using the https://rustybeam.net/schema/Plugin
itemtype.
Property | Type | Cardinality | Description |
---|---|---|---|
plugin-path | https://rustybeam.net/schema/URL | 1 | Incorrect property name. Should use "library" instead. This appears in test-config-separate-auth.html but is not recognized by the parser. The correct property name is "library" with a file:// URL (e.g., "file://./plugins/basic-auth.so") |
Instead of using PluginConfig with plugin-path, use the Plugin schema with library property:
<tr itemprop="plugin" itemscope itemtype="https://rustybeam.net/schema/Plugin">
<td>Plugin</td>
<td itemprop="library">file://./plugins/basic-auth.so</td>
</tr>
When you need to associate properties with a plugin using itemref, the properties should reference the plugin's id:
<tr id="my-plugin" itemprop="plugin" itemscope itemtype="https://rustybeam.net/schema/Plugin">
<td>Plugin</td>
<td itemprop="library">file://./plugins/basic-auth.so</td>
</tr>
<tr>
<td>Authentication File</td>
<td itemref="my-plugin" itemprop="authFile">./auth/users.html</td>
</tr>