mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
57 lines
2.6 KiB
JSON
57 lines
2.6 KiB
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^3.0.0/components/context.jsonld",
|
|
"import": [
|
|
"files-scs:config/identity/handler/interaction/routes/consent.json",
|
|
"files-scs:config/identity/handler/interaction/routes/forgot-password.json",
|
|
"files-scs:config/identity/handler/interaction/routes/index.json",
|
|
"files-scs:config/identity/handler/interaction/routes/login.json",
|
|
"files-scs:config/identity/handler/interaction/routes/prompt.json",
|
|
"files-scs:config/identity/handler/interaction/routes/reset-password.json",
|
|
"files-scs:config/identity/handler/interaction/views/controls.json",
|
|
"files-scs:config/identity/handler/interaction/views/html.json"
|
|
],
|
|
"@graph": [
|
|
{
|
|
"@id": "urn:solid-server:default:InteractionHandler",
|
|
"@type": "WaterfallHandler",
|
|
"handlers": [
|
|
{
|
|
"comment": "Returns the relevant HTML pages for the interactions when needed",
|
|
"@id": "urn:solid-server:auth:password:HtmlViewHandler"
|
|
},
|
|
{
|
|
"comment": "Adds controls and API version to JSON responses.",
|
|
"@id": "urn:solid-server:auth:password:ControlHandler",
|
|
"ControlHandler:_source" : { "@id": "urn:solid-server:auth:password:LocationInteractionHandler" }
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"comment": "Converts 3xx redirects to 200 JSON responses for consumption by browser scripts.",
|
|
"@id": "urn:solid-server:auth:password:LocationInteractionHandler",
|
|
"@type": "LocationInteractionHandler",
|
|
"LocationInteractionHandler:_source" : { "@id": "urn:solid-server:auth:password:InteractionRouteHandler" }
|
|
},
|
|
{
|
|
"comment": "Handles every interaction based on their route.",
|
|
"@id": "urn:solid-server:auth:password:InteractionRouteHandler",
|
|
"@type": "WaterfallHandler",
|
|
"handlers": [
|
|
{
|
|
"comment": [
|
|
"This handler is required to prevent Components.js issues with arrays.",
|
|
"This might be fixed in the next Components.js release after which this can be removed."
|
|
],
|
|
"@type": "UnsupportedAsyncHandler"
|
|
},
|
|
{ "@id": "urn:solid-server:auth:password:IndexRouteHandler" },
|
|
{ "@id": "urn:solid-server:auth:password:PromptRouteHandler" },
|
|
{ "@id": "urn:solid-server:auth:password:LoginRouteHandler" },
|
|
{ "@id": "urn:solid-server:auth:password:ConsentRouteHandler" },
|
|
{ "@id": "urn:solid-server:auth:password:ForgotPasswordRouteHandler" },
|
|
{ "@id": "urn:solid-server:auth:password:ResetPasswordRouteHandler" }
|
|
]
|
|
}
|
|
]
|
|
}
|