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

Token api enhancements #23

Merged
merged 5 commits into from
Apr 6, 2022
Merged

Token api enhancements #23

merged 5 commits into from
Apr 6, 2022

Conversation

qqiao
Copy link
Owner

@qqiao qqiao commented Apr 6, 2022

  • TokenManager is now an interface, which should allow multiple implementations in the future.
  • TokenManager API has been updated to be more concise, methods that can return the updated token now returns them.
  • Extensive test coverage updates.

* Bug fixes for Purge. Purge was only deleting the first matching token
  instead of all matching ones.

* Save now throws ErrTokenDuplicate if the same token is saved multiple
  times
@qqiao qqiao self-assigned this Apr 6, 2022
@qqiao qqiao merged commit fd17054 into main Apr 6, 2022
@qqiao qqiao deleted the token-api-enhancements branch April 6, 2022 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant