You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7969ce1
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -136,13 +136,13 @@ Send a JSON message containing a query, a processing type, and a client identifi
136
136
137
137
## Credentials
138
138
139
-
### Normal live operation
139
+
Heimdall can access both public and protected Solid streams. Authentication is a property of the source Pod or stream deployment, not of whether a query is `live` or `historical+live`.
140
140
141
-
Normal `live` operation, including the Sensors-style live evaluation path, does not load source-Pod client credentials.
141
+
For a protected source, copy [source-pod-credentials.example.json](./config/source-pod-credentials.example.json) to `config/source-pod-credentials.local.json`, fill it locally, and keep it untracked. Alternatively, set `HEIMDALL_SOURCE_POD_CREDENTIALS_FILE` to a local credential-file path. Each key is a source stream URL or a Pod URL prefix; the most-specific matching entry is selected for that source. The entry contains a CSS client-credential `id`, `secret`, and `idp`.
142
142
143
-
### historical+live
143
+
When configured, Heimdall reuses the resulting authenticated session for relevant source operations: Type Index lookup, LDES metadata and historical retrieval, notification inbox and subscription-server discovery, notification subscription creation, and notification-event retrieval. When no matching source credentials are configured, these operations use ordinary unauthenticated HTTP, so public streams do not need a credentials file. A protected resource with no usable credentials reports the underlying authorization failure; an invalid configured entry reports a configuration error.
144
144
145
-
`historical+live` requires a client-credential entry for each source stream. Copy [source-pod-credentials.example.json](./config/source-pod-credentials.example.json) to `config/source-pod-credentials.local.json`, fill it locally, and keep it untracked. Alternatively, set `HEIMDALL_SOURCE_POD_CREDENTIALS_FILE` to a local credential-file path.
145
+
This does not assert that the Sensors evaluation used authentication; its deployment-specific authorization setup is not established by this repository.
this.logger.info(`The subscription has been succesful.`);
251
242
}else{
@@ -408,15 +399,6 @@ export class DecentralizedFileStreamer {
408
399
get_file_streamer_start_time(){
409
400
returnthis.file_streamer_start_time;
410
401
}
411
-
/**
412
-
* Get the session with the credentials.
413
-
* @param {session_credentials} credentials - The credentials of the solid pod for which you can generate an authenticated session to communicated to the Solid Pod's LDP.
414
-
* @returns {Promise<Session>} - The authenticated session.
0 commit comments