mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 12:05:05 +08:00
513b37e245
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> |
||
---|---|---|
.. | ||
analytics | ||
extractors | ||
helpers | ||
routes | ||
error.rs | ||
lib.rs | ||
main.rs | ||
option.rs | ||
task.rs |