Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Make IdentityManager a factory and nothing else. #211

Open
aliak00 opened this issue Sep 11, 2018 · 0 comments
Open

Make IdentityManager a factory and nothing else. #211

aliak00 opened this issue Sep 11, 2018 · 0 comments

Comments

@aliak00
Copy link
Contributor

aliak00 commented Sep 11, 2018

Currently it stores its own currentUser object. This should just be created and given back to the client in a callback after any of the "login" related functions, i.e.:

  • verify code
  • login with username and password

Suggested approach

  1. Create the new functions
  2. deprecate currentUser and the old functions
  3. remove when version 2.0.0
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant