Replies: 1 comment
-
Tbh, this is the direction that the JS client took a few versions back. Originally it was all in one client before they separated into an "Admin" and "regular" client. AFAICT this would really only affect the Ideally I'd like to separate a But, otherwise, yes! This is largely a documentation issue that is easily fixed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm thinking that perhaps it might make sense to remove the Admin JWT methods from the stateful client. Here's my thoughts:
To start this might just be a documentation issue - basically just writing up the recommended configuration for desktop/mobile vs server usage. Then maybe remove the admin JWT methods from the stateful client?
If it was a clean start I would suggest two main usage scenarios, a stateful class for desktop/mobile clients with the nice stuff there (background thread, persistence, etc) and a stateless admin JWT class explicitly for server usage (perhaps with a little demo server app)? Not sure about naming, ClientClient and ServerClient are of course terrible lol. UserClient and ServerClient?
I'm guessing this would ripple through to at least affect the other projects as well. Just putting this out there as a starting point for discussion...
Beta Was this translation helpful? Give feedback.
All reactions