mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
45 lines
1.9 KiB
JSON
45 lines
1.9 KiB
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^2.0.0/components/context.jsonld",
|
|
"@graph": [
|
|
{
|
|
"@id": "urn:solid-server:auth:password:HtmlViewHandler",
|
|
"@type": "HtmlViewHandler",
|
|
"index": { "@id": "urn:solid-server:auth:password:IndexRoute" },
|
|
"templateEngine": {
|
|
"comment": "Renders the specific page and embeds it into the main HTML body.",
|
|
"@type": "ChainedTemplateEngine",
|
|
"renderedName": "htmlBody",
|
|
"engines": [
|
|
{
|
|
"comment": "Will be called with specific templates to generate HTML snippets.",
|
|
"@type": "EjsTemplateEngine"
|
|
},
|
|
{
|
|
"comment": "Will embed the result of the first engine into the main HTML template.",
|
|
"@type": "EjsTemplateEngine",
|
|
"template": "@css:templates/main.html.ejs"
|
|
}
|
|
]
|
|
},
|
|
"templates": [
|
|
{
|
|
"HtmlViewHandler:_templates_key": "@css:templates/identity/email-password/login.html.ejs",
|
|
"HtmlViewHandler:_templates_value": { "@id": "urn:solid-server:auth:password:LoginRoute" }
|
|
},
|
|
{
|
|
"HtmlViewHandler:_templates_key": "@css:templates/identity/email-password/consent.html.ejs",
|
|
"HtmlViewHandler:_templates_value": { "@id": "urn:solid-server:auth:password:ExistingLoginRoute" }
|
|
},
|
|
{
|
|
"HtmlViewHandler:_templates_key": "@css:templates/identity/email-password/forgot-password.html.ejs",
|
|
"HtmlViewHandler:_templates_value": { "@id": "urn:solid-server:auth:password:ForgotPasswordRoute" }
|
|
},
|
|
{
|
|
"HtmlViewHandler:_templates_key": "@css:templates/identity/email-password/reset-password.html.ejs",
|
|
"HtmlViewHandler:_templates_value": { "@id": "urn:solid-server:auth:password:ResetPasswordRoute" }
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|