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

Export Identity class #77

Open
640774n6 opened this issue Dec 16, 2021 · 1 comment
Open

Export Identity class #77

640774n6 opened this issue Dec 16, 2021 · 1 comment

Comments

@640774n6
Copy link

640774n6 commented Dec 16, 2021

I have a need to be able to cache the signatures once an identity is initially created, and recreate the identity later without the user having to resign. It appears the only way to create an instance of the Identity class is by using Identities.createIdentity() which causes the IdentityProvider to sign the publicKey+id-signature.

Is there any reason why the Identity class can't be exported along with Identities and the providers? This would allow more flexibility for creating an identity using other methods.

Thanks!

@LucaPanofsky
Copy link

Hi, the TallyLab Identity provider exposes the Identity class and you may find their provider interesting:

https://github.com/tallylab/tallylab-orbitdb-identity-provider

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