MeiliSearch/meilisearch-http/src
bors[bot] 513b37e245
Merge #2253
2253: refactor authentication key extraction r=ManyTheFish a=MarinPostma

I am concerned that the part of the code that performs the key prefix extraction from the jwt token migh be misused in the future. Since this is a critical part of the code, I moved it into it's own function. Since we deserialized the payload twice anyway, I reordered the verifications, and we now use the data from the validated token.


Co-authored-by: ad hoc <postma.marin@protonmail.com>
2022-03-28 08:53:13 +00:00
..
analytics clippy 2022-02-28 19:03:38 +01:00
extractors chore(auth): refactor token validation 2022-03-21 11:18:51 +01:00
helpers Export milli's heed from meilisearch-lib 2022-03-24 15:30:10 +01:00
routes sequential extractor 2022-03-04 20:43:12 +01:00
error.rs feat(auth): API keys 2021-12-06 09:52:41 +01:00
lib.rs chore(http): rename auto batching cli option 2022-03-07 15:19:19 +01:00
main.rs fix(rebranding): Update the ascii art (#2118) 2022-01-26 18:53:07 +01:00
option.rs chore(http): add test for validity of cli 2022-03-16 17:17:57 +01:00
task.rs chore: get rid of chrono in favor of time 2022-02-16 18:14:29 +01:00