-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide a default persistence per OS #87
Comments
Side note: we only recently noticed and updated our code to sync with this, since |
Thanks, @mparry, you raise a good point on the usability. I do not currently have a definite answer. Here is the background behind that change.
We are open for PR contribution. Due to the cross-platform nature of this library, all changes need to be tested from all supported platforms. |
In
0.2.0
the simpleTokenCache
interface was replaced by newer API that now requires the user to write some code along these lines:(That's taken from the README, of course.)
Is there a reason why this logic needs to be reproduced in all user code that doesn't have more particular requirements? Or, conversely, are there many situation where this wouldn't be good enough?
If not, couldn't the library provide a
get_default_persistence(location)
method, that contains something along the lines of the above? I would be happy to raise a PR for this.The text was updated successfully, but these errors were encountered: