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

did-auth-jose requires hub-node-core #5

Open
dstrockis opened this issue Nov 14, 2018 · 1 comment
Open

did-auth-jose requires hub-node-core #5

dstrockis opened this issue Nov 14, 2018 · 1 comment

Comments

@dstrockis
Copy link

I can't use did-auth-jose without using the HttpResolver class from the hub-node-core package. If this is meant to be a standalone package I think some refactoring is in order. Example:

var hub = require('@decentralized-identity/hub-node-core');
var didAuth = require('@decentralized-identity/did-auth-jose')
const resolver = new hub.HttpResolver(discovery_endpoint);
const auth = new didAuth.Authentication({
    keys,
    resolver
});
@dstrockis dstrockis reopened this Jan 29, 2019
@dstrockis
Copy link
Author

@dstrockis

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

1 participant