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

Please introduce reset command to clear credential cache #2

Open
wora opened this issue Jun 3, 2016 · 2 comments
Open

Please introduce reset command to clear credential cache #2

wora opened this issue Jun 3, 2016 · 2 comments
Assignees

Comments

@wora
Copy link
Contributor

wora commented Jun 3, 2016

For security purpose, oauth2l should have a reset command to clear credential cache.

@bochunz bochunz self-assigned this Aug 5, 2016
@bochunz bochunz closed this as completed Aug 6, 2016
@bochunz bochunz reopened this Aug 6, 2016
@bochunz
Copy link
Contributor

bochunz commented Aug 6, 2016

I will keep this until we add revoke the cached token. Now it only delete the cache file.

@dclendenan
Copy link

It would be very useful to add an 'ensure' function that would reset/refresh the token if expiry was below some threshold (with a sane default time). This looks like a reasonable extension, I'd be willing to submit a PR if this would be accepted as a workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants