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

question about memory/file token store and token store interface #231

Open
mstrYoda opened this issue Jan 19, 2023 · 0 comments
Open

question about memory/file token store and token store interface #231

mstrYoda opened this issue Jan 19, 2023 · 0 comments

Comments

@mstrYoda
Copy link

mstrYoda commented Jan 19, 2023

Currently there are different functions for removing token:

RemoveByCode(ctx context.Context, code string) error
RemoveByAccess(ctx context.Context, code string) error
RemoveByRefresh(ctx context.Context, code string) error

which all of them under the hood calls remove function. It seems that those different methods are can be single RemoveByKey method. WDYT?

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

1 participant