-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
I am using authn-js in an application and was wondering, whether we also want to support a non-singleton usage, like:
let authn = new Authn(hostname, storage)or
let api = new AuthnApi(hostname)We could still provide a global instance via the existing import so nothing changes for the end-user.
Another part of this: how do we go about authenticating against two different authn servers. Currently, that would not be possible due authn and api being a singleton.
Would you be open to a PR for this?
Metadata
Metadata
Assignees
Labels
No labels