mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
Each IDP class using storage now has a different storage. This way those classes don't have to worry about clashing keys anymore. All internal storage is now in the /.internal/ container, thereby making it easier to take the location of the internal data into account: only 1 path needs to be blocked and a regex router handling internal data differently only has to match 1 path as well.
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": "Determines WebID ownership by requesting a specific value to be added to the WebID document",
|
|
"@id": "urn:solid-server:auth:password:OwnershipValidator",
|
|
"@type": "TokenOwnershipValidator",
|
|
"converter": { "@id": "urn:solid-server:default:RepresentationConverter" },
|
|
"storage": { "@id": "urn:solid-server:default:ExpiringTokenStorage" }
|
|
},
|
|
|
|
{
|
|
"comment": "Stores expiring data. This class has a `finalize` function that needs to be called after stopping the server.",
|
|
"@id": "urn:solid-server:default:ExpiringTokenStorage",
|
|
"@type": "WrappedExpiringStorage",
|
|
"source": { "@id": "urn:solid-server:default:IdpTokenStorage" }
|
|
},
|
|
{
|
|
"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:ExpiringTokenStorage" } ]
|
|
}
|
|
]
|
|
}
|