mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
25 lines
1.1 KiB
JSON
25 lines
1.1 KiB
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^1.0.0/components/context.jsonld",
|
|
"@graph": [
|
|
{
|
|
"comment": "This storage specifically uses the same path as the IDP routing, thereby guaranteeing outside access is impossible.",
|
|
"@id": "urn:solid-server:default:IdpStorage",
|
|
"@type": "JsonResourceStorage",
|
|
"source": { "@id": "urn:solid-server:default:ResourceStore" },
|
|
"baseUrl": { "@id": "urn:solid-server:default:variable:baseUrl" },
|
|
"container": "/idp/data/"
|
|
},
|
|
{
|
|
"comment": "Stores expiring data. This class has a `finalize` function that needs to be called after stopping the server.",
|
|
"@id": "urn:solid-server:default:ExpiringIdpStorage",
|
|
"@type": "WrappedExpiringStorage",
|
|
"source": { "@id": "urn:solid-server:default:IdpStorage" }
|
|
},
|
|
{
|
|
"comment": "Makes sure the expiring storage cleanup timer is stopped when the application needs to stop.",
|
|
"@id": "urn:solid-server:default:Finalizer",
|
|
"ParallelFinalizer:_finalizers": [ { "@id": "urn:solid-server:default:ExpiringIdpStorage" } ]
|
|
}
|
|
]
|
|
}
|