mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
43 lines
1.8 KiB
JSON
43 lines
1.8 KiB
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^1.0.0/components/context.jsonld",
|
|
"import": [
|
|
"files-scs:config/identity/handler/interaction/handlers/forgot-password.json",
|
|
"files-scs:config/identity/handler/interaction/handlers/initial.json",
|
|
"files-scs:config/identity/handler/interaction/handlers/login.json",
|
|
"files-scs:config/identity/handler/interaction/handlers/reset-password.json",
|
|
"files-scs:config/identity/handler/interaction/handlers/session.json"
|
|
],
|
|
"@graph": [
|
|
{
|
|
"comment": "Http handler to take care of all routing on for the email password interaction",
|
|
"@id": "urn:solid-server:auth:password:InteractionHttpHandler",
|
|
"@type": "WaterfallHandler",
|
|
"handlers": [
|
|
{ "@id": "urn:solid-server:auth:password:InitialInteractionHandler" },
|
|
{ "@id": "urn:solid-server:auth:password:LoginInteractionHandler" },
|
|
{ "@id": "urn:solid-server:auth:password:SessionInteractionHandler" },
|
|
{ "@id": "urn:solid-server:auth:password:ForgotPasswordInteractionHandler" },
|
|
{ "@id": "urn:solid-server:auth:password:ResetPasswordInteractionHandler" }
|
|
]
|
|
},
|
|
|
|
{
|
|
"comment": "Below are extra classes used by the handlers."
|
|
},
|
|
|
|
{
|
|
"comment": "The storage adapter that persists usernames, passwords, etc.",
|
|
"@id": "urn:solid-server:auth:password:AccountStore",
|
|
"@type": "BaseAccountStore",
|
|
"args_storageName": "/idp/email-password-db",
|
|
"args_saltRounds": 10,
|
|
"args_storage": { "@id": "urn:solid-server:default:IdpStorage" }
|
|
},
|
|
{
|
|
"comment": "Responsible for completing an OIDC interaction after login or registration",
|
|
"@id": "urn:solid-server:auth:password:InteractionCompleter",
|
|
"@type": "InteractionCompleter"
|
|
}
|
|
]
|
|
}
|