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

feat: change adopted probes sql table #482

Merged
merged 2 commits into from
Jan 29, 2024
Merged

Conversation

alexey-yarmosh
Copy link
Member

* docs: document auth tokens

* refactor: allow auth only when creating measurements

* feat: add is authenticated mw

* feat: add token validation

* feat: save userId to ctx

* refactor: rename rate limiter

* feat: add auth rate limiter

* feat: update date_last_used

* test: fix tests

* feat: add int tests

* test: add auth tests

* test: add unit tests

* fix: remove args from deleteFakeProbes

* fix: small fixes

* fix: store userId in state

* refactor: use ExtendedContext definitions

* refactor: add userId to state type

* refactor: move AuthenticateState to the middleware

---------

Co-authored-by: Martin Kolárik <[email protected]>
@MartinKolarik MartinKolarik merged commit 3bc0d67 into master Jan 29, 2024
4 checks passed
@MartinKolarik MartinKolarik deleted the new-adopted-table branch January 29, 2024 13:34
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

Successfully merging this pull request may close these issues.

2 participants