Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Password protected SPARQL endpoints #183

Open
semanticfire opened this issue Jan 29, 2019 · 1 comment
Open

Password protected SPARQL endpoints #183

semanticfire opened this issue Jan 29, 2019 · 1 comment

Comments

@semanticfire
Copy link

how should I configure a password protected endpoint?

@yuricus
Copy link
Member

yuricus commented Feb 27, 2019

To access password-protected endpoint, you should pass your own queryFunction in constructor of SparqlDataProvider, see default implementation in sparqlDataProvider.ts - queryInternal(), you will need to pass authentication header along with the HTTP request.

const queryFunction: QueryFunction = …
new SparqlDataProvider(options: { queryFunction }}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants