@inrupt/generate-oidc-token
Advanced tools
Comparing version 0.0.1-featinitial-bootstrap-app-427928906-21-1608203755.0 to 0.0.1-featinitial-bootstrap-app-427987066-22-1608205654.0
@@ -28,3 +28,2 @@ "use strict"; | ||
const solid_client_authn_node_1 = require("@inrupt/solid-client-authn-node"); | ||
const solid_client_authn_core_1 = require("@inrupt/solid-client-authn-core"); | ||
const argv = require("yargs/yargs")(process.argv.slice(2)) | ||
@@ -41,3 +40,3 @@ .describe("oidcIssuer", "The identity provider at which the user should authenticate.") | ||
const iriBase = `http://localhost:${PORT}`; | ||
const storage = new solid_client_authn_core_1.InMemoryStorage(); | ||
const storage = new solid_client_authn_node_1.InMemoryStorage(); | ||
// Initialised when the server comes up and is running... | ||
@@ -44,0 +43,0 @@ let session; |
{ | ||
"name": "@inrupt/generate-oidc-token", | ||
"version": "0.0.1-featinitial-bootstrap-app-427928906-21-1608203755.0", | ||
"version": "0.0.1-featinitial-bootstrap-app-427987066-22-1608205654.0", | ||
"description": "A small app to help scripts access private resources on Solid Pods", | ||
@@ -56,3 +56,2 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@inrupt/solid-client-authn-core": "^1.2.4", | ||
"@inrupt/solid-client-authn-node": "^1.2.4", | ||
@@ -59,0 +58,0 @@ "express": "^4.17.1", |
@@ -23,4 +23,3 @@ /** | ||
// The only import we need from the Node AuthN library is the Session class. | ||
import { Session } from "@inrupt/solid-client-authn-node"; | ||
import { InMemoryStorage } from "@inrupt/solid-client-authn-core"; | ||
import { Session, InMemoryStorage } from "@inrupt/solid-client-authn-node"; | ||
@@ -27,0 +26,0 @@ const argv = require("yargs/yargs")(process.argv.slice(2)) |
39095
3
317