-
-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Hello,
I wanted to use this library for an application I'm making that will allow customers to authenticate, and use the Moloni API. The issue I'm facing, since I will have multiple customers using this application, is that in the code I've noticed you use TTLCache with a token key, so once one of the customers would authenticate their token will be used for everyone.
Would you be open to a solution that will allow providing a custom class (that extends MyAuth) to clients constructor, this will allow using a custom caching client, for example Redis, rather than relaying on in memory cache as well as modify any other things like per client id key?
I would be willing to provide such solution, but I would like to know if you're willing to make changes or should I fork the repository?
Thank you in advance!