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: Refactor & Rebuild Functionalities in authx #454

Merged
merged 89 commits into from
Jun 1, 2023
Merged

Feat: Refactor & Rebuild Functionalities in authx #454

merged 89 commits into from
Jun 1, 2023

Conversation

yezz123
Copy link
Owner

@yezz123 yezz123 commented May 31, 2023

  • Support Python 3.9+.
  • Multiple customizable authentication backend:
    • JWT authentication backend included
      • JWT encoding/decoding for application authentication
      • Automatic detection of JWTs in requests:
        • JWTs in headers
        • JWTs in cookies
        • JWTs in query parameters
        • JWTs in request bodies
    • Cookie authentication backend included
  • middleware for authentication and authorization through JWT.
  • Extensible Error Handling System.
  • Using Redis as a session store & cache.
  • Support HTTPCache.
  • Support Sessions and Pre-built CRUD functions and Instance to launch Redis.
  • Support Middleware of pyinstrument to check your service performance.
  • Support Middleware for collecting and exposing Prometheus metrics.

@vercel
Copy link

vercel bot commented May 31, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
authx ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 1, 2023 7:50pm
authx-old ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 1, 2023 7:50pm

@codecov
Copy link

codecov bot commented May 31, 2023

Codecov Report

Patch coverage: 90.10% and project coverage change: -1.53 ⚠️

Comparison is base (a050c97) 91.82% compared to head (804bdb8) 90.30%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #454      +/-   ##
==========================================
- Coverage   91.82%   90.30%   -1.53%     
==========================================
  Files          56       25      -31     
  Lines        1982     1165     -817     
  Branches        0      183     +183     
==========================================
- Hits         1820     1052     -768     
+ Misses        162       81      -81     
- Partials        0       32      +32     
Impacted Files Coverage Δ
authx/_internal/_session.py 91.66% <ø> (ø)
authx/main.py 73.41% <72.90%> (ø)
authx/external/http.py 81.05% <81.05%> (ø)
authx/schema.py 81.05% <81.05%> (ø)
authx/core.py 93.42% <93.42%> (ø)
authx/external/Oauth2.py 98.01% <98.01%> (ø)
authx/__init__.py 100.00% <100.00%> (ø)
authx/_internal/__init__.py 100.00% <100.00%> (ø)
authx/_internal/_cache.py 94.73% <100.00%> (ø)
authx/_internal/_callback.py 100.00% <100.00%> (ø)
... and 15 more

... and 9 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

1 participant