Skip to content
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

[Feature Request] TokenCache should create the cache file if it doesn't exist #444

Open
quynhduongphl opened this issue Jul 25, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@quynhduongphl
Copy link

Is your feature request related to a problem? Please describe.
The credential's New(..., WithCache(...)) will fail if the file path provided in the TokenCache declaration does not exist.

Describe the solution you'd like
TokenCache will create the file if it doesn't exist already rather than throwing "file does not exist" error

Describe alternatives you've considered
Any other better way to handle this than throwing "File does not exist" error

Additional context
Screenshot 2023-07-25 172928

@quynhduongphl quynhduongphl added the enhancement New feature or request label Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant