The resource server is a read-write server with fine-grained authorizations. You can create one in the (webid-oidc server endpoint resource-server) module.
Create a resource server endpoint. To manage RDF data, and in particular to identify owned resources, it is necessary that the server knows its public server-uri. owner is the webid of someone that has total control.
If you want to manage multiple resource servers, you must make sure that each one of them has a separate data-home directory.
You can construct one with
#:server-uri (an URI),
#:owner (an URI) and
directory file name or a thunk returning a file name; it may exist or
not, defaults to
Return the public URI of the resource-server.
Return the webid of a user that has full control over resource-server.
Return the directory where resource-server stores persistent data.