mirror of
https://github.com/tursodatabase/libsql.git
synced 2025-05-17 22:56:59 +00:00
* wip - passing userauthcontext instead of http headers * revert comment out * fixed temp change * Merge branch 'main' into jw/changing-how-jwt-is-passed-around * fixed failing tests * next iteration of unit test fixing * fixed remaining unit tests * reverted debug * removed accidentally added file * moved str to userauthcontext conversion to from trait * remove vague comment * cargo fmt * cleaned up mod reimportss * refactored cryptic matching in replica_proxy * marked potentially duplicate code with // todo dupe #auth * refactored context to custome errors * added a factory to produce empty UserAuthContext * added constructors for UserAuthContext * switched from try_into to using constructors * cargo fmt * added tests for failing cases in parsers * cargo fmt * added test for non-asci error * fixed log message * removed unnecessary error mapping * turned context to result * removing dummy tokens from tests * cargo fmt + cleanup --------- Co-authored-by: Julian <julian@Julians-MacBook-Pro.local>