mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
44 lines
1.5 KiB
JSON
44 lines
1.5 KiB
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
|
|
"@graph": [
|
|
{
|
|
"comment": "Enable client credentials creation."
|
|
},
|
|
{
|
|
"@id": "urn:solid-server:default:InteractionRouteHandler",
|
|
"@type": "WaterfallHandler",
|
|
"handlers": [{ "@id": "urn:solid-server:default:AccountClientCredentialsRouter" }]
|
|
},
|
|
|
|
{
|
|
"@id": "urn:solid-server:default:AccountControlHandler",
|
|
"@type": "ControlHandler",
|
|
"controls": [{
|
|
"ControlHandler:_controls_key": "clientCredentials",
|
|
"ControlHandler:_controls_value": { "@id": "urn:solid-server:default:AccountClientCredentialsRoute" }
|
|
}]
|
|
},
|
|
|
|
{
|
|
"@id": "urn:solid-server:default:HtmlViewHandler",
|
|
"@type": "HtmlViewHandler",
|
|
"templates": [{
|
|
"@id": "urn:solid-server:default:CreateClientCredentialsHtml",
|
|
"@type": "HtmlViewEntry",
|
|
"filePath": "@css:templates/identity/account/create-client-credentials.html.ejs",
|
|
"route": { "@id": "urn:solid-server:default:AccountClientCredentialsRoute" }
|
|
}]
|
|
},
|
|
{
|
|
"ControlHandler:_controls_value": {
|
|
"@id": "urn:solid-server:default:AccountHtmlControlHandler",
|
|
"@type": "ControlHandler",
|
|
"controls": [{
|
|
"ControlHandler:_controls_key": "createClientCredentials",
|
|
"ControlHandler:_controls_value": { "@id": "urn:solid-server:default:AccountClientCredentialsRoute" }
|
|
}]
|
|
}
|
|
}
|
|
]
|
|
}
|