M0dEx / quincy

QUIC-based VPN
MIT License
102 stars 10 forks source link

[#50] refactor!: make authentication modular #51

Closed M0dEx closed 6 months ago

M0dEx commented 6 months ago

This PR refactors the authentication logic to be modular to allow different authentication implementations using a database, LDAP, etc.

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 87.35632% with 22 lines in your changes are missing coverage. Please review.

Project coverage is 79.60%. Comparing base (e81d1d6) to head (cb87fea).

Files Patch % Lines
src/auth/stream.rs 65.90% 15 Missing :warning:
src/auth/client.rs 85.00% 3 Missing :warning:
src/auth/server.rs 89.28% 3 Missing :warning:
src/server/connection.rs 95.23% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #51 +/- ## ========================================== + Coverage 78.21% 79.60% +1.38% ========================================== Files 17 17 Lines 840 853 +13 ========================================== + Hits 657 679 +22 + Misses 183 174 -9 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.