mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
46 lines
1.7 KiB
JSON
46 lines
1.7 KiB
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
|
|
"@graph": [
|
|
{
|
|
"comment": "Handles the client credentials link details such as deletion.",
|
|
"@id": "urn:solid-server:default:AccountClientCredentialsIdRouter",
|
|
"@type": "AuthorizedRouteHandler",
|
|
"route": {
|
|
"@id": "urn:solid-server:default:AccountClientCredentialsIdRoute",
|
|
"@type": "BaseClientCredentialsIdRoute",
|
|
"base": { "@id": "urn:solid-server:default:AccountClientCredentialsRoute" }
|
|
},
|
|
"source": {
|
|
"@id": "urn:solid-server:default:ClientCredentialsResourceHandler",
|
|
"@type": "WaterfallHandler",
|
|
"handlers": [
|
|
{
|
|
"@type": "MethodFilterHandler",
|
|
"methods": [ "GET" ],
|
|
"source": {
|
|
"@type": "ClientCredentialsDetailsHandler",
|
|
"clientCredentialsRoute": { "@id": "urn:solid-server:default:AccountClientCredentialsIdRoute" },
|
|
"clientCredentialsStore": { "@id": "urn:solid-server:default:ClientCredentialsStore" }
|
|
}
|
|
},
|
|
{
|
|
"@type": "MethodFilterHandler",
|
|
"methods": [ "DELETE" ],
|
|
"source": {
|
|
"@type": "DeleteClientCredentialsHandler",
|
|
"clientCredentialsRoute": { "@id": "urn:solid-server:default:AccountClientCredentialsIdRoute" },
|
|
"clientCredentialsStore": { "@id": "urn:solid-server:default:ClientCredentialsStore" }
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
|
|
{
|
|
"@id": "urn:solid-server:default:InteractionRouteHandler",
|
|
"@type": "WaterfallHandler",
|
|
"handlers": [{ "@id": "urn:solid-server:default:AccountClientCredentialsIdRouter" }]
|
|
}
|
|
]
|
|
}
|