{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/20"},{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content/3"}],"enrichment":{"capability":"Quart-Auth provides session-based authentication for Quart web applications through secure cookie management, allowing you to protect routes, log users in and out, and track authentication state.","skillfed_tags":["async-web","session-management","authentication"],"use_cases":["Protect admin or user-only routes in a Quart web application by decorating them with @login_required.","Build a login form that calls login_user(AuthUser(id)) after credential verification to start a session.","Display user-specific content in templates by accessing the current_user global variable.","Implement a logout endpoint that calls logout_user() to end the current session.","Redirect unauthenticated users to a login page by catching the Unauthorized exception."],"what_it_does":"Quart-Auth is a session management extension for the Quart async web framework that handles user authentication via secure cookies. It provides decorators and utility functions to protect routes, log users in and out, and access the current user's authentication state throughout your application.\n\nThe package integrates directly with Quart's initialization pattern and works with async route handlers. It stores session data in signed cookies, requiring only a secret key to be configured. You decorate routes with @login_required to enforce authentication, catch Unauthorized exceptions to redirect unauthenticated users, and use login_user() and logout_user() functions to manage sessions programmatically.","worth_installing":"Yes, if you are building a Quart application and need straightforward session-based authentication. The low install friction, permissive license, and support for current Python versions make it a reasonable choice. However, the 596-day gap since the last release signals dormancy; verify that the package meets your security and maintenance expectations before adopting it in a new project."},"id":"quart-auth","links":{"html":"https://skillfed.io/packages/quart-auth","md":"https://skillfed.io/packages/quart-auth.md","pypi":"https://pypi.org/project/quart-auth/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-12-26","license_spdx":null,"license_treatment":"permissive","name":"quart-auth","python_support":"supports_current","summary":"A Quart extension to provide secure cookie authentication"},"popularity":{"monthly_downloads":103452,"position":12804,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.11.0"}
