mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
51 lines
1.9 KiB
JSON
51 lines
1.9 KiB
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^5.0.0/components/context.jsonld",
|
|
"@graph": [
|
|
{
|
|
"comment": "Stores all client credential tokens.",
|
|
"@id": "urn:solid-server:auth:password:CredentialsStorage",
|
|
"@type": "EncodingPathStorage",
|
|
"relativePath": "/accounts/credentials/",
|
|
"source": { "@id": "urn:solid-server:default:KeyValueStorage" }
|
|
},
|
|
{
|
|
"comment": "Handles credential tokens. These can be used to automate clients. See documentation for more info.",
|
|
"@id": "urn:solid-server:auth:password:CredentialsRouteHandler",
|
|
"@type":"InteractionRouteHandler",
|
|
"route": {
|
|
"@id": "urn:solid-server:auth:password:CredentialsRoute",
|
|
"@type": "RelativePathInteractionRoute",
|
|
"base": { "@id": "urn:solid-server:auth:password:IndexRoute" },
|
|
"relativePath": "/credentials/"
|
|
},
|
|
"source": {
|
|
"@id": "urn:solid-server:auth:password:CredentialsHandler",
|
|
"@type": "EmailPasswordAuthorizer",
|
|
"accountStore": { "@id": "urn:solid-server:auth:password:AccountStore" },
|
|
"source": {
|
|
"@type": "WaterfallHandler",
|
|
"handlers": [
|
|
{
|
|
"@type": "CreateCredentialsHandler",
|
|
"accountStore": { "@id": "urn:solid-server:auth:password:AccountStore" },
|
|
"credentialStorage": { "@id": "urn:solid-server:auth:password:CredentialsStorage" }
|
|
},
|
|
{
|
|
"@type": "DeleteCredentialsHandler",
|
|
"accountStore": { "@id": "urn:solid-server:auth:password:AccountStore" },
|
|
"credentialStorage": { "@id": "urn:solid-server:auth:password:CredentialsStorage" }
|
|
},
|
|
{
|
|
"@type": "ListCredentialsHandler",
|
|
"accountStore": { "@id": "urn:solid-server:auth:password:AccountStore" }
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
|
|
}
|
|
]
|
|
}
|