Files
CommunitySolidServer/config/identity/handler/enable/password.json
2023-10-09 09:10:34 +02:00

53 lines
1.6 KiB
JSON

{
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^6.0.0/components/context.jsonld",
"@graph": [
{
"comment": "Enable creating email/password combinations as a login mechanism."
},
{
"@id": "urn:solid-server:default:ControlHandler",
"@type": "ControlHandler",
"controls": [
{
"ControlHandler:_controls_key": "password",
"ControlHandler:_controls_value": {
"comment": "All controls associated with the password login method.",
"@id": "urn:solid-server:default:PasswordControlHandler",
"@type": "ControlHandler",
"controls": []
}
}
]
},
{
"comment": "Adds a link to the login page of this auth method to the list that contains all options",
"@id": "urn:solid-server:default:LoginHandler",
"@type": "ControlHandler",
"controls": [
{
"ControlHandler:_controls_key": "Email/password combination",
"ControlHandler:_controls_value": { "@id": "urn:solid-server:default:LoginPasswordRoute" }
}
]
},
{
"@id": "urn:solid-server:default:HtmlControlHandler",
"@type": "ControlHandler",
"controls": [
{
"ControlHandler:_controls_key": "password",
"ControlHandler:_controls_value": {
"comment": "Contains the controls linking to all HTML pages related to password authentication.",
"@id": "urn:solid-server:default:PasswordHtmlControlHandler",
"@type": "ControlHandler",
"controls": []
}
}
]
}
]
}