Skip to content
This repository was archived by the owner on Jun 28, 2022. It is now read-only.

Commit d2f1337

Browse files
committed
removed readline-synce dependency
1 parent f86627b commit d2f1337

File tree

6 files changed

+299
-41
lines changed

6 files changed

+299
-41
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ You must be using Version 0.19.1 or later of rdflib.js to use it in conjunction
1515
const fetcher = $rdf.fetcher( store, {fetch:auth.fetch} );
1616
auth.login().then( session => {
1717
fetcher.load( ... ).then( response => {
18-
// ...
18+
// ... any rdflib methods
1919
}, console.log() )
2020
}, console.log() )
2121
```
@@ -28,15 +28,16 @@ Solid-auth-cli is built on top of solid-cli, providing persistance and the same
2828
if(typeof window === "undefined"){
2929
solid = { auth:require('solid-auth-cli') }
3030
}
31-
solid.auth.login()... // this will now use solid-auth-client in the browser and solid-auth-cli in node
31+
solid.auth.login()... // this will now use solid-auth-client in the browser
32+
// and solid-auth-cli in node
3233

3334

3435

3536
### login()
3637
### login( path-to-credentials-json-file )
3738
### login({ idp:"https://idp.example.com", username:"you", password:"hmm" })
3839

39-
The login method needs an Identity Provider, username, and password. Those may be passed in as an object or read from a specified JSON file. If called with no arguments, login() will look for a configuration file in ~/.solid-auth-cli-config.json. If there is no configuration file or it is missing an IDP, username, or password, you will be prompted to enter them when you login.
40+
The login method needs an Identity Provider, username, and password. Those may be passed in as an object or read from a specified JSON file. If called with no arguments, login() will look for a configuration file in ~/.solid-auth-cli-config.json and, if it does not find it will look for the environment SOLID_IDP, SOLID_USERNAME, and SOLID_PASSWORD.
4041

4142

4243
### An example

browser/index.js

Whitespace-only changes.

0 commit comments

Comments
 (0)